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

_craig’s picture

Status: Active » Closed (fixed)

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

Standart’s picture

Status: Closed (fixed) » Active

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

_craig’s picture

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?

dman’s picture

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.

Standart’s picture

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.

MGN’s picture

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.

Status: Fixed » Closed (fixed)

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