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.

Customising the CMS /

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

setting ShowInMenus to false has no effect


Go to End
Reply


2 Posts   540 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, 5517 Posts

28 February 2013 at 9:15pm

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