2011-03-23, 20:18:00
lnx Wrote:(% searchform slugearch %) gives same result - after pressing serch button, it drops me to a "start page" of site and in a browser's address bar i see index.php?words=my-entered-keyword&search=Search
I have no separate action, search form is displayed by using code <?php get_i18n_search_form(array('slug'=>'search','showTags'=>0)); ?> in template.php
So you have a search form in the template (header or somewhere else) and on the result page you have again a search form and the search results?
I'll try to reproduce it.
For now just replace the <?php get_i18n_search_form(array('slug'=>'search','showTags'=>0)); ?> and the (% searchform %) with the HTML form itself, as the action of the generated form seems to be wrong:
Code:
<form action="index.php?id=search">
<input type="text" name="words"/>
<input type="submit" name="search" value="Search"/>
</form>