[support] Displaying user's name in profile
Shyamala
shyamala at netlinkindia.com
Sun Aug 15 15:53:47 UTC 2010
Did you check the Drupal Handbook Page -Customizing the user profile layout at: http://drupal.org/node/35728.Shyamalahttp://www.netlinkindia.comQuoting Jacob Roufa <jacob.roufa at gmail.com>: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 Roufa208.557.9390http://jacobroufa.com#avg_ls_inline_popup { position:absolute; z-index:9999; padding: 0px 0px; margin-left: 0px; margin-top: 0px; width: 240px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 13px;}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20100815/a43a0e32/attachment-0001.html
More information about the support
mailing list