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

By default, do NOT show new pages in menu


Go to End


2 Posts   2037 Views

Avatar
DeklinKelly

Community Member, 197 Posts

28 July 2010 at 1:34pm

By default, when you create a new page, under the "Behavior" tab, "Show in menus?" is checked.

By default, I do NOT want it checked. The administrator should have to manually go to the tab and check that box if he wants it to show up in the menu.

Avatar
TotalNet

Community Member, 181 Posts

28 July 2010 at 3:08pm

put the following in your Page class


	static $defaults = array(
		"ShowInMenus" => 0,
	);