Page 1 of 1

LISE module search to produce URLs (or form method 'get')

Posted: Fri Feb 19, 2016 10:25 am
by slaweklatka
Hi,

This is my first post here and would like to say that CMS Made Simple is absolutely awesome. I'm using it for few years now and I love it.

Im using module LISE (ListIt Special Edition) module to display/search for products and it all works great.

Here's my question and help would be greatly appreciated.

Is there a simple way to make LISE search produce URL for results page or change form method to "GET"?

For example result page url:
mywebsite.com/products?search=product_name

Rather than:
mywebsite.com/products

I know that you can change this for system built-in search module:

Code: Select all

search_method="get"
Is there a similar parameter for LISE search.

I'm using default code from module template:

Code: Select all

<div id="{$modulealias}_search" class="search">
<div class="pageMarginWrapper">
{$formstart}
<input type="text" id="{$modulealias}searchinput" name="{$actionid}search" size="20" maxlength="50" value="" placeholder="Wyszukaj produkt"/>
<button>Szukaj</button>
{$formend}
</div>
</div>
Thanks