| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Need Help, I'm trying to move Search bar to left column, got | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Need Help, I'm trying to move Search bar to left column, got
I'm trying to move the search function to the left column, right above or below the Catergories section. Customer Support gave me this, but eveytime i do it, i check on the browser and the whole page is white.
1. Create sonny_search.tpl file with the following contents: {capture name=menu} {include file="customer/search.tpl"} {/capture} { include file="menu.tpl" dingbats="dingbats_categorie.gif" menu_title=$lng.lbl_search menu_content=$smarty.capture.menu } 2. Upload this file into your <xcart_dir>/skin1/ directory. 3. Modify your <xcart_dir>/skin1/customer/home.tpl file, namely: insert the following code: {include file="sonny_search.tpl"} into the place you want, for example, immidiately after: {include file="customer/special.tpl"} 4. Modify your <xcart_dir>/skin1/customer/search.tpl file, it should contain the following code: <TABLE border=0 cellPadding=0 cellSpacing=0> <form method="get" action="search.php" name=productsearchform> <tr> <td width=20></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> </tr> <tr> <td colspan=3 align="center"><u>{$lng.lbl_advanced_search}</u></td> </tr> </form> </TABLE> 5. Do not forget to remove the following code: {if $usertype eq "C"} { include file="customer/search.tpl" } {/if} from your <xcart_dir>/skin1/head.tpl file. // you can just comment it out, like that: {*{if $usertype eq "C"} { include file="customer/search.tpl" } {/if}*} -------------------------------------------------- I can't seem to get it to work, i've followed the directions numerous times. I'm not sure what Version i'm using, I just bought x-cart a few days ago and got the "Reliable" version. Please Help
__________________
X-Cart - 4.1.8 Apache/1.3.33 (Unix) |
|||||||
#2
|
|||||||||
|
|||||||||
so what wont work ? what happens ?
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. EWD Hosting Hands On Hosting |
|||||||||
#3
|
|||||||
|
|||||||
well, right after the last step, i reload my store page in my browser, and the whole page goes white. Blank.
__________________
X-Cart - 4.1.8 Apache/1.3.33 (Unix) |
|||||||
#4
|
|||||||||
|
|||||||||
you must have added some code in wrong or deleted something that you shouldnt have. check your code again
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. EWD Hosting Hands On Hosting |
|||||||||
#5
|
|||||||
|
|||||||
The codes seem OK for me. If the page is blank, I think that you may miss either "<", or ">" somewhere. You can try step by step to go, not do all at once.
__________________
Carts n Tools.com - New Root HTML Generator - Templates | Add-Ons | Services - XCart 4.0.x |
|||||||
#6
|
|||||||
|
|||||||
It worked for me.
__________________
X Cart Version 4.0.7 |
|||||||
|
|||
X-Cart forums © 2001-2020
|