1

To describe my problem more accurately I'll give a simple example of my situation: I have a categorized content. There are 10 different categories like clothes, cars, lamps etc. Each of them have more child terms(clothes:white,red,black) Each of those has more childs(white: size1, size2 etc). If i put everything under one vocabulary, the term Filter in views gives a very long list of every single term in that vocabulary. That's kind of crappy.

A thing like this would probably solve my problems: http://drupal.org/project/hierarchical_select

However, it's still not available for views. So how do i go about this?

I saw sites with same category trees using just top layer of vocabulary for views filter, and other terms putting as menus above whole content view. For example if Clothes is selected in filter, you see all the relevant content plus menu of White, Red and Black and so on. Maybe it's not exactly the way they do it but i'm trying to figure out what's the best way to solve this.

  • you could check the this link, it has a detailed step by step instruction. drupal.stackexchange.com/questions/36217/… – Mohammed Shameem Jan 25 '13 at 6:07
  • As i understand this method allows me to create nested taxonomy, but i'm not sure it's suitable for my situation. – stasko Jan 25 '13 at 20:43
  • As i understand this method allows me to create nested taxonomy term trees, but i'm not sure it's suitable for my situation. What i have is a search bar(exposed filters of node view) on my front page, and i want to be able to search and filter nodes in every possible way according to my vocabularies. My question is how do i connect this taxonomy depth browser to my view to be able browse and filter and see relevant nodes displayed at each step? – stasko Jan 25 '13 at 20:49
0

You can filter by parent term in views; that way you don't have to list every term in the vocabulary. Also, learn what a contextual filter is and how to use it. Here's a series of free screencasts on learning how to use Views.

| improve this answer | |
0

I've been following the following issue on drupal.org for a while now about porting hierarchical_select to views: http://drupal.org/node/1170192. Yikes! The issue has 198 followers, so a lot of us are looking for precisely the same functionality.

The following very new module has come out of this effort: Simple Hierarchical Select.

The module provides a widget you can use in views as an exposed filter, so I think it'e exactly what you're looking for. :-)

Let us know if it works out!!

| improve this answer | |
  • It Almost does what i need!! It's a great module, however it does not store multiple values, therefor parent terms can't be tagged and when the user browse for content he cannot see displayed nodes until he selects last child term in the hierarchy. Thanks though for the link, it's a great find! – stasko Jan 26 '13 at 14:46

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.