How best to get a all nodes from a superset of one taxonomy term?

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

Greetings,

I am hoping someone can help me with the logic/approach part of this problem:

I have a superset table of term data, so that if a user selects "Dance" i want to run a query and get all nodes with a term of "Dance" or "Polka" or "Tango" etc.

I want the user to enter their term into an exposed filter. Right now, i have it setup using the default Taxonomy: Term filter. The user types in a one or more term values, and the dataset is filtered based on nodes which are tagged with just those entered term names. I need the dataset to filter on not only the entered terms, but all the ones that are related via the superset relationship mentioned above.

Ideally, i would love to jack into the Taxonomy:Term filter and just run my additional query. Or, i'm thinking i can copy the code for Taxonomy: Term and redo the joins to include my additional tables.

Am i thinking this through clearly?? I'm only 2 days into the Views2 API, so any suggestions are most welcome!

Thanks,
m

Views Developers

Group organizers

Group notifications

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