问题
With drupal 6 I could easily choose to have the exposed filters in a separate block which I could then put on the sidebar. I can't figure out how to do that in drupal 7. Anyone know? Thanks, Diana
回答1:
Create a page view
Adjust the settings
Make sure you expand the advanced tab
回答2:
For D7 blocks, setting 'Use AJAX' to Yes worked for me.
Also, with two blocks on the same page filtering the same fields (but different data/views), it seems applying a filter from one block affects both blocks. Not sure how to work around that yet.
Clarification: In Advanced -> Other, set 'Use AJAX' to Yes
回答3:
For D7 use module - Views Block Exposed Filter Blocks https://www.drupal.org/project/views_block_filter_block
After enable this module you will see new settings in Exposed Form fieldset see screenshot - example
This solution also works with panels.
来源:https://stackoverflow.com/questions/14734145/how-to-put-exposed-filter-in-a-separate-block-in-a-view-in-drupal-7