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

setting ShowInMenus to false has no effect


Go to End


2 Posts   785 Views

Avatar
seba.wagner

Community Member, 5 Posts

25 February 2013 at 2:10pm

Hi,

I do set in some of the pages I created:

	static $defaults = array(
		'ShowInMenus' => false
	);

However this seems to have zero effect. The Page is still displayed in the drop down menu when I create a new Page in the CMS as well as in the SiteTree.

Sebastian

Avatar
Willr

Forum Moderator, 5523 Posts

28 February 2013 at 9:15pm

It won't update existing pages, for existing pages you'll need to manually update pages.