6

Is there any way to move the exposed filters of views into another region of the site? i.e. I want to have a Search functionality attached to the a view by exposing the "Search: Search Terms", but I want the search to reside to the right in the "Right Side Bar" region and not directly above or below the actual Views field display.

Or put another way: Is there a relatively straightforward method of replicating the Exposed Views Filter functionality of one View through another Block that resides on the same page? This way, the Block which would act as the filter "controller" would reside separately from the View on a different region of the page.

2 Answers 2

8

There is a module called 'Views Better expose filters' which allows you to create blocks from view exposed filters.

Project can be found at: http://drupal.org/project/better_exposed_filters or drush dl better_exposed_filters; drush en better_exposed_filters

There is also some excellent documentation at http://drupal.org/node/766974

3
  • 1
    Is there a way to do this grammatically?
    – cherouvim
    Jun 25, 2012 at 10:09
  • I have Views Better expose filters but I can't see how to do this - any ideas? Thanks
    – Dominic
    Jul 19, 2012 at 11:02
  • 1
    Once the better_exposed_filters module is installed, edit you view. In the "advanced" section there is a "exposed form" section, here click on "Expose form in a block" and select "yes", then save the view. Now you can go to the block configutation page and add the new block where you want (there should be a new inactive block "exposed form: name of the view").
    – idFlood
    Feb 26, 2013 at 14:44
1

You don't need any module. Edit the view > Advanced > Exposed form in block. Put: Yes.

You can now add the filter in Structure as a block.

Your Answer

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

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