1

I would like to add a filter in a view to search only nodes related to terms in a specific vocabulary. The problem is that the editors continuously add terms to the vocabulary and consequently I cannot select once and for ever which are the possible terms.

I would need a filter like this: positive if the term searched, or its translation, is in the vocabulary "myVocabulary".

1 Answer 1

0

I believe contextual filters under the advanced options in your view is what you are looking for. You can add the term reference field there and then dynamically filter the view from the url with either the term name or term id or both depending on the options you select.

2
  • I have not the term, id or name, in the url. I need that to make a search page with exposed filters.
    – lorenzo
    Commented Feb 14, 2014 at 7:13
  • If you expose the filter and not select any terms by default it will display them all. Views Admin: cl.ly/image/1g0I1r0r0e0w Output: cl.ly/image/1V3t1t3i1o2v
    – jphelan
    Commented Feb 19, 2014 at 18:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.