Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Menu in Admin Login Page


Reply


3 Posts   1139 Views

Avatar
Mohan

Community Member, 19 Posts

27 April 2008 at 6:57pm

Hi
Please, can anyone guide me on how to turn off the menu in admin login page.

Thanks

Avatar
Willr

Forum Moderator, 5513 Posts

27 April 2008 at 7:13pm

Edited: 27/04/2008 7:13pm

Try wrapping an if round the menu. You will need to have something unique to the login page to check it against, I used URLSegment so this will turn off the menu on any Security/ page (eg login/logout). I don't know there might be something better to check against but this probably will work fine

<% if URLSegment != Security %>
Menu Code
<% end_if %>

Avatar
Mohan

Community Member, 19 Posts

27 April 2008 at 7:56pm

Will,

Thanks for the quick reply and it worked like a charm.
Thanks a lot !!!