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

Moving the search function....

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-28-2004, 06:37 AM
 
TonyD TonyD is offline
 

eXpert
  
Join Date: Mar 2004
Location: Okc
Posts: 288
 

Default Moving the search function....

I installed the Brand Model Year mod from cart-lab (which is pretty damn cool btw)....and i put it in my search.tpl (the top search bar) and i want it next to the original search function....i thought i had it right, but it keeps gettin placed below it....

what am i missing?
Code:
<TABLE border=0 cellPadding=0 cellSpacing=1> <form method="get" action="search.php" name=productsearchform> <tr> <td width=20></td> <td class="TopLabel">{$lng.lbl_search}:</td> <td valign="middle"> <input type="text" name="substring" size="16" value="{$smarty.get.substring|escape}"> </td> <td valign="middle"> {include file="buttons/search_head.tpl"} </td> <td width=20></td> <td><u>{$lng.lbl_advanced_search}</u></td> </tr> </form> {*</TABLE>*} Placed the BrandModelYear here. </table>

i closed both parts of code in ONE table.....
Reply With Quote
  #2  
Old 05-28-2004, 07:16 AM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default

Tony, Since the Brand, Model, Year mod is a seperate search from the original X-Cart search, you can't combine the fields, you'll need to make sure the <form> tags are seperate, and also any <form> tag will cause spacing, its best to put these after a <table> and before </table> so they won't insert carriage returns.

hth.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote
  #3  
Old 05-28-2004, 07:49 AM
 
TonyD TonyD is offline
 

eXpert
  
Join Date: Mar 2004
Location: Okc
Posts: 288
 

Default

i have adjusted the <form> and <table> tags both ways and i cant seem to get the tswo search function on the same line.....
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 04:36 AM.

   

 
X-Cart forums © 2001-2020