Im using the Taxonomy Redirect module to redirect taxonomy pages to a panel page. Unfortunately my Breadcrumbs want to point to the taxonomy/term/id page instead. Any way to get the breadcrumbs to recognize the redirect?
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | taxonomy_breadcrumb-226845-5.patch | 718 bytes | agileware |
Comments
Comment #1
joachim commentedPart of the problem is that Taxonomy Breadcrumb also lets you override paths for terms, but one by one, on the properties page for a term. Also, the path override is only applied to breadcrumbs and not taxonomy links on the node themselves. Not sure why you'd want to do that...
I would suggest that this module stick to one thing -- adding breadcrumbs -- and leave overriding term paths to the Taxonomy Redirect.
In the meantime, here is a fix.
All you need to do is change the way the term path is generated if there's no override from this module.
At line 112, change this:
to this:
This calls taxonomy module's function for creating a path, which correctly handles any term overrides from any other modules.
Comment #2
pillarsdotnet commentedMarked http://drupal.org/node/268977 as a duplicate.
Comment #3
sonictruth commentedGreat module, thanks.
This is badly needed in this module. Can we expect to see it rolled into the next version?
thanks
Comment #4
brnnrc commentedsubscribe
Comment #5
agileware commentedHere is a patch with change from #1
Works for me.
Comment #6
MGN commentedThanks for the patch. I made a slight change based on what is done in the D6 version. Now committed to 5.x-1.x-dev.