PDA

View Full Version : Additional variables in custom pages?



yabado
01-25-07, 05:56 PM
Matt,

Is there any chance you could add additional variables to custom pages created? For instance, it would be nice to have a "logged in as..." type variable that could be used across all pages.

I know that I could do this via my own php , but not everyone will have this same ability.

Just a thought ;-)

Matt
01-25-07, 06:20 PM
The {if $loggedin} check will work on your custom pages already.

yabado
01-25-07, 06:28 PM
Yes, I know, but I meant like...

Logged in as : [email protected]

I figured out how to do it anyway. Just use the uid session variable to search and set the values into smarty variables :)