2

I know there are zillion topics about this, but I just couldn't apply it to my View Block in Drupal 8. On the other hand all these Taxonomy Term Tree creation is based on content related.

Here is what I would like to do, I would like to display my "Collections" taxonomy term hierarchy without content relationship, as it is(just parent-child terms). This is how my taxonomy term hierarchy looks like:

enter image description here

And this is how far I could get:

enter image description here

This is my result(which is completely wrong):

enter image description here

**FYI: I am using Views Tree and I follow this Taxonomy display children with Taxonomy View Depth not working **

Thank you for help and time in advanced.

0

you can use the Views Tree module for this: https://www.drupal.org/project/views_tree

It works pretty well, you just need to use the Tree (list) views FORMAT, add the parent taxonomy term in RELATIONSHIPS, add the parent term's Name field to the FIELDS list, and then use it as the Parent field on the Tree settings:

Tree (list) settings

The module will link the terms hierarchically and output a nested list, and you can always hide the parent term's name field to show just the children terms names.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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