This is hard to explain so I'm attaching an image.

When someone clicks on a filter to search for something, I would like the resulting page to show results but not the filter. Maybe simply a link like "back to search".

Or possibly a small search box, like basic search but not every filter.

I uploaded an image to show what I mean at the link below:

Hide exposed filters (Don't know how to post an image directly on this post!....

Comments

absoludo’s picture

The easiest way I could think of is by setting "Exposed form in block" to "yes" in the "Exposed form" section.
This way the filter form will not show up unless you enable the block that is created with this setting.
The cool thing about this is that you can show the block to certain users, but hide it for the rest.

brichmond’s picture

So I have tried using the setting as exposed form in block, but I cant get the search to work from after enabling the block on the page.

I have been trying very hard to get this. I've take html code for search and added it in myself, but it doesnt appear to work unless I have an exposed form. I am also trying to create an advanced search on the same page(with jquery) I have that completed, the only problem now is I have two forms on the page.

My form has the option to search by job title, reset search, click advanced search to open more search boxes.

The views form I am using has all of the search boxes displayed.

My form will not work properly unless the views form is also on the page, I don't know why but it wont. It looks really messy with the two forms there together. If I could just add my advanced search button to the views form that would be fine, but I cant find a way to hide the other forms.

Is there anything I can do to hide them?

Using drupal 7.41

Bruno Vincent’s picture

I did that and it does work, I'll make a tutorial on it later.

Cheers

absoludo’s picture

Glad to be of help

Bruno Vincent’s picture

Stupid mistake from me...I did this months back but now forgot...

Anybody can refresh me on the steps to do this?

Tried the answer from absoludo but I can't get it working now! ;(