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


Reply


3 Posts   1084 Views

Avatar
stevanovich

Community Member, 60 Posts

23 September 2010 at 8:05pm

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

Avatar
Willr

Forum Moderator, 5513 Posts

23 September 2010 at 11:01pm

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.

Avatar
stevanovich

Community Member, 60 Posts

23 September 2010 at 11:22pm

Thanks Willr.... simple and precise.