Closed (won't fix)
Project:
Privatemsg
Version:
5.x-3.0
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Aug 2008 at 16:05 UTC
Updated:
9 Jul 2009 at 22:11 UTC
Hi,
Thank you for this great module. I've just upgraded to 5.3, but in my custom link in node-profile.tpl.php as follows:
<?php if (user_access('access private messages') && (isset($user->privatemsg_allow) ? $user->privatemsg_allow : 1)) { ?>
<?php $frommetoprofileuser = arg(1); ?>
<div class="fields">
<?php print l(t('send a private message').$user->name, 'privatemsg/msgto/'. $frommetoprofileuser); ?></div>
<?php } ?>it directs to mysite/privatemsg and not to send to the specific user. Basically a blank ..
In the install.txt it says custom link would be
l(t("send private message"), "privatemsg/msgto/$user->uid"))
but that does exactly the same.
What is the link for a node-type.tpl.php please ...
Look forward to any reply.
Lilian
Comments
Comment #1
litwol commentedDrupal 5 private message branch is no longer actively maintained (in fact it is actively unmaintained). Please upgrade to drupal 6 which is supported (and will continue to be supported).