Community

A multi step exposed filter for taxonomy terms? Need your help!

Hello Drupal friends,
I could need some inspiration... or maybe call it help. :-)
I am building a document download library. Every document (e. g. PDF) is attached to a node with description, taxonomy terms etc.. Now I want to allow the user to filter these nodes by taxonomy terms. I created a view and exposed the filter on the taxonomy terms. No problem so far.

The taxonomy is four levels deep (like AA > Aa > aa > a) and I allow the authors to select the terms with "Hierarchical Select" when they create a new entry.
For the user (visitor) it is not very useful to have the terms in one drop down menu in the exposed filter since the list is long and the layout of the hierarchy not very user friendly. I tried "Better Exposed Filter" but it offers no better way to present the terms to the user. I tried "Hierarchical Select Taxonomy Views" but as far as I understand the module description this part of the module doesn't work yet. And I couldn't find a way to apply "Hierarchical Select" in the exposed filter.

So, my question to you is: do you have an idea how I could create something like a multi step select menu in the exposed filter of a view?
I could imagine offering the first level of terms (as a drop down menu or a link list) maybe combined with an "Auto submit". Then the filter is applied and the second level of terms becomes available to refine the selection etc.

Maybe one of you has a good solution for this. I would love to read it!
All the best - andreas

Comments

_

It's actually a very complex task, and hierarchical_select is pretty much the only module in this space. However, iirc, there's a sandbox project that split off the exposed filter functionality-- you should be able to find it from the hs issue queue.

_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.

Thanks you!

Thanks a lot for your answer!
The judgement that it is a very difficult task is shared by Wim Leers, author of "Hierarchical Select". I contacted him with a sponsoring question for further development and got an email in which he tells me that he has no to time to develop the module towards the exposed filter option and that it is extremely difficult due to the way that Views' exposed filters work. So, this will not be a solution.

Does someone have a suggestion how to allow users to filter a list of documents in a user friendly way and preferably using the taxonomy terms? All suggestions are welcome!

That is just what I desperately need too!...

I am subscribing to the subj
here is my site:
http://noty-naputi.info/
it is for musicians (not an ad!)
users need to select a list of songs, starting from a category #1, like Holiday Songs, then from the resulting list select category #2, say, Women Choir, or Brass Quartet, etc.
I have no clue how to do that...
please keep this thread open!
Thank you!

Loong shot

This is a very long shot, but you can try. This is what I did. I had to implement a guide kind of functionality, where you select the volume in the first drop down and as soon as you select it, a new drop down appears to the right with the chapters in the selected volume, and once you select a chapter a new drop down appears to the right with parts in the chapter.

I used a combination of jump menu and the js in this comment. So basically the volumes, chapters and parts i mentioned in my example are individual nodes. So, its basically like you are selecting a menu item and are being taken to that page.So views are not at all involved here.

I am still trying to figure out how to integrate it with views.

 
Sarat
Drupal Geek at New Target Inc.
http://www.newtarget.com

_

There's a brand new option! I haven't had a chance to try it yet, but it's probably worth checking out: http://drupal.org/project/shs

_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.

shs looked promissing

Hej WorldFallz,
Thanks for suggesting shs. When reading the description it looked like a way to solve my task. But after installation and implementation, I faced more than 25 error messages. I couldn't figure out what the problem was, so decided no to use it on first hand. But I will give it a try again if other options will not work out.
Additionally I got a message from the developer of Hierarchical Select, who told me, that he might start working on the module again in near future.

nobody click here