[support] Displaying user's name in profile

Idan Arbel idan at arbel-designs.com
Sun Aug 15 06:54:55 UTC 2010


Try the realname module.

 

Idan

 

From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On
Behalf Of Jacob Roufa
Sent: Sunday, August 15, 2010 9:34 AM
To: support
Subject: [support] Displaying user's name in profile

 

I've been trying to display the user's name in their profile with no luck...
global $user; ($user->name); displays the currently logged in user...
Everything I've read says either to use that or profile_load_profile($user);
print $user->name; but neither are working and I can't figure out how to use
the $account variable either. This is with Drupal 5. Any suggestions?


Jake Roufa
208.557.9390
http://jacobroufa.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20100815/d6a44fa5/attachment.html 


More information about the support mailing list