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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

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

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

Add / Remove LeftAndMain::MainMenu Items?

Go to End

4 Posts   3228 Views


Community Member, 2 Posts

26 July 2007 at 2:01pm

What would be the best way to reconfigure the CMS Admin Menu items on 2.0.2b without replacing cms/code/LeftAndMain.php?

Tried extending LeftAndMain and creating a child method called MainMenu, but it's not being called.


Community Member, 201 Posts

26 July 2007 at 10:25pm

What sort of extensions do you want to make?


Community Member, 2 Posts

27 July 2007 at 9:42am

In some cases I'll want to remove Newsletter and possibly Help. As far as adding, I've written a wrapper of sorts that gives me a frame, with the mainmenu and whatever third party extension. (PHPList, OpenAds, etc) The wrapper also handles logins and cookies with CURL. Was going to originally use an iframe but compatibility between browsers / platforms is too sketchy.


Administrator, 690 Posts

28 July 2007 at 8:28am