View Single Post
  #5  
Old 04-03-2009, 12:14 AM
  Victor D's Avatar 
Victor D Victor D is offline
 

X-Adept
  
Join Date: Aug 2008
Posts: 643
 

Default Re: Template Guide for 4.2

I think this particular question is worth to be a separate thread.
open your customer/head.tpl
find this
Code:
<div class="search"> <div class="valign-middle"> <form method="post" action="search.php" name="productsearchform"> <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} <span class="search">{$lng.lbl_search}:</span> <input type="text" name="posted_data[substring]" size="16" value="{$search_prefilled.substring|escape}" /> {include file="customer/buttons/button.tpl" type="input" style="image"} <a href="search.php" class="search">{$lng.lbl_advanced_search}</a> {/strip} </form> </div> </div>

copy it into new file customer/search.tpl and replace with
{include file="customer/search.tpl"}
and use it to include search box on the page.
__________________
Regards,
Victor Dubiniuk

X-Cart Skins Store
- twenty two different skins for 4.1.x and 4.2.x;
- 4.3.x compatible versions are available;
- refresh you store now!

Smart menu X-Cart add-on for 4.1.8 - 4.3.x
Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x
Reply With Quote