Issue with search form not passing on keywords
I've created a custom search field to include in the header on a site, following this tutorial (as usual)
http://dev.typolight.org/wiki/TutorialsCustomSearchForm
It used to work, but for some reason has stopped. I've just created another form from scratch -- also doesn't work.
http://xrl.us/beydhr
There is one instance of the form in the header and another in the footer. Does someone have an idea what's wrong here? Many thanks for any help.
Re: Issue with search form not passing on keywords
There is a much easier way to do it:
Code:
<form method="get" action="contact">
<div class="formbody">
<input type="text" value="" class="text" name="keywords" />
<input type="submit" class="submit" value="Search" />
</div>
</form>
Re: Issue with search form not passing on keywords
Thanks for your answer, Leo. Looking at your code made me realise that 'Submission method' was set to POST instead of GET. :oops:
Re: Issue with search form not passing on keywords
Quote:
Originally Posted by spirelli
'Submission method' was set to POST instead of GET. :oops:
That is actually correct for the solution described in the tutorial. It is just much easier to do it my way :lol: