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 /

setting ShowInMenus to false has no effect


Reply


2 Posts   389 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, 5513 Posts

28 February 2013 at 9:15pm

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