Closed (fixed)
Project:
Taxonomy Breadcrumb
Version:
5.x-1.4
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
19 Aug 2007 at 14:41 UTC
Updated:
14 Apr 2010 at 03:20 UTC
Hi!
I'm just wondering why there's no link anymore but still a breadcrumb term if we're on a taxonomy/term page. What is the use of this term?
I commented out the according line and it works as I expect it.
// Do not create links to own self if we are on a taxonomy/term page.
if ($is_term_page && $parent_term->tid == $tid) {
// $breadcrumb[] = $parent_term->name;
}
else {
$breadcrumb[] = l($parent_term->name, $term_path);
}
Comments
Comment #1
_craig commentedHave you tried the latest version? Does that do what you want?
Comment #2
Standart commentedAs stated above I'm using 5.x-1.4. Is there a new version coming?
Comment #3
_craig commentedMy mistake, I was looking at the wrong version myself. I'm assuming unchecking the 'Show current term in breadcrumb trail?' option wasn't what you wanted?
Comment #4
dman commentedLooks like it's another instance of the age-old debate
"Why doesn't my breadcrumb trail show where I am now?"
"OK, now why doesn't it link?" (the answer is "where to?")
Both sides have merit. Sounds like the option is available anyway ... so you can choose.
Comment #5
Standart commentedI do use the "Show current term in breadcrumb trail?" option. When I'm on a story node that's part of a term I want the term to appear in the breadcrumbs. If I'm on the taxonomy page listing all the stories for a term and don't want the term to be part of the breadcrumbs because there a heading with the same content right beneath it. So I still do not understand this part of the code (see quote above) that contains the right switch (if on taxonomy page) but still shows the term, only without a link. I want it to disappear completely on these pages.
Comment #6
MGN commentedLooks like this is implemented in the 5.x-1.x-dev version, and will roll into the 5.x-1.5 release soon. Its also already implemented in the D6 branch.