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

breadcrumb when show in menu unchecked


Go to End


3 Posts   1459 Views

Avatar
stevanovich

Community Member, 63 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, 5523 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, 63 Posts

23 September 2010 at 11:22pm

Thanks Willr.... simple and precise.