View Single Post
  #2  
Old 04-06-2009, 01:14 AM
  Victor D's Avatar 
Victor D Victor D is offline
 

X-Adept
  
Join Date: Aug 2008
Posts: 643
 

Default Re: How to place my search box in the speed bar?

skin1/customer/top_menu.tpl replace
Code:
{section name=sb loop=$speed_bar} {if $speed_bar[sb].active eq "Y"} <td valign="top">{include file="customer/tab.tpl" tab_title="<a href=\"`$speed_bar[sb].link`\">`$speed_bar[sb].title`</a>"}</td> <td width="1"><img src="{$ImagesDir}/spacer.gif" class="Spc" alt="" /></td> {/if} {/section}

with
Code:
{section name=sb loop=$speed_bar} {if $speed_bar[sb].active eq "Y"} <td valign="top">{include file="customer/tab.tpl" tab_title="<a href=\"`$speed_bar[sb].link`\">`$speed_bar[sb].title`</a>"}</td> <td width="1"><img src="{$ImagesDir}/spacer.gif" class="Spc" alt="" /></td> {/if} {/section} <td valign="top">{include file="customer/search.tpl"}</td>
and remove
Code:
{if $usertype eq "C"} { include file="customer/search.tpl" } {/if}
from skin1/head.tpl
__________________
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