By M.Att on
Hi all,
For a book review site I would like visitors to be able to (sub)select multiple taxonomy terms for a search.
So for example 'Thrillers' AND 'Agatha Christie' AND 'Nicci French' would be selectable for a visitor, not just 'Thrillers' or the author(s) tags.
It seems to me this should be possible to do but I can not understand / find how to offer this.
Any help is appreciated!
Comments
TQL or Views
There are two way to do:
1. I used the Taxonomy Query Language module, which adds a nice extension to the search form, enabling the users to search for any taxonomy terms of all vocabularies, in any variations.
2. Use the Views module, set each vocabularies as exposed filter, where you want the user to let to search for its terms. Because the filters in the views are "add"-ed, it can be used to search for terms in multiple vocabularies. However, this solution requires some basic understanding and patient to the wonderful View module.
Doka
Doka
Would the Views be dynamic?
Thanks for your answer, I appreciate it.
Would the Views approach adapt dynamically to new taxonomy terms?
Because that would obviously be a requirement.
Thanks again
---
views would be dynamic yes.
Taxonomy Query language module...
Unfortunately requires manual input whereas the 'regular' taxonomy terms do not.
I love the way you can click through on a node and am basically looking for a way to make the allready selected taxonomy term 'sticky' and be used as a filter. So, to use my previous example to elaborate:
i look at 'Book XYZ' with the tags 'Thriller' and 'Agatha Christie'. Now I click the 'Thriller' term. I see 'Agatha Christie' nodes AND 'Nicci French' nodes AND 'Stephen King' nodes. I click 'Stephen King' and it will show me just the books tagged 'Thriller' and 'Stephen King', but NOT books tagged 'Horror' by Stephen King.
Before I dig in deep into Views (which I do not master) - can anyone confirm this is (remotely) possible with Views?
Thanks!
I guess no, but ...
I can not confirm your scenario can be done by views, because I was not able to do the last step: . Instead, this step will show you all the nodes of Stepen Kings, not only which are tagged as 'Thriller'. Maybe there is a solution, but I didn't find it.
Maybe it is worth to you to look up the Easyfilter" module, too.
Doka
Doka
EasyFilter
The Easyfilter solution is very very close. Unfortunately it requires me to define a node type for each and every base term. In my book example this would mean hundreds of node types, something that is not very desirable. Furthermore it is not as flexible as the taxonomy system.
The rest of the module is very close to my desires though, so I will investigate further.
Thanks for trying the views and suggesting Easyfilter!
Are you sure?
As I recall, I've tested Easyfilter without to define nodes for each terms.
In any case, the main drawback of Easyfilter for me was the usability with many (n*10) terms in a vocabulary. It is very useful for a smaller amount of terms, but its presentation methods were not appropiate for me with many terms.
Doka
Doka