login | register
Tue 18 of Nov, 2008 (09:40 UTC)

bitweaver - Web Application Framework and CMS

Web Application Framework and CMS

Refresh cache

I have a user ID, how do I get information about the user?

by Stephan Borg
Sunday 03 of July, 2005
Posted to Developer's FAQ
Well, in Smarty templates, using the {displayname} tag works a treat. For example, I have a user ID and I want their real name:
The user name is {displayname user_id=$gBitUser->getUserId()}


See Smarty Functions for more short-cut functions.

Comments