Is there a way to use a taxonomy term name to get all the parent terms in Views?

If the taxonomy terms are the following, is there a way to get "one" and "two," given "three"?

  • one
    • two
      • three

1 Answer 1


taxonomy_get_parents_all will do what you're looking for, but I don't believe it's possible in views. http://api.drupal.org/api/drupal/modules--taxonomy--taxonomy.module/function/taxonomy_get_parents_all/6

That being said, there's a module that might help you with that. It's called Taxonomy Views Integrator http://drupal.org/project/tvi

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.