By Danic on
Hi,
I'd like to create a hierarchical taxonomy in D7. When users then create new content, they should be lead to the lowest item. An example:
I have the vocabulary 'food':
food
- fruit
- apple
- banana
- vegetable
- capsicum
- potatoe
Now a user creates a content. He must only choose one of the lowest terms 'apple', 'banana', 'capsicum', or 'potatoe'.
But I want to lead the user throught the terms: He must first choose 'fruit' or 'vegetable'. Only then he can choose either 'apple'/'banana' or 'capsicum'/'potatoe'.
I need some ideas how to realize this idea. Creating the vocabulary is not a problem, but the leading through the terms is. Here I need some advise.
Danic
Comments
Same here
I am looking for the same thing. It seems that hierarchical select in drupal 6 solved this case in a way. Is there a solution in Drupal 7?
same here
I am also puzzling over this issue.
Dependent Select lists using a hierarchical vocabulary
Very similar issue here I think.
I need to have dependent hierarchical select list fields for taxonomy terms.
For example,
On my content type I want user to be able to specify the location that they are writing about, defined within three categories Continent, Country, Region.
I want the user to select the continent first (either , South America, Antarctica etc.) and then the country, but with only the relevant countries available. So for example, they can't select Europe and then Honduras. I then want them to be able to free tag the region field with the predictive thing going on but again only predicting options from the relevent vocabulary. When this is completed i want the node to display the results from all three select lists, ie,
Continent: Europe
Country: England
Region: North East
Creating the vocabularies is fine. I can either create separate vocabs for each selection (Continent, Country, Region), or create one hierarchical vocab called location. I can use this hierarchical vocab in a select list on the node but that gives me a huge drop down list containing the whole vocabulary threaded and still only allows one result so you could select either Europe or England. I can sort of imagine a way to do it using code, but only in the most vague sense. I think the module hierarchical_select might have sorted this out in drupal 6 but can't find a solution for D7. Got any ideas?
I have the same issue --
I have the same issue -- locations: Country > Region > City
Hierarchical select ported to D7 but it does not save a whole chain anymore.
And when I load a Country taxonomy term page, I don't see any nodes have country's child region or child city.
subscribe ... I need these
subscribe ... I need these too :D
I'm facing the same problem
I'm facing the same problem also. I'm thinking of adding some jQuery scripting to disable clicking on the parent terms for radio buttons. In case of checkboxes, checking/unchecking the parent term will check/uncheck all the child terms.
It's still possible
Click on "add term", then at the bottom you'll find a collapsed block saying "Relations". It allows you to define the parent term for the term you're adding/editing.
Like to select lower level term and automatically select parents
If I have a term tree with A -> B -> C if the user selects term C then I'd like the node to automatically be attached to B and A. Is this possible?
Patricia W
subscribe
subscribe
Can anybody guide on this?
I have two taxonomy terms - for every term of vocab A there are several terms of vocab B - to establish this I have a content type that selects a term of vocab A and then select multiple terms of vocab B on the same form.
Now on another node add form I want to use this relationship between the terms of vocab A and B in a hierarchical select dropdown.
Same problem
Because of this issue, I've paused to work on my Drupal project.
How to create hierarchical Taxonomy in D7?
i need this info too
Subscribing
Looking for something similar.
Hierarchical Select
Hi erveryone,
Didn't try it yet but Hierarchical Select module seems to be a solution to this issue : https://drupal.org/project/hierarchical_select
Dualcorpse
you can try Simple
you can try Simple hierarchical select module.