Hi,

is it possible to create one taxonomy menu out of different vocabs, where each vocab defines a level in the menu?

For example i've got three vocabs, each containing the following terms:

vocab1
term11
term12
term13

vocab2
term21
term22
term23

vocab3
term31
term32
term33

Is it possible to create the following menu out of this structure?:

term11
term21
term31
term32
term33
term22
term31
term32
term33
term23
term31
term32
term33

term12
term21
term31
term32
term33
term22
term31
term32
term33
term23
term31
term32
term33

term13
term21
term31
term32
term33
term22
term31
term32
term33
term23
term31
term32
term33

Together with the option "show only terms which have nodes" enabled, i should get a combined taxonomy menu showing only the child entries which have nodes tagged with the appropriate terms, right?

Thanks for your thoughts in advance,

Frank

CommentFileSizeAuthor
#2 adv_taxonomy_menu.zip9.77 KBNewZeal

Comments

Knarf31’s picture

Sorry,
it shoul look like this:

term11
- term21
-- term31
-- term32
-- term33
- term22
-- term31
-- term32
-- term33
- term23
-- term31
-- term32
-- term33

term12
- term21
-- term31
-- term32
-- term33
- term22
-- term31
-- term32
-- term33
- term23
-- term31
-- term32
-- term33

term13
- term21
-- term31
-- term32
-- term33
- term22
-- term31
-- term32
-- term33
- term23
-- term31
-- term32
-- term33

;-) frank

NewZeal’s picture

StatusFileSize
new9.77 KB

On Frank's request, this functionality is being implemented in a modified version of Taxonomy Menu.

This menu benefits taxonomy systems which involve the same terms being repeated over and over eg clothing, you might have:

shirts, shoes, pants

Then below that in the heirarchy:

size: 10, 12, 14

And below that

colour: red, green, black

Anyway, the code is attached. Sponsored by http://helpworx.de.

Leeteq’s picture

Version: 5.x-1.03 » 5.x-1.x-dev
Status: Active » Needs review
indytechcook’s picture

If you would like to create a patch for this against the current dev code then I can add it to the D5 branch.

ksc’s picture

Does this patch takes care of the following:

Let´s have
pants
- size 10
-- red
-- blue

Do you show under red only nodes for red pants of size 10?
How do you do that? By passing three arguments to a view?
category/term id (pants)/term id (size 10)/term id (red)
Or by filtering it in another way?

(Neil, that fits with my last comment in http://drupal.org/node/388486#comment-1353046 under F )

indytechcook’s picture

I was going to use some of this code in the next version (siting the original author, of course). This is for a D5 version though, the next version will be D6 only.

netbear’s picture

indytechcook, big thanks for your work.
So is this possible to create such multi-vocabulary menu with the stable taxonomy menu 6.2 version of the module? It is needed very often!

indytechcook’s picture

You can assign different vocabularies to the same menu, then manually move the menu items around in the menu admin screen (not taxonomy menu). Not really a good way but it should work.

This functionality is planned to be built in on version 3 #388486: Basic considerations for latest version

NewZeal’s picture

Status: Needs review » Reviewed & tested by the community

The advanced taxonomy menu as outlined in this thread is being submitted as part of the package for taxonomy_menu 5.x-1.04.

arlinsandbulte’s picture

Status: Reviewed & tested by the community » Fixed

Looks like 5.x-1.04 includes the advanced taxonomy menu.
Marking as fixed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.