Hi
Please, can anyone guide me on how to turn off the menu in admin login page.
Thanks
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
Hi
Please, can anyone guide me on how to turn off the menu in admin login page.
Thanks
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 %>
Will,
Thanks for the quick reply and it worked like a charm.
Thanks a lot !!!