[support] Displaying user's name in profile

Jacob Roufa jacob.roufa at gmail.com
Sun Aug 15 06:58:25 UTC 2010


Nevermind, figured out to use $account->name. This isn't documented at
api.drupal.org... Any idea why?


Jake Roufa
208.557.9390
http://jacobroufa.com


On Sun, Aug 15, 2010 at 12:34 AM, Jacob Roufa <jacob.roufa at gmail.com> wrote:

> 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/62f96036/attachment.html 


More information about the support mailing list