开发者

in drupal how to display 2 views with filter exposed in same page/path?

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:

  1. Create a view with two "page" displays
  2. Make sure the filters are identical in both
  3. Under exposed form set "Exposed form in block" to "Yes" in both displays
  4. Make the second display appear in the footer of the first
  5. Set the exposed block to appear only in the path of the first display

Now setting filters affects both displays.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜