Author Topic

justin kazadi

Tuesday 17 February 2009 11:44:09 pm

Comment50711

hi,
i don't talk about the search.tpl but about your search form (in your pagelayout.tpl).

i think you have an error on your form.

No results were found when searching for "".

means that the search engine don't get correctly the SearchText. so the searchtext is empty.

use this code:

<form id='search_from' action={"/content/search"|ezurl} >
		<label for="searchtext">rechercher sur le site</label>
		<input id="searchtext" name="SearchText" type="text" />
		<input id="searchbutton" type="submit" value="OK"/>
	</form>

The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.

Albert Einstein