Styling the Search Function
Posted: Tue May 29, 2007 2:44 pm
I am trying to build a custom search form for a website, so am trying to alter the default "Search Template" in the admin panel. The code I'm trying to use is:
Now, because I'm not using the default smarty tags, and trying to use custom text field inputs and search buttons, the search function doesn't actually work anymore. I just get this text returned after submitting the query: might be incorrect, but I found these on other messageboard topics. Does anyone know what I've done wrong?
Code: Select all
{$startform}
<img src="images/holohanCustom/search1.gif" align="bottom">
<input type="text" name="cntnt01searchinput" id="cntnt01searchinput" class="custom" size="15" align="bottom"/>
<input name="cntnt01submit" value="GO" class="customSubmit" type="submit" /> {$hidden}
{$endform}
So it seems that it is triggering the action, but nothing is passed? I have a feeling thatSearch Results For "" No Results Found!
Code: Select all
name="cntnt01searchinput" id="cntnt01searchinput"