Closed (outdated)
Project:
Taxonomy Breadcrumb
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
9 Feb 2009 at 15:37 UTC
Updated:
2 Nov 2021 at 14:36 UTC
Jump to comment: Most recent
Comments
Comment #1
MGN commentedPost the patch that you are working on and I'll be happy to help you get it working.
Thanks
Comment #2
Paul Lomax commentedThe patch at the bottom of this page.
http://drupal.org/node/145231
It was written for Drupal 6.x though so I don't know how relevant it is. I thought i'd try it anyway!
Thanks
Comment #3
MGN commentedThe patch was written for Drupal 5.x and it wont work with Views 2 - a completely different approach is needed. The problem is that views replaces the _taxonomy_term_page page callback with its own - regardless of the relative weighting of the two modules. To get taxonomy_breadcrumb back into the loop, it will need to implement hook_menu_alter to determine if views has replaced the taxonomy_breadcrumb callback. If it has, then it will need to insert a new taxonomy_breadcrumb callback function that inserts the taxonomy breadcrumb before calling the views page callback.
I wrote a patch like this for custom breadcrumbs, and I expect the same thing would work for taxonomy_breadcrumb. But rather than duplicating code, I would suggest waiting for custom_breadcrumbs 2, which will implement taxonomy_breadcrumb as a submodule. I am working on it now, but can't promise when it will be done.
For now, I am marking this as postponed, pending the development of custom_breadcrumbs 2.
Comment #4
giorgio79 commentedHey MGN,
Thanks for this kind explanation.
It sounds like Custom Breadcrumbs 2 will replace taxonomy breadcrumb correct? :)
Cheers,
G
Comment #5
gisleThe Drupal 6 version is no longer supported. Closing this as outdated. If you think this is still relevant for Drupal 7 or Drupal 9, please open a new issue.