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.

We've moved the forum!

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.

Archive /

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

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

Disable Menu in admin login page


Go to End


2 Posts   1343 Views

Avatar
Mohan

Community Member, 19 Posts

27 April 2008 at 8:42am

I don't want the menu to be displayed in the admin login page. Can anyone help on how to do it.

Thanks
Mohan

Avatar
Liam

Community Member, 470 Posts

28 April 2008 at 7:43am

Edited: 28/04/2008 7:44am

The top menu?

Add this to your config file and add the menu names you don't want.

Object::addStaticVars('LeftAndMain', array(
'removed_menu_items' => array(
'statistics',
)
));

*Edit* I just re read your post, not sure which menu you're talking about.