Reputation: 2587
I want to display a block of my view on the front page. This block will have exposed filters. Once the filters are filled in by the user and he/she submits it I want the user to be redirected to the results page which the results instead of showing them the results on the same page.
How can I get this done ? Do I need to use panels for this? I am not sure.
Upvotes: 3
Views: 2202
Reputation: 395
In fact this is quite simple.
You just have to define your page's exposed filters as an exposed form block in your display's advanced options then put this block where you want on your front page.
You can also get more options for the exposed form with the 'Better Exposed Filters' module
Upvotes: 3
Reputation: 26
Easy Vishal - use the block's display properties to do this.
To restrict block to home page only use 'display only on the following pages' and add . To do this the other way around and put it on all pages except your view you would fill in 'display on all pages except' and put in your view url (ie view/listing-of-stuff)
Upvotes: 0