Jump to:

5453 Posts in 1674 Topics by 1198 members

Customising the CMS

SilverStripe Forums » Customising the CMS » setting ShowInMenus to false has no effect

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

Page: 1
Go to End
Author Topic: 294 Views
  • seba.wagner
    Avatar
    Community Member
    5 Posts

    setting ShowInMenus to false has no effect Link to this post

    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

  • Willr
    Avatar
    Forum Moderator
    5464 Posts

    Re: setting ShowInMenus to false has no effect Link to this post

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

    294 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.