Score:0

Show two unique exposed filters in different blocks for the same view

cn flag

I have a view that has 3 exposed filters; two Taxonomy Terms and a Search Field.

I want the two taxonomy terms to appear in the Left Sidebar and I would like the Search Field to appear above the search results.

I have an additional requirement that keeps me from using the search API and the facets module so the only other alternative I can think of is to make this work using exposed filters in a block.

I have not been able to find a way to split these exposed filters. I have tried adding them both to separate blocks but all of the filters are showing in each block.

Is there any module or method that will allow me to provide this functionality?

cn flag
Specifically, how do you want to split them? If you just want to rearrange the way they are printed in the block, you can override the block with a twig template and print them however you want.
Rubix05 avatar
cn flag
They will be split into two separate blocks completely. The two taxonomy filters will be in the left sidebar; however, the search field will be in a pre-content region that will be separate from them. Using the same twig template won't work, unfortunately.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.