If you look at the attched images you will see that I have a term that is nested three levels deep, if you look at the Custom Breadcrumbs image you will see that it doesn't display the correct structure in the Name field, it should display "Facilities and Services>Security>About>Policies & Procedures".

This is particularly dangerous when you have several terms of the same name nested at the same level in different Trees, I accidentally deled some thinking they were duplicates.

Comments

MGN’s picture

Category: bug » support
Status: Active » Postponed (maintainer needs more info)

What settings have you enabled at the custom breadcrumbs settings page?

You'll want to have "Use the taxonomy hierarchy to set the breadcrumb trail for nodes and taxonomy pages" enabled for the module to automatically show the full taxonomy structure in the breadcrumb.

If you want the vocabulary (Security) to show in the breadcrumb, enable that setting as well, either define a taxonomy vocabulary breadcrumb, or enable the setting "Show vocabulary in breadcrumb trail?".

Finally, are you using the core taxonomy module for taxonomy term pages, or views? If you are using views then there is a still another setting you'll need to enable.

Hopefully with these settings everything will work as you intend. If not, tell me more about your setup.

Thanks for testing!

realityloop’s picture

StatusFileSize
new6.59 KB

"Security" is a term, the Vocabulary is "Facilities and Services"

My Custom Breadcrumb Settings:

Checked
-Use the taxonomy hierarchy to set the breadcrumb trail for nodes and taxonomy pages
-Show current taxonomy term in breadcrumb trail?
--------------------------
Vocab: Facilities & Services
Examples of Terms within the vocabulary

Capital & Major Works
-Projects
--Berwick
--Caulfield
--Clayton

Minor Works
-Projects
--Berwick
--Caulfield
--Clayton

(^See the attached image for how these get displayed in the Custom Breadcrumb interface and you should understand the issue more clearly)

Environmental Sustainability
-News

News
--------------------------

I'm having a lot of trouble getting breadcrumbs to display correctly on my views pages, and they are also seem to affect my Path custom breadcrumbs:

I am using a Zen subtheme, but have verified this all still happens with Garland.

Relevant Zen Theme Settings:
(checked) Append the content title to the end of the breadcrumb

I've just found that is I disable this setting in Zen, then enable the Custom Breadcrumb "Show current node title in taxonomy breadcrumb trail?" setting, it resolves the issues below

This is still an issue

when a view block is applied to a Panel that has a Custom Breadcrumb Path set, it will display the View breadcrumb (I will resubmit this as a seperate issue though)

I'm leaving it in the post in case it helps someone else though..

Custom Breadcrumbs
1. Taxonomy Term Breadcrumb:Polocies & Procedures (below Security/About) Path: security/about/policies-procedures
--------------------------------------------
Views Pages Breadcrumb:news (root of vocabulary) Titles: News Path: <none>
Taxonomy Term Breadcrumb:News (root of vocabulary) Path: news
Breadcrumb Displayed: Facilities and Services > News > News

If I don't add the views Pages breadcrumb then no breadcrumb is displayed at all, the second "> News" comes from the news view "Page: Menu item entry" field, but if I remove the menu item entry the breadcrumb is displayed as "Facilities and Services > News >"
--------------------------------------------
Views Pages Breadcrumb:news (below Environmental Sustainabilit)
Titles:
Environmental Sustainability
News
Path:
environmental-sustainability
<none>

Taxonomy Term Breadcrumb:News (below Environmental Sustainability)
Path: environmental-sustainability/news

Path Breadcrumb:
Titles:
Environmental Sustainability
Path:
environmental-sustainability

Breadcrumb Displayed at View path:
Facilities and Services > Environmental Sustainability > News >
(^This view has no menu item set)
Breadcrumb Displayed at Panel path (Custom Breadcrumb Path):
Facilities and Services > Environmental Sustainability > News

The panel is displaying a block of the News View, which I've just confirmed is causing the incorrect path on the Panel Custom Page, removing that news block from the panel causes the breadcrumb to output as expected: Facilities and Services > Environmental Sustainability

However the News View page still display incorrectly:
Facilities and Services > Environmental Sustainability > News >

realityloop’s picture

Status: Postponed (maintainer needs more info) » Active

info above

MGN’s picture

Category: support » bug

Thanks for the detailed description. I completely misread your initial bug report, thinking that you were describing a problem with the breadcrumb trail itself, rather than the name used on custom breadcrumb list page. Sorry about that!

Anyway, I've confirmed the problem and I'll try to post a patch soon.

I'll look into the views/block issue after that and respond on your new issue.

Thanks again for testing!

MGN’s picture

Status: Active » Needs review
StatusFileSize
new1006 bytes

patch attached...needs testing.

realityloop’s picture

Status: Needs review » Reviewed & tested by the community

Working as expected at my end, thanks!

MGN’s picture

Status: Reviewed & tested by the community » Fixed

The fix has been committed http://drupal.org/cvs?commit=240064 and will be available in the next nightly dev snapshot (or through cvs now).

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.