Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Moving search bar

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-18-2007, 11:02 AM
 
LisaB LisaB is offline
 

Advanced Member
  
Join Date: Jan 2007
Posts: 74
 

Default Moving search bar

I want to move the search bar from the head into the body of the site, around the same line as "printable version". How do I accomplish that?

Thanks in advance!
__________________
XCart Version 4.1.6
PHP 4.4.4
MySQL 4.1.21-standard
Reply With Quote
  #2  
Old 02-18-2007, 12:10 PM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: Moving search bar

in /skin1/head.tpl

FIND:
Code:
{if $usertype eq "C"} { include file="customer/search.tpl" } {/if}

comment it out - use {* and *} -- so it will look like:
Code:
{* {if $usertype eq "C"} { include file="customer/search.tpl" } {/if} *}
THEN, copy the same lines and put it into home.tpl (or wherever you want it).

You may have to fix some table formatting of both files.

OK?
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
  #3  
Old 02-18-2007, 12:16 PM
 
LisaB LisaB is offline
 

Advanced Member
  
Join Date: Jan 2007
Posts: 74
 

Default Re: Moving search bar

Thanks!
__________________
XCart Version 4.1.6
PHP 4.4.4
MySQL 4.1.21-standard
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 06:18 PM.

   

 
X-Cart forums © 2001-2020