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.

Customising the CMS /

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

setting ShowInMenus to false has no effect


Go to End


2 Posts   1163 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.