I've been creating my search pages in Search API, but I want to offer a search block on the front page or other pages that can do what the core search block does. Is there a way to either integrate the search block, or a work around to have a search block on the front page while it pulls up search and displays everything on the main search page?

1 Answer 1


Search API module has the ability to integrate with views module. All you need to do is to install views module and then create Search view,expose search filter and in your views configuration choose Exposed form in block option to yes, now you will the see the search block from your search api and place it on front page, the block will take you automatically to the search page to show the search items.

  • 1
    I had thought of doing that, but I wasn't certain that the exposed block would work unless it was on the same page as the view. I'll give it a shot, thanks.
    – CW Smith
    Commented Mar 11, 2015 at 18:06
  • I gave it a shot but it's not redirecting to my search page. I've tried creating the page as a panels page or a views page, either way the exposed for does not seem to want to redirect to search and display results. Any assistence on this would be appreciated.
    – CW Smith
    Commented Mar 13, 2015 at 17:10
  • what I remember is if you create a search view page and exposed your search filter as separate block, it should take you to search page. Key is the view should be same, make sure you are not confusing with two separate views one for page and one for search block.
    – arpitr
    Commented Mar 14, 2015 at 21:43

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.