I just installed ezsearch in my website and I'm now dealing with the way the results are presented. I have the search toolbar in my header because I want it to be accessed through the whole website. The search engine works fine, however currently the results are being displayed in the header section as well, and I want to display them in the body of my site. How can I do this?
(1) place @Umbraco.RenderMacro("ezSearch") in you want to show there.
(2) Modifie codes in ezSearch.cshtml under MacroPartials. There you need to change
. For eg.
If you want to show only result
@helper RenderContentResult(SearchViewModel model, IPublishedContent result)
{
My problem is that currently the results are being included in the header of my website, because my search toolbar is in there. I have the template for the ezsearch.cshtml with the render macro but it render in the header, and I want to move it to the body of my website.
Show results of ezSearch in other page
Hi guys,
I just installed ezsearch in my website and I'm now dealing with the way the results are presented. I have the search toolbar in my header because I want it to be accessed through the whole website. The search engine works fine, however currently the results are being displayed in the header section as well, and I want to display them in the body of my site. How can I do this?
Thanks in advance!
Hi Nelson,
(1) place @Umbraco.RenderMacro("ezSearch") in you want to show there. (2) Modifie codes in ezSearch.cshtml under MacroPartials. There you need to change
}
In this way , you can change result and layout which you need.
May be lucky AKL
My problem is that currently the results are being included in the header of my website, because my search toolbar is in there. I have the template for the ezsearch.cshtml with the render macro but it render in the header, and I want to move it to the body of my website.
Hi Nelson
You can see this link https://www.youtube.com/watch?v=_ZV7nogMowU
May be ok
AKL
this is just copying the form in separate page . you can do it by rendring macro on that page :(
is working on a reply...