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.

General Questions

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

breadcrumb when show in menu unchecked


3 Posts   1050 Views


23 September 2010 at 8:05pm Community Member, 60 Posts

I need to show breadcrumb trail even when show in menu is unchecked. Can I override function and allow it to show somehow.


23 September 2010 at 11:01pm Forum Moderator, 5511 Posts

You can override the function by copying it from SiteTree.php and pasting it in your Page.php class. Then you can go nuts and edit it as much as you wish! I think the if show in menus check is a filter on a database query so you should be able to pick that out and delete it.


23 September 2010 at 11:22pm Community Member, 60 Posts

Thanks Willr.... simple and precise.