Closed (fixed)
Project:
Taxonomy Menu
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Created:
17 Jun 2008 at 17:07 UTC
Updated:
10 Dec 2013 at 22:33 UTC
Jump to comment: Most recent
I insalled this taxonomy menu andI get a link to my categories in module. But I just need a list of taxonomy terms without me clicking the link to expand the menu to see all the taxonomy terms.
Is that possible.
Now I have a link like this
categories
and when I click on it i get
categories
item1
item2
item3
item4
I would like to have only a list like this
item1
item2
item3
item4
Is that possible?
Comments
Comment #1
Gábor Mayer commentedwhere are the terms as in d5?
Comment #2
drupimp commentedI have that problem as well. It would be nice to have a way to "shift" the hierarchy up by one level, thus hiding the vocabulary name while still showing all of the children.
Comment #3
garfy - blocked for being foulmouthed and rude to others commentedbump
Comment #4
john.karahalis commentedI was wondering the same thing. Does anybody have an answer to this?
Comment #5
rares commentedI think there are many users who would like to see taxonomies as independent menus, so I am suggesting this as a feature request and suggesting some code to achieve this functionality. Maybe in a future release users could choose whether they want the items added to the Navigation menu or to separate ones. Here's how I'm doing this:
1. Create a menu in drupal for each vocabulary I want to appear separately named vocab-vid (e.g. vocab-3 for vocabulary 3)
2. Apply the following patch:
In _taxonomy_menu_menu(), comment out
Hope this helps.
And at
add the attributes:
Note that
'access arguments' => array('access content'),is not currently included in the stable version, but needs to be added in the future release for compatibility with 6.3
Comment #6
Rob_Feature commentedHmm....I attemped this, and once I patched the file, the Taxonomy Menu settings menu item went away. Thoughts on how to get it back? I'm assuming I need to activate the vocabs I want to turn into menus?
Comment #7
rares commentedMake sure you create the menus before you apply this, or before you enable taxonomy_menu for those vocabulary.
In D6, when you go to admin/build/menu/add, in the first box "Menu name", type vocab-3 or vocab-4 or whatever, your vocab ID is. You should be able to go to /admin/build/menu-customize/menu-vocab-4 afterwards.
If you go through this and enable the menu for the vocab at admin/settings/taxonomy_menu then the module should add the terms.
I wish I knew how to create menus through the API, so this wouldn't be necessary.
Rareş
Comment #8
moshe weitzman commentedI don't know what #7 is describing.
Perhaps you want to look at devel_menu() in devel module which adds menu items to its menu. Thats what this module should do.
Comment #9
stormlifterNET commentedI too would love to be able to shift the menu back one step and not have the vocabulary item in the menu at all.
What I have is this
Catalog < - block title
-Catalog < - Vocabulary Name
--Pens
--Pencils
---Mechanical Pencils
--Paper
---Lined Paper
---Printer Paper
I don't want to have the Catalog vocabulary name as a part of the menu. I want what is below.
Catalog < - block title
-Pens
-Pencils
--Mechanical Pencils
-Paper
--Lined Paper
--Printer Paper
Comment #10
seidren commentedIn D5 I used to 'disable' the parent menu and the child menus used to show up without the root. But in D6 its not happening. I am struggling with the same issue. Will let you know how it goes...
Comment #11
seidren commentedAdvanced Taxonomy Blocks solves a lot of these issues...
http://drupal.org/project/taxonomyblocks
Comment #12
indytechcook commentedWill be reviewed after rewrite for D6.
seidren, did that work for you in D5?
Comment #13
indytechcook commentedThis is part of the latest dev package.
Comment #15
dstol