1

I have a block with custom search options based on taxonomy terms (hierarchical dropdown).
When you submit the form, it renders the ID of the taxonomy terms. I want to have a query in another block on the same page which renders all nodes containing the taxonomy terms.
How can I link the IDs? Is this possible to do it with Views? Should I build a custom view through a hook, or is there another way to achieve this goal?

I am using the 7.x-3.x-dev version of Views.

0

In the block display, add a contextual filter for your taxonomy term field. Set it to Provide a default value when the filter value is not in the URL. Use Taxonomy term ID from URL as type for this default value and select Load default filter from term page.

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.