It was working in 7.x-2.x. As i checked the codes, this module uses `hook_init` instead of `hook_page_alter` in 7.x-3.x. What's the reason?

As in Drupal's `taxonomy.pages.inc` file, line 26 (Drupal 7.21), it writes:

// @todo This overrides any other possible breadcrumb and is a pure hard-coded
// presumption. Make this behavior configurable per vocabulary or term.
$breadcrumb = array();
while ($parents = taxonomy_get_parents($current->tid)) {
  $current = array_shift($parents);
  $breadcrumb[] = l($current->name, 'taxonomy/term/' . $current->tid);
}

So obviously 3.x cannot work around this while 2.x can.

Comments

kalabro’s picture

Status: Active » Needs work

Here is commit message: http://drupalcode.org/project/path_breadcrumbs.git/commit/a09a584d0b494e...

Replaced hook_page_alter() with hook_init() to set breadcrumbs earlier.

Yes, I confirm that default taxonomy term page not supported now. Quick solution is to turn on default «Taxonomy term (Content)» view.

petu’s picture

It's a pity that taxonomy term's page not supported for now :(.

spleshka’s picture

Version: 7.x-3.x-dev » 7.x-3.0-beta2
Status: Needs work » Closed (fixed)

Thanks, commited/pushed to 7.x-3.x.