trail with terms from multiple vocabularies

taite11 - December 5, 2008 - 19:21
Project:Taxonomy Breadcrumb
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

This is the format of trail I want to make:

[term from vocab 1] > [term from vocab 2]
[term from vocab 1] > [term from vocab 2] > [child-term from vocab 2]
[term from vocab 1] > [child-term from vocab 1] > [term from vocab 2] > [child-term from vocab 2]

The terms could be ascertained by the tags on the node or the menu structure.

I don't believe this is possible with Taxonomy Breadcrumb now is it?

#1

MGN - January 12, 2009 - 03:48

No, not at present, but I think something like this could be done. If anyone want to contribute a patch to try to implement this, we can try it in the 6.x.1.x-dev version...

#2

MGN - February 5, 2009 - 06:18
Version:6.x-0.1-beta» 6.x-1.x-dev

Thinking more about this and realizing that it will also require changes to phptemplate_breadcrumb to print an array of breadcrumbs like this. One possibility would be to create a function taxonomy_breadcrumb_set_breadcrumb_array modeled after drupal_set_breadcrumb that would return the breadcrumb array. Then anyone who want's to use the feature would modify their phptemplate to call this new function to retrieve the breadcrumb array and use it as desired. Still want to keep the default functionality of a single breadcrumb so it works without this extra change.

 
 

Drupal is a registered trademark of Dries Buytaert.