Products module search and result on one page

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
mebots
Forum Members
Forum Members
Posts: 44
Joined: Sun May 23, 2010 10:22 pm

Products module search and result on one page

Post 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
JohnnyB
Dev Team Member
Dev Team Member
Posts: 731
Joined: Tue Nov 21, 2006 5:05 pm
Location: OH, USA

Re: Products module search and result on one page

Post by JohnnyB »

Try adding
{Products action="search"}

Inside of the actual Products summary template
Then it will always be there
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo

--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: Products module search and result on one page

Post by Rolf »

Or put the Products search tag in your html page template.
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
mebots
Forum Members
Forum Members
Posts: 44
Joined: Sun May 23, 2010 10:22 pm

Re: Products module search and result on one page

Post 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 :)
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: Products module search and result on one page

Post 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! ;-)
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Post Reply

Return to “Modules/Add-Ons”