Ok,
here's one I have not seen...
Lets say I have a session var $_SESSION['logged_in'] == 0;
Well when it is 0 I want to make sure not to show the link to a page that requires login.
Can I in the MenuManager templates or MenuManager module code add a little something to check this session var?
Thanks a ton in advance.
Regards,
hidden if not logged in...
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: hidden if not logged in...
read the smarty manual....... session variables are available to smarty.
menu manager templates are just funky smarty templates.
menu manager templates are just funky smarty templates.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: hidden if not logged in...
thanks got it.
$smarty.session.etc.yada.yada.... thanks a ton....
$smarty.session.etc.yada.yada.... thanks a ton....