PHP help for the skin.

polarx1

New Member
Hello, I need help is it possible to add php to the wrapper? I want to add if else statement so when a user is logged in it will change the Login button to User Control Panel. Is it possible to do this?

Thanks!
 

Basti

Administrator
Staff member
In the current VL release not, no. More template stuff is planned for 2.0, which developement has started.

However you could make use of welcome_logged_in.html and welcome_not_logged_in.html
Currently these are are used in parabola to display the top login button and if logged in, the dropdown user menu.

So if you edit those, just place your stuff in the 2 files and move {$wrapper_welcome} in wrapper.html where you want it to be
 
Top