Jump to:

23487 Posts in 18996 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » ShowInMenus

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1
Go to End
Author Topic: 908 Views
  • stevanovich
    Community Member
    60 Posts

    ShowInMenus Link to this post


    I have created a special offers page and using the extending your site tutorial for staff which is fine and my page work okay. With the special offers I don't want them showing in the sidebar menu as children. So I put in the ShowInMenus = 0 etc. But the sub pages are still showing any idea why.

    Silverstripe 2.4


    class SpecialOffersPage extends Page {
        static $defaults = array(
    'ShowInMenus' => 0
    static $db = array(
    static $has_one = array(
    'Photo' => 'Image'

    static $default_parent = 'SpecialOffersHolder';

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.