X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Third Party Add-Ons for X-Cart 4 (https://forum.x-cart.com/forumdisplay.php?f=45)
-   -   TelaFirma free X-Cart Narrow by Manufacturer 4.x. code problem (https://forum.x-cart.com/showthread.php?t=39248)

jcorneli 04-21-2008 05:47 PM

TelaFirma free X-Cart Narrow by Manufacturer 4.x. code problem
 
I am attempting to install the TelaFirma free X-Cart Narrow by Manufacturer 4.x. I followed the instructions and evrything worked until I got to step 4 which states:

Quote:


Edit the file /home.php and after the lines
if ($active_modules["Bestsellers"])
include $xcart_dir."/modules/Bestsellers/bestsellers.php";

insert the following lines
if ($active_modules["Random_Products"])
include $xcart_dir."/modules/Random_Products/randoms.php";


The code in my home.php is formatted differently as follows:

Quote:


{if $active_modules.Bestsellers ne "" and $config.Bestsellers.bestsellers_menu eq "Y"}
{include file="modules/Bestsellers/menu_bestsellers.tpl" }
{/if}

I have tried many different variations but i can't seem to get the correct syntext. Any help would be greatly appreciated.

kube 04-21-2008 05:56 PM

Re: TelaFirma free X-Cart Narrow by Manufacturer 4.x. code problem
 
You're editing home.tpl not home.php. Wrong file.

home.php is located at the root of the xcart folder.

jcorneli 04-21-2008 06:08 PM

Re: TelaFirma free X-Cart Narrow by Manufacturer 4.x. code problem
 
Thanks Kube. I guess I was trying too hard.


All times are GMT -8. The time now is 05:17 PM.

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