Jump to:

1851 Posts in 1606 Topics by 561 members

Blog Module

SilverStripe Forums » Blog Module » List Pages not listed in menu

Discuss the Blog Module.

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

Page: 1
Go to End
Author Topic: 549 Views
  • Musicaldustbin
    Avatar
    Community Member
    13 Posts

    List Pages not listed in menu Link to this post

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

    Any help would be great

    Cheers
    Nick

  • Willr
    Avatar
    Forum Moderator
    5508 Posts

    Re: List Pages not listed in menu Link to this post

    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.

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