Active
Project:
Taxonomy Term Reference Tree Widget
Version:
2.0.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
6 Oct 2011 at 19:32 UTC
Updated:
20 Oct 2023 at 20:15 UTC
Jump to comment: Most recent
Comments
Comment #1
bartk commentedIt's not implemented at the moment.
Comment #2
psf commentedWould also love to see this feature implemented as an alternative option to Hierarchical Select module exposed views filter (in the process of being implemented - see http://drupal.org/node/1170192 ). Integrating views exposed filters with Drupal taxonomy hierarchy in a general sense is an incredibly powerful feature. It would allow users to filter content on sites with complex taxonomy term depth in addition to narrowing down content by being able to filter across multiple site vocabularies i.e. -
Filter by
Vocabulary #1 - Parent >> Child >> Grandchild.
and
Vocabulary #2 - Parent >> Child
[Show Result of Filter]
This module would provide an intuitive, visual tree-like representation as a filter for a specific vocabulary(s) for the user if integrated with views exposed filters.
Comment #3
oskarg commentedAre there any plans on implementing this feature in the near future? It would be awesome!
Comment #4
johnvShould this not be the other way around? Widgets all follow the same API. Can Views use any widget as an exposed filter?
Comment #5
larjohn commentedAny news about this issue???
Comment #6
bartk commentedRealistically I don't have the time to implement this in the near future, but if someone else would like to, I'd be happy to add them as a co-maintainer.
Bart
Comment #7
bartk commentedComment #8
technikh commented+1
Comment #9
jeremymears commentedWould like this also.
How would this be implemented anyway? How much work would be involved? Would be willing to give it a go if given some idea of what is involved
Comment #10
larjohn commentedI have really no idea about Views filters, but having used this module in a very large taxonomy (3 levels - 6192 terms), you should have in mind AJAX lazy loading, as it gets really slow otherwise
Comment #11
alanom commentedCheck out the code of the Better Exposed Filters module. That implements this exact feature in everything except for the javascript, and it works great in D7.
Two options for making the two work smoothly together:
The first option seems like a good one.
Comment #12
Anonymous (not verified) commentedAnd what about this one?
http://drupal.org/project/term_reference_tree
It would be SUPER if it just worked out of the box with views...
Comment #13
ionmedia commentedany news?
Comment #14
areikiera commentedDefinitely agree that this would be an awesome feature!
Comment #15
rootical commentedI wrote similar logics in jQuery which you could apply to a bef checkboxes filter. Does anyone needs it?
Comment #16
areikiera commented*hand raised*
That would be great, rootical! Thanks!
Comment #17
rootical commentedThe plugin:
Then call it somewhere:
Comment #18
paulo.faria commentedI think this feature already exists:
Just add the following filter criteria to your view:
"Content: Has taxonomy terms (with depth)".
Comment #19
chanac_hares commentedBut only following options are available
Selection type
There is not the "term reference tree" option !
Comment #20
knigh7 commentedI am also looking for this, any luck?
Comment #21
isimgt commentedany news?
Comment #22
tommybyskovlund commentedlooking for the same functionality...
Comment #23
giuseppe.minnella commentedmore on #17
this will keep the menu open after performing a search.
Comment #24
ciss commentedIn case someone wants to take a shot at this, it's actually fairly easy. We used existing instance settings to replace a taxonomy filter with term_reference_tree in a views exposed form. For details take a look at this gist: https://gist.github.com/cisso/8fe776fdf0ecd6eb539e
Comment #25
anybodyJust ran into this and indeed it would be super helpful to have the term reference tree widget available for views filters. Currently, there doesn't seem to be something like that available. Better Exposed Filters allows to switch to checkboxes, but doesn't provide the same UX as this module does.
So switchting to 2.0.x.
Comment #26
hockey2112 commentedIs this feature planned for D10?
Comment #27
paulo.faria commentedYou can use Facets with Search api or Core View Facets modules.
This approach has the advantage of showing only the filters that produce results.