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)
-   -   Search box (https://forum.x-cart.com/showthread.php?t=7133)

bluecat 04-13-2004 09:20 AM

Search box
 
I've changed my head.tpl but when I add the search script (as indicated in this thread: http://forum.x-cart.com/viewtopic.php?t=9594&highlight=search), it doesn't show up, but rather the script itself shows up. The thread listed indicates to add the following script:

Code:

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


For what it's worth, I added the the { include...tpl." } without the "if" and that didn't work either. Also, I'm using version 3.4.9. Any advice is greatly appreciated. Thank you.

B00MER 04-13-2004 08:45 PM

Code:

<TABLE border=0 cellPadding=0 cellSpacing=0> 
<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>


Give this a try for your search.tpl code in skin1/customer/

bluecat 04-15-2004 04:30 PM

That worked perfect! Thank you very much!! :)


All times are GMT -8. The time now is 10:20 PM.

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