0

Trying to figure out how to implement hierarchical taxonomies. For example, take animals. Animals belong to a family, a genus and a species. family being the least specific, and species being the most specific. It's easy enough to create three taxonomy vocabularies, but in this case, a species belongs to a genus and a genus belongs to a family, there should be some way to infer the family and genus from the species. Please let me know if this makes sense, and there is a way to do this.

1 Answer 1

2

You could try Taxonomy Manager module to quickly create tree of taxonomy nodes where each of taxonomy levels can be your family, genus, species and at the end animals. My suggestion is do not try to create separate taxonomy dictionaries , ie separate taxonomies for family, genus, species. Let's keep them all in one common taxonomy.

2
  • is that usually considered best practice? will that in any way make implementing views or searches difficult?
    – user379468
    Sep 28, 2011 at 21:53
  • There are pros and cons of this. Pros is you can reuse this approach for any kind of taxonomy. Cons is you do not separate genus from species for example if you want to filter on species only. If you use one taxonomy vocabulary searching can be realized with Hierarchical select module (drupal.org/project/hierarchical_select).
    – LLub
    Sep 29, 2011 at 11:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.