Admin Logged in/out Smart Var?

Admin Logged in/out Smart Var?, a forum discussion on Jojo CMS. Join us for more discussions on Admin Logged in/out Smart Var? on our Administration (backend and configuration) forum.

Back to Forum Index : Back to Administration (backend and configuration)   RSS
JamesMcFall

16 Dec 2008
Posts: 6

Is there a smarty variable that is used as a flag to detect whether the user is logged in or out? I want to have a login/logout button that changes on the site I'm designing at the moment, so that registered users don't get confused by always seeing login.
tom

Developer

tom

16 Dec 2008
Posts: 379

I've used {$loggedIn} which i think is a global variable set to true/false

JamesMcFall

20 Dec 2008
Posts: 6

tom said...
I've used {$loggedIn} which i think is a global variable set to true/false

Thanks Tom, that worked fine.
Back to Forum Index : Back to Administration (backend and configuration)   RSS
You must be logged in to post a reply



You need to Register or Log In before posting on these forums.