Hey there,
I'm having an issue with Taxonomy Menu and the hierarchy type and the setting for using term names instead of IDs. I only get IDs being generated, no term names.
I'm using Taxonomy Menu to create menus like this:
essen/[vocab-id][term-id]
essen/[vocab-id][term-id]/[term-id]
This goes to a view with two displays, one taking 2 arguments (vocab-id and term-id) and another display taking 3 agruments (vocab-id, term-id, term-id). This is because I want the different levels being displayed in a different style.
Everything seems to work fine so far. It just doesn't show any effect if I turn on "Use term name".
To give an example:
my links look like this
essen/8/32/145
and should look like this:
essen/lebensmittel/obst/apfel
Any ideas? Is ist known to cause problems using term names with hierarchical menu types?
Regards,
Daniel
Comments
Comment #1
daniel wentsch commentedI still couldn't make any progress on this.
Am I really the only one having this problem?
Comment #2
Ganganation commentedHaving the same problem!
In my view it is set up correctly, catching the term name in stead of the term id. So that should be correctly.
When I browse to the desired url: junioren/% it shows up this means that my view is setup correctly. Example: junioren/a1 works.
But when I try to setup an taxonomy_menu custom menu it works only with ID's when I tick the checkbox: Use term name
my menu just doesn't show up anymore.
Some help please ?
Comment #3
dan_lennox commentedI also can report this exact same issue.
Comment #4
dan_lennox commentedOk so if you want to get a taxonomy menu with urls like 'essen/lebensmittel/obst/apfel' based on your vocabularies hierarchy, do the following.
1. If you haven't already, install pathauto module.
2. Just use Menu Path type 'default' rather than 'hierarchy' in the taxonomy menu settings for your vocabulary.
3. In the path auto settings, change the 'Taxonomy Term Path' of the vocabulary your using to [vocab]/[catpath-raw]
Comment #5
daniel wentsch commentedThat's just how I ended up doing it just the day before yesterday :)
The only problem was that I needed the term pages to be displayed with views.
So I created a template file "taxonomy_term_page.tpl.php" in which I made clear to route specific taxonomy pages to specific views. Now everything works as it should :)
Comment #6
Gastonia commentedTechnically, what Dan suggests in #4 is correct. But this only applies for the actual terms of a vocabulary, and not the vocabulary name itself.
Here is the the problem I'm having.
I have a vocabulary like this:
Cars
-- Porsche
-- Audi
Cars is the Vocabulary name, and Porsche and Audi are terms in the vocabulary.
I need to add "Add Item for Vocabulary" and I need for that to show up as the vocabulary name as part of the hierarchy. Instead, using the suggestion in #4, I get:
taxonomy/term/23 42 23 23 42
... for the vocabulary name.
In other words, [vocab] as part of the path auto settings has no effect on achieving the desire results. Dstol says this is a path auto issue.
Any thoughts on how to get the vocabulary name to show up correctly as part of the hierarchy?
Comment #7
dstol