Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Customising Breadcrumbs

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 1176 Views
  • Hammy
    Avatar
    Community Member
    49 Posts

    Customising Breadcrumbs Link to this post

    I'm just starting out on silverstripe and am having a little trouble customising breadcrumbs.

    I'm wanting the breadcrumb to stop traversing up the site tree at a particular page type. But not entirely sure how this is done? Can any help?

  • Hammy
    Avatar
    Community Member
    49 Posts

    Re: Customising Breadcrumbs Link to this post

    Actually a different question now (kinda figured out the previous question).

    I have a news holder that contains news articles and I have a category holder that obviously contains categories that can go down to various levels. I have created a one to one relationship from an article to a category (obviously categories have one to many) and this works fine.

    My question is how do I configure the breadcrumb in the news articles to show where it sits amongst the categories?

    Example: Instead of "Home > News Article", how do I make the breadcrumb in the news article appear as "Home > Category Level One > Category Level Two > News Article" etc?

    I've tried editing the SiteTree but alas to no success. Can any body help with this one

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