in drupal how to display 2 views with filter exp开发者_开发技巧osed in same page/path?
Have you tried having each view as a block? That way it is simple to have two different views on the same page - for example add the blocks to the body and limit them to the specific page. caveat - I don't know if exposing the filter makes using the block view problematic, but it is certainly worth a try.
The way I solved this is described here:
- Create a view with two "page" displays
- Make sure the filters are identical in both
- Under exposed form set "Exposed form in block" to "Yes" in both displays
- Make the second display appear in the footer of the first
- Set the exposed block to appear only in the path of the first display
Now setting filters affects both displays.
精彩评论