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
Posts: 27300
http://codex.gallery2.org/Gallery2:Themes:Reference:Variables
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 32509
{$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
Posts: 15
Thanks valiant and floridave, you always on time helping.
Braqets