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

Customizing $Breadcrumbs


Go to End
Reply


13 Posts   7471 Views

Avatar
MarijnKampf

Community Member, 164 Posts

13 October 2011 at 3:08am

Created a simple BreadcrumbNavigation module. See http://www.exadium.com/tools/silverstripe/modules/breadcrumb-navigation/

"The BreadcrumbNavigation module is a self contained module that allows for greater flexibility and styling of breadcrumbs using the SilverStripe templating engine."

Avatar
Apophis

Community Member, 4 Posts

13 May 2013 at 9:02am

Is there seriously still no way to Theme the Breadcrumbs without evading to a module? (Btw: thanks)

(years++)++

Avatar
Willr

Forum Moderator, 5513 Posts

13 May 2013 at 5:31pm

@Apophis, you can now (in 3.0) use a template to customize the breadcrumbs (https://github.com/silverstripe/silverstripe-cms/blob/3.0/templates/BreadcrumbsTemplate.ss). To use your own, copy that to yourtheme/templates/BreadcrumbTemplate.ss and customize as you wish!

Avatar
Apophis

Community Member, 4 Posts

3 July 2013 at 2:49am

Edited: 04/07/2013 6:51am

Thank you :) Now its documented in the Forum.

PS: And it works, much more elegant!

Avatar
edwardlewis

Community Member, 32 Posts

2 October 2013 at 10:35pm

I copied the info from Willrs post and couldnt work out why this wasn't working last night. The file needs to be called BreadcrumbsTemplate.ss and not BreadcrumbTemplate.ss

Go to Top