The $user object is a legacy variable from earlier versions of Roller where the code was much different than it is now and you really should not need to use it.

I believe the only current way to get access to a user profile is via a weblog entry object which gives you access to it's creators profile, like $entry.creater.fullName.

So the short answer is, you aren't supposed to use $user.userName, it's old and unsupported in recent versions of Roller.

-- Allen


mohamed felfel wrote:
i find that a bit confusing too. What are we reffering to? the user doing
the installation?, and the enviroment variables that we set in the
biggining, do we do that at our ~/.bash_profile if we're using bash on unix?

On 4/27/07, benjamin servant <[EMAIL PROTECTED]> wrote:

Hi,does anyone knows how to use the data object $user.username described
in the roller template guide???I always got the error invalid
reference.Thx for your help.
_________________________________________________________________
Essayez Live.com et créez l'Internet qui vous ressemble : infos, sports,
météo et bien plus encore !
http://www.live.com/getstarted




Reply via email to