Dependent/Conditional (?) Taxonomy

Events happening in the community are now at Drupal community events on www.drupal.org.
tecsbrain's picture

Hello folks,

I need some advice on how to structure a site that has photos of airplanes. Now say I want to have photos of airplanes that users can browse either by airline, manufacturer, or age? A traditional taxonomy structure would look as follows:

US Airways
-Airbus
--A320
--A330
-Boeing
--737
--757

American Airlines
-Airbus
--A330
-Boeing
--747
--757
--777

(Hypothetically speaking)

But, if I want users to be able to see all Airbuses...well there are two separate Airbus categories. If I want them to see all 757s, how would I let them browse to see all those, regardless of owner?

Further, and perhaps more importantly: if someone is ADDING a picture...I would like something like hierarchical select to allow users to choose US Airways>Airbus>A320...but still allow users to browse all A320s. This is where the conditional or dependent taxonomy selection would come in. If I use a hierarchy, there will be a lot of duplication, but if I use a separate vocabulary for Manufacturer, Airline, and Model, users could select an inapplicable combination (American Airbus A320, for example).

Any ideas on how I can restrict the selections of one vocabulary based on what has already been chosen in a previous vocabulary?

Comments

You could try a combination

shyamala's picture

You could try a combination of Content taxonomy and http://drupal.org/project/hierarchical_select Hierarchical select.

Other useful links
1) Taxonomy Handbook page
2) Modules related to taxonomy

Hope this helps !

Hi Shyamala, I used Content

venkatadapa's picture

Hi Shyamala,

I used Content taxonomy. It provides an option to add one vocabulary in one select box which contains all terms as options. But I need to show all vocabularies in one select box, when user select any vocabulary from that select box, the associated terms shown in another selectbox through ajax. And the information should store in thel corresponding database tables.

Thanks in advance.

Taxonomy

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: