By meetzah on
Hello there,
I am new to Drupal, over 2+ years of using php-nuke. Plesae help me to have a god start: I want to create a site that allow users to post stories is categories as structurated bellow:
animals:
- cats
- dogs
- horses
- etc...
flowers:
- flower type 1
- flower type 2
- etc...
general category
- subcat 1
- subcat 2
- subcat 3
- ect.
I understand I can do this using vocabulary and terms but I want users to be able to select only one sub-category. so if someone select "dogs" from "animals" he must not be able to select another subcategory from another category....
please indicate me some readings if you don't have the time to explain how I can do thsi.
regards.
Comments
This might work.
I am also fairly new to Drupal. But, to solve your dilemma, I think when you are making you Taxonomy Vocabulary, for example "animals" or "flowers" just make sure, that under the settings, "Free tagging" or "Multiple select" boxes are NOT checked. Then the user, under that vocabulary would be only able to choose one term "cats" OR "dogs" OR "Horses" Give it a try :) And, welcome to Drupal.
thank yoy for your fast reply
.... but it donesn't work. I am still able to select for an article both the "cats" and "flower2" subcategoeries for example.
some thoughts
similar discussion elsewhere (http://drupal.org/node/163534)...
summarizing; you can do a one-one relationship of custom content-type and vocabulary, and/or just make one monster hierarchal vocabulary and force them down a segment, and no additional modules required.
also, readings from the Handbooks at http://drupal.org/node/299. contrib modules are always a possibility, whatever is the best fit for you.
good luck!
contrib modules are always a possibility
... can you please indicate me such a module? I am not able to create one monster hierarchal vocabulary because it would be really monster: I want to list all major car companies (such as audi, bmw, vw, skoda, etc.) and for each of them the models they produced. So, the users to be able to select only one company/model.
I will read the indicated resources and I will see if I ca do something. Thank you for your help, and please, if you know a god way to implement this, give me a hint.
maybe cck taxonomy
maybe cck taxonomy fields...
otherwise, i have not seen a module which will dynamically collapse another vocabulary's term list once a term is selected. my bad. maybe you can put up a bounty for such a module, unless someone else can locate an existing one.
as far as the "monster" taxonomy, i had my trepidations about that reading the other thread. it is about options and compromises...