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   1135 Views

Avatar
Mohan

27 April 2008 at 6:57pm Community Member, 19 Posts

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

Thanks

Avatar
Willr

27 April 2008 at 7:13pm (Last edited: 27 April 2008 7:13pm), Forum Moderator, 5511 Posts

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

27 April 2008 at 7:56pm Community Member, 19 Posts

Will,

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