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.

General Questions /

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

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

ShowInMenus


Go to End


1285 Views

Avatar
stevanovich

Community Member, 63 Posts

17 June 2010 at 5:42am

Hi

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';