By henry4 on
Let me keep this simple what i did was i designed my own primary menu under the header of my site which includes home,blog,poll and logout.Now as soon as i click on logout i'm getting logged out but the problem is that once again when i'm clicking this logout it's showing access denied instead what i want is as soon as i click logout the logout link should dissappear and after login it should appear back.Now all this links in my primary menu has been defined in page.tpl.php
Thank you
Comments
I'm not quite sure why your
I'm not quite sure why your getting access denied but I know how to fix the login / logout text:
So basically if the user is logged in then show the text "logout", but if they aren't then show the text "login", lemme know if that fixes the access denied problem too.
Is there a need to keep re-posting?
You've already posted this question and are receiving replies:
http://drupal.org/node/144701
If you repost it would be useful to refer to your original post instead of diluting everybody's efforts to help you.
Mark