Forums / Cotonti / General / Search form for header.tpl

Trustmaster
#14690 2009-07-21 23:37
You are right. Try this:
<form action="plug.php?e=search" method="post">
<input type="hidden" name="a" value="search" />
<input type="text" name="sq" />
<input type="submit" value="Go" />
</form>
Or use GET method:
<form action="plug.php?e=search" method="get">
<input type="text" name="pre" />
<input type="submit" value="Go" />
</form>
May the Source be with you!