This is my second post on drupal.org and I hope that I do everything correctly.

I see that "Show current taxonomy term in breadcrumb trail" don't work for taxonomy term pages (is never showed).

If someone has the same issue I find this solution:
On line 256 of custom_breadcrumbs_taxonomy.inc change the line

 if (!variable_get('custom_breadcrumbs_taxonomy_show_current_term', TRUE) && (count($trail) > 1) || $is_term_page) {

with the line:

if ((!variable_get('custom_breadcrumbs_taxonomy_show_current_term', TRUE) &&  $is_term_page) && (count($trail) > 1)) {

Sorry if I don't send a patch file but for now I don't know how to do it.
If someone tell me a tutorial for drupal (I use linux) this would be a great thing for me.

Have anyone find the same issue?

Comments

MGN’s picture

Status: Needs work » Active

This option only applies to nodes, not taxonomy term pages. The suggested change above would break the intended use, so I don't recommend it.

If there is interest, we could add a new/separate feature to add the taxonomy term title (unlinked) on taxonomy term pages.

MGN’s picture

Category: bug » feature
Cookie-2’s picture

Hi, I would also be interested in having the option for term pages. Is there a simple way to modify that outside of custom_breadcrumbs until it's implemented (or if it doesn't get implemented)?

Thanks!

MGN’s picture

Version: 6.x-2.0-beta2 » 6.x-2.x-dev
Assigned: Unassigned » MGN

I'll add this feature in the next commit of 6.x-2.x-dev for testing.

MGN’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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