0

I want to accomplish the following: 1. search through custom entity 2. incorporate search form into the header 3. set custom template on viewing search results

The searching is working but I can not figure out how to set the form in the header and show results in the custom template. These are my configs: enter image description here enter image description here enter image description here

The result of search with 2 items (now search form from header is just embedded html form):

enter image description here

What I expect is to integrate somehow with template used in controller in order to render list of items:

enter image description here

  • You have to theme the form not the controller – Kevin Jan 29 at 23:20

Your Answer

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

Browse other questions tagged or ask your own question.