I love the Taxonomy Tree that appears when creating a node with a content taxonomy field. I'd really like to have the taxonomy tree to be presented when exposing a filter of a content taxonomy field using Views (i.e. instead of the flat select list). Is this possible?

Comments

dajjen’s picture

I also would like to have that feature.
I can't find any way of getting the taxonomy tree as a selection type in views exposed filter.
Does anyone know?

Best regards/
Dajjen

zio’s picture

Are any news for this issue?

stinky’s picture

Subscribe

vodoleq’s picture

Subscribe

squinternata’s picture

subscribe

clashar’s picture

owntheweb’s picture

+1 :)

I want this feature too. I have a deep tree that gets REALLY ugly when exposing as a flat select list filter...

Best regards,

Chris

EDIT:
Here's a start (not quite compatible but maybe there's a work-around?):
http://wimleers.com/demo/hierarchical-select/taxonomy

lahode’s picture

Hi,

You should use http://drupal.org/project/views_tree, Then :

1) create a taxonomy view type
2) Add 2 fields (name + Tid)
3) In Relation: add a "parent term"
4) Add a third field (tid) and assign it to your parent relation
5) Finally choose Format "Tree (Adjacency model)" and select in the parameters : Ordered list + Main field (your first tid), Parent field (your tid assigned to the parent relation)

This should solve your nested view problem

Cheers

lahode’s picture

Hi again,

If you're interested to add the nodes and the end of each term in order to make a directory-like display, please find here the solution. In a block it can also be an alternative to Taxonomy Menu.

http://drupal.stackexchange.com/questions/11291/how-do-i-create-a-nested...

mrP’s picture

@lahode -- Thank you for posting #8. I've been looking for a module to provide this functionality for a long time. Made my Drupal day.

Thanks!

kreaton’s picture

Title: Taxonomy Tree in Views » Hi
Version: 6.x-1.0-rc1 » 7.x-1.x-dev
Assigned: Unassigned » kreaton

lahode (#8) thank you very much, I was about to write a module for this purpose.

alanom’s picture

Title: Hi » Taxonomy Tree in Views

"Hi"!?

teodor.sandu’s picture

Hi guys,

thanks for comment #8 - really neat stuff.

Cheers

phuocdv’s picture

Issue summary: View changes

#8 work for me . Thanks you !