Hi,
I installed Custom Breadcrumbs and it is working great.
I see my panels term-page is deactivated, and have it working again using, http://drupal.org/node/857484.
But now the current term is not shown on the breadcrumb, and if I activate panels, after the breadcrumb, there is stated the headterm again.
For example taxonomy page without panels (disable term-page override):
Home > Italy > Toscane > Florence
After enabling term-page override:
Home > Italy > Toscane
Or using Custom Breadcrumb Panels
Home > Italy > Toscane > Italy
Sorry to have to report this.
Thanks for going into this!
Greetings,
Martijn
Comments
Comment #1
MGN commentedThanks for the report. I think I understand what is happening now. The taxonomy/term/%term override isn't working as it is written in custom_breadcrumbs_panels. The hook into ctools_context_handler_render works only if the panel has a handler, and apparently the taxonomy template doesn't. The patch modifies custom_breadcrumbs_taxonomy so that it will try to work through the panels override. Previously I thought this would fail - perhaps it did in Panels 2? But with the latest code (and using Panels 6.x-3.5 - I know I need to upgrade!) it seems to work! More testing is definitely needed!
Also, before testing, check to see that "Inject hierarchy of first term into breadcrumb trail" is disabled for the taxonomy term template (under basic settings).
Rather than using panels to set the hierarchy, you can use custom breadcrumbs taxonomy. Enable the "Use the taxonomy hierarchy to set the breadcrumb trail for nodes and taxonomy pages" (and any other taxonomy options you like) on the custom breadcrumbs configuration page.
That should do it.
Comment #2
summit commentedHi,
I do not get the:
Do you mean under /admin/settings/custom-breadcrumbs? I installed latest 6.x-2.x-dev (oct-07).
I do not see that option anywhere under /admin/settings/custom-breadcrumbs?
greetings,
Martijn
Comment #3
summit commentedAha, found it under admin/build/pages/edit/term_view. It was enabled. Will review further.
Hi, I think with this patch and disabling panel term_view inject, this stuff is working!
greetings, Martijn
Comment #4
summit commentedHi Michael,
It is working great! Thanks.
greetings, Martijn
Comment #5
MGN commentedThanks for testing!
Comment #6
MGN commentedThis fix has now been committed to 6.x-2.x-dev.