Download & Extend

Why remove link but not term if on a taxonomy/term page?

Project:Taxonomy Breadcrumb
Version:5.x-1.4
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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

#1

Status:active» closed (fixed)

Have you tried the latest version? Does that do what you want?

#2

Status:closed (fixed)» active

As stated above I'm using 5.x-1.4. Is there a new version coming?

#3

My 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?

#4

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

#5

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

#6

Status:active» fixed

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

#7

Status:fixed» closed (fixed)

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

nobody click here