|
|
Forum moderator: bigblog |
uCoz Community For Webmasters Design Customization Help on module search |
Help on module search |
hi, i have this code
Code <form id="search-form" onsubmit="this.sfSbm.disabled=true" method="get" style="margin:0" action="/$MODULE_ID$/"> <fieldset> <label class="keywords"> <input type="text" name="q" size="10" class="queryField" value="Search..." onBlur="if(this.value=='') this.value='Search...'" onFocus="if(this.value =='Search...' ) this.value=''"/> </label> </fieldset> </form> I have it in the head of template but redirects to module home page. Have tried to replace $MODULE_ID$ with load, blog, news, etc but dont work. what could be wrong here? t doesnt Systems developer
|
Below is the search code in this forum. Check if there is any different from you.
Code <form method="get" action="/search/"><input type="hidden" name="t" value="0"><input type="text" name="q" value="Enter a search phrase" class="query" style="color: rgb(161, 161, 161);"> <input type="submit" class="search-button" id="search-button" value="Search"></form> |
| |||
| |||