How to make sub terms show in main taxonomy page in Drupal?
Asked Answered
S

1

8

I have categories:

  • Cameras (4)
    • Accessories (2)
    • Bags and Casings (2)
      • Inner (1)
      • Outer (1)

If I open cameras, I see nothing, only:

There is currently no content classified with this term.

Instead, I want the view to automatically show the children if I click on "Cameras". Clicking on cameras should therefore show all the contents of Accessories and also bags and casings and inner and outer. If I click on Bags and Casings, it must only show bags and casings, inner and outer.

How would I do this?

Sterigma answered 13/4, 2015 at 15:15 Comment(0)
A
7

Have you tried adding the contextual filter Content: Has taxonomy term ID (with depth) of to the view? See https://drupal.stackexchange.com/a/58526

Alber answered 17/4, 2015 at 19:23 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.