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

Breadcrumbs Disappeared


Reply

5 Posts   1100 Views

Avatar
TerryMiddleton

4 May 2009 at 2:21am Community Member, 108 Posts

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

Avatar
Double-A-Ron

4 May 2009 at 9:34am Community Member, 604 Posts

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>

Avatar
TerryMiddleton

4 May 2009 at 3:13pm Community Member, 108 Posts

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

Avatar
Double-A-Ron

4 May 2009 at 4:02pm Community Member, 604 Posts

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

Avatar
TerryMiddleton

4 May 2009 at 10:38pm Community Member, 108 Posts

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