Zet4 Posted July 19, 2015 Share Posted July 19, 2015 Hi, I have a menu with a link "Log in" and always is static. I need change Login/logout when user is logged in or logged out but in this module i can't use typical {if $logged...} because the chunk of code that check this is for any link that you put in menu, and I just need change this link. I though use javascript but i can't check from javascript if a user is logged in or not and after change html title and "a" tag. What do you suggest? Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now