1

How can I merge two different views on single page by displaying value with common filter condition for both views.

Ex: I have view1 and View2 and now I want to display both views on single page and filter condition if I select Id card number from View1 along with view1 fields the respected linked users in view2 should display.

8
  • can you please explain it more what you wanna do?? Commented Oct 28, 2015 at 10:30
  • @Adi: i have edited take a look, if u know any idea on this please share with me, i will be thankful to u.
    – kashish
    Commented Oct 28, 2015 at 10:35
  • what want to do .this can be done using on view then why you create 2 views Commented Oct 28, 2015 at 10:39
  • @Adi: need this because i have content type where in id card no is node with different other fields , along with this i have other content type with multiple fields i want to create view for all this n show on same page with common filtercondition so i need to merge on single page
    – kashish
    Commented Oct 28, 2015 at 10:47
  • this can be done using relation or add expose filter value Commented Oct 28, 2015 at 10:51

1 Answer 1

2

Views Global Filter

Use Views Global Filter on sites that feature multiple Views. You want the views to be driven by the same filter selection, for instance a country, a date range, a search term or even proximity to a post code. These views may be on the same page or scattered across several pages on your site, however you want to offer the visitor the convenience of setting the filter for all these views only once, for instance when they first land on your site. Views Global Filter implements the picked once, operates site-wide (POOS) principle. This means you can place anywhere on your site a selection widget (drop-down, check boxes etc) to globally filter all or some of your views. When the user picks a value from the global selector, the value is invisibly passed as a contextual filter to whatever views you like, even when these reside across multiple pages. This avoids you having to duplicate filters and avoids the visitor having to re-select their choice as they go from page to page.

Combine two views on one page

1
  • Alongside with the module indicated (Global Filter), you can give a try to Views Filter Harmonizer, a very powerfull module.
    – marcoscano
    Commented Oct 28, 2015 at 11:49

Your Answer

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

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