A Welcome Message to the User

braqets

Joined: 2007-06-06
Posts: 15
Posted: Wed, 2008-01-09 14:26

How can I get the user full name when is logged on?

Hi, I just know Html and I'm trying to understand a little bit php, and I customized a Welcome message that get my users when they log on below of "This album is empty", but I want in order to be more polite and customized to sow the user name whiting the welcome message like this for example "Hello Xxxxx Nnnnn, welcome to...bla bla" It will show up in they're album while they still don't ad a picture, an it will disappear when they do so. So I want to know what code to put inside of album.tpl to get de name of the user. I know its very simple for you but not for me. My gallery version'on is 2.2.4.

Any help would be fine. Thanks
Braqets

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2008-01-09 15:14
 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2008-01-09 15:15

{$user.fullName} in the .tpl files. outside of the curly braces, you can use standard HTML. the stuff in the curly braces are placeholders which will be replaced by the template engine.
see "development -> themes" for more information on templating and template variables.

--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
braqets

Joined: 2007-06-06
Posts: 15
Posted: Fri, 2008-01-11 01:53

Thanks valiant and floridave, you always on time helping.

Braqets