X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Moving the search function.... (https://forum.x-cart.com/showthread.php?t=7805)

TonyD 05-28-2004 06:37 AM

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.....

B00MER 05-28-2004 07:16 AM

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. ;)

TonyD 05-28-2004 07:49 AM

i have adjusted the <form> and <table> tags both ways and i cant seem to get the tswo search function on the same line..... :(


All times are GMT -8. The time now is 12:01 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.