Jump to:

5450 Posts in 1672 Topics by 1197 members

Customising the CMS

SilverStripe Forums » Customising the CMS » By default, do NOT show new pages in menu

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

Page: 1
Go to End
Author Topic: 1069 Views
  • DeklinKelly
    Avatar
    Community Member
    196 Posts

    By default, do NOT show new pages in menu Link to this post

    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.

  • TotalNet
    Avatar
    Community Member
    181 Posts

    Re: By default, do NOT show new pages in menu Link to this post

    put the following in your Page class

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

    1069 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.