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.

Blog Module /

Discuss the Blog Module.

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

List Pages not listed in menu


Go to End


2 Posts   1175 Views

Avatar
Musicaldustbin

Community Member, 13 Posts

1 March 2011 at 7:10pm

How does the blog module still list articles that have been removed from the menu ?

Any help would be great

Cheers
Nick

Avatar
Willr

Forum Moderator, 5523 Posts

2 March 2011 at 10:51pm

It is probably because the blog module (on the blog page) uses it's own custom DataObject::get() and likely doesn't filter by 'ShowInMenus'.

You can alter your Blog templates to include <% if ShowInMenus %>... <% end_if %> around the blog entries if you want to hide pages.