Thread: Search Box
View Single Post
  #4  
Old 08-02-2009, 04:29 PM
 
Shamun Shamun is offline
 

X-Adept
  
Join Date: Jun 2009
Location: North Carolina
Posts: 841
 

Default Re: Search Box

Could be that its because its not in an actual template file.

Look in /skin1/customer/head.tpl and search for "search" without the quotes.

Quote:
<div class="search">
<div class="sin">{$lng.lbl_search}:</div>
<form method="post" action="search.php" name="productsearchform" class="sin">

<input type="hidden" name="simple_search" value="Y" />
<input type="hidden" name="mode" value="search" />
<input type="hidden" name="posted_data[by_title]" value="Y" />
<input type="hidden" name="posted_data[by_descr]" value="Y" />
<input type="hidden" name="posted_data[by_sku]" value="Y" />
<input type="hidden" name="posted_data[search_in_subcategories]" value="Y" />
<input type="hidden" name="posted_data[including]" value="all" />

{strip}

<input type="text" class="srchin" name="posted_data[substring]" size="16" value="{$search_prefilled.substring|escape}" />
{include file="customer/buttons/button.tpl" type="input" button_title="OK"}
{*<a href="search.php" class="search">{$lng.lbl_advanced_search}</a>*}
{/strip}

</form>

</div>

That would be my search form.
__________________
- Shane Munroe
Reply With Quote