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
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | adv_taxonomy_menu.zip | 9.77 KB | NewZeal |
Comments
Comment #1
Knarf31 commentedSorry,
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
Comment #2
NewZeal commentedOn 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.
Comment #3
Leeteq commentedComment #4
indytechcook commentedIf you would like to create a patch for this against the current dev code then I can add it to the D5 branch.
Comment #5
ksc commentedDoes 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 )
Comment #6
indytechcook commentedI 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.
Comment #7
netbear commentedindytechcook, 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!
Comment #8
indytechcook commentedYou 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
Comment #9
NewZeal commentedThe advanced taxonomy menu as outlined in this thread is being submitted as part of the package for taxonomy_menu 5.x-1.04.
Comment #10
arlinsandbulte commentedLooks like 5.x-1.04 includes the advanced taxonomy menu.
Marking as fixed.