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:

Customising the CMS /

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

Not show CMS menu

Go to End

2 Posts   915 Views


Community Member, 7 Posts

3 April 2012 at 9:16am


I`m making a modole and have problem with adding title to CMS menu.
my _config.php code:

Object::addStaticVars('LeftAndMain', array(
	'extra_menu_items' => array(
		'Random Links' => 'admin/randomlinks/',
Director::addRules(100, array(
	'admin/randomlinks/$Action/$ID' => 'RandomLinksAdmin',

Whats wrong?



Community Member, 545 Posts

12 April 2012 at 3:06am

If your module needs to add another function to the menu it may be easier to just have it extend ModelAdmin as that automatically creates your top menu items

unless you're not using this to actually manipulate a dataobject then you need to extend LeftAndMain and build out your custom interface