Page 1 of 1
Products module search and result on one page
Posted: Fri Mar 07, 2014 1:05 am
by mebots
Hello,
Is it possible to put the search and result template on one page?
Have now the following:
Code: Select all
{Products action="search"}
{Products action="summary" pagelimit=4}
but if I used the navigation of the summary template, the search template will disapear, also if I make a search request the search and summary template will disapear. In my opinion the search template must always on top of the page.
thanx for a solution.
Martijn
Re: Products module search and result on one page
Posted: Fri Mar 07, 2014 1:11 am
by JohnnyB
Try adding
{Products action="search"}
Inside of the actual Products summary template
Then it will always be there
Re: Products module search and result on one page
Posted: Fri Mar 07, 2014 2:45 am
by Rolf
Or put the Products search tag in your html page template.
Re: Products module search and result on one page
Posted: Fri Mar 07, 2014 5:55 pm
by mebots
Thanks JohnnyB and Rolf, the answer of Rolf was the trick for me.
Have still another question, how can I when someone search something, and it can not be found, give an error, instead of a blank screen.
Thanx,
Martijn
PS Rolf, ik ben een nederlander, dus je kunt ook in het nederlands antwoorden

Re: Products module search and result on one page
Posted: Fri Mar 07, 2014 10:17 pm
by Rolf
mebots wrote:PS Rolf, ik ben een nederlander, dus je kunt ook in het nederlands antwoorden

Not in the English board, but we do have a Dutch one!
