0

I'm trying to create a search box from the exposed fields from a view. Is that possible? If I add a block display I also get the results.. I want only the fields, not both.

I also tried embedding a view with exposed filters inside a node, however, when I click "search" I'm not redirected to the view (the url is not constructed correctly: instead of website.com/view?exposed_field=test I get website.com/?exposed_field=test).

Any help is appreciated. Thank you

1

This functionality is now built into Views itself. See How To Display Views' Exposed Filter In A Block And Theme It for details.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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