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

Putting Search in Left Menu

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 12-14-2004, 03:06 PM
 
awesomeade awesomeade is offline
 

Newbie
  
Join Date: Dec 2004
Posts: 2
 

Default Putting Search in Left Menu

Hi All,

My first post

I want to put the search box in the left menu on the home page instead of it being where it is now (top right of page), so under categories etc so a user can search from there instead...

You can see my site at www.tyres2go.co.uk

The search is on the top right you see... and i want to move it under "Choose Tyre Size" and above "help"

Any ideas?
__________________
www.tyres2go.co.uk
Version 4.0.8
Reply With Quote
  #2  
Old 12-14-2004, 03:54 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Hi awesomeade, welcome to the Forum! First off, it will help if you put your X-Cart version number in your signature so that we can all assist you better.

Now, as far as moving the search box goes, you will want to open up head.tpl and cut this:

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

Then paste it in your customer/home.tpl template somewhere after this:

Code:
{include file="customer/categories.tpl"}

but before this:

Code:
{ include file="help.tpl" }

You will also want to edit the customer/search.tpl so that the advanced search text goes under the search box...that way it will fit in the column nicely under the categories. Good luck!
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 12-15-2004, 11:34 AM
 
awesomeade awesomeade is offline
 

Newbie
  
Join Date: Dec 2004
Posts: 2
 

Default

Excellent

Thanks for your help - it worked!! It also gave me a little tutorial where i should be editing etc and its given me the confidence to hack around a little more

Thanks again!
__________________
www.tyres2go.co.uk
Version 4.0.8
Reply With Quote
  #4  
Old 12-15-2004, 12:14 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Glad I could help! Webmaster mode will really help you to determine what is what. Play around with it a bit and you'll see what I mean
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
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 05:37 AM.

   

 
X-Cart forums © 2001-2020