0

I need a view that shows all terms that are children of the argument tid.

term 1
-term 2
-term 3
term 4
-term 5

view/4 should return term 5

I must be missing something fundamental because no matter how I mess with contextual filters and relationships I never come close to actually filtering my results by the context.

4
  • 1
    The best way I've found was courtesy of Patrick Kenny on the answer he posted here. It does however require Panels. If it's good for you then head over there and throw him an upvote ;-)
    – Chapabu
    Feb 14, 2013 at 10:21
  • This view will be loaded into another view as a field, plus it shouldn't be too hard (It's just a WHERE clause pulled straight from the url)
    – J V
    Feb 14, 2013 at 10:24
  • Would the setup here help at all?
    – Chapabu
    Feb 14, 2013 at 10:26
  • Great! The difference was I was using a "parent term" context and I needed a "term id" one. Post it as an answer and I'll tick you :)
    – J V
    Feb 14, 2013 at 10:29

2 Answers 2

1

Normally Answers that are just links are frowned upon, but the answer in my comment can be found here on StackOverflow Drupal - On term page show child terms?.

The image on that answer is also posted below:

Original answer image posted on StackOverflow

It would be good if people could head to the original answer and throw the author an upvote if this is helpful to anyone.

1

If you add a contextual filter for taxonomy term with depth modifier, it should work, e.g terms/1/1

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.