Jump to:

23450 Posts in 18899 Topics by 2877 members

General Questions

SilverStripe Forums » General Questions » Breadcrumbs Disappeared

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

Page: 1
Go to End
Author Topic: 1085 Views
  • TerryMiddleton
    Avatar
    Community Member
    108 Posts

    Breadcrumbs Disappeared Link to this post

    Has anyone seen their breadcrumbs suddenly disappear?

    I've making changes to the site, but only content changes and now, the breadcrumbs are not showing up. Very weird.

    The one thing I did do most recent was put two new jquery tools/functionality. 1.) sifr and 2.)lightbox

    Both sifr and lightbox work great and jguery is a snap to use once you figure it out.

    Just thought I'd ask if anyone has seen disappearing breadcrumbs before.

    Thanks,

    Terry

  • Double-A-Ron
    Avatar
    Community Member
    604 Posts

    Re: Breadcrumbs Disappeared Link to this post

    Nope,

    I've upgraded two sites from 2.2.x to 2.3.1 and both had breadcrumbs before and after the upgrade.

    My Code:

    Page.ss

    <% if Level(2) %>
    <% include BreadCrumbs %>
    <% end_if %>

    /Includes/BreadCrumbs.ss

    <div id="Breadcrumbs">
           <p style="margin-bottom: 0px; padding-bottom: 0px;">$Breadcrumbs</p>
    </div>

  • TerryMiddleton
    Avatar
    Community Member
    108 Posts

    Re: Breadcrumbs Disappeared Link to this post

    I know...

    I started off in 2.3.1 and breadcrumbs have been showing since day one. That was one of the first things I implemented. Now they don't show.

    Weird.

    http://63.247.208.15/

    Terry

  • Double-A-Ron
    Avatar
    Community Member
    604 Posts

    Re: Breadcrumbs Disappeared Link to this post

    I reckon it's Sifr. The Breadcrumb div is there, and this page: http://63.247.208.15/rit113-new-in-v5/ shows the root page in a blue bar that encroaches on the content.

    Despite this, the Breadcrumb Div is empty when I inspect it in Firebug. Which means that root page link is dynamically served from somewhere (Sifr).

    I've never used the Sifr extension, but can you stop it messing with Breadcrumb Div?

    Cheers
    Aaron

  • TerryMiddleton
    Avatar
    Community Member
    108 Posts

    Re: Breadcrumbs Disappeared Link to this post

    Double-A,

    Yeah, very strange. I thought maybe the same, except that the breadcrumbs are getting generated from SS and I have the $Breadcrumbs var in the SS form

    I had some logic that was evaluating if Level (1) and if so, then no breadcrumbs

    I got it all straightened out. Thanks a million.

    Terry

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