View Single Post
  #128  
Old 12-15-2005, 01:27 PM
  NightFire's Avatar 
NightFire NightFire is offline
 

X-Adept
  
Join Date: Jul 2004
Location: The Netherlands
Posts: 561
 

Default

Quote:
Originally Posted by yacine
For X-Cart 4.0.7

Following the install.txt file :

In section 4.
In /customer/home.php add these lines below ' require "./featured_products.php"; '.

To replace by :

In home.php in the root add these lines below
if (empty($products))
include "./featured_products.php";

Also,

Replace

require "./rotatingsidepanel_1.php";
require "./rotatingsidepanel_2.php";
require "./rotatingsidepanel_3.php";
require "./fixedsidepanel_1.php";
require "./fixedsidepanel_2.php";
require "./fixedsidepanel_3.php";

by

require "customer/rotatingsidepanel_1.php";
require "customer/rotatingsidepanel_2.php";
require "customer/rotatingsidepanel_3.php";
require "customer/fixedsidepanel_1.php";
require "customer/fixedsidepanel_2.php";
require "customer/fixedsidepanel_3.php";

In section 5.
The file is Б─°skin1/customer/home.tplБ─²

In section 6.
Replace

EZ Content Manager


By

EZ Content Manager


In section 7.

the file is "/skin1/single/home.tpl" and not "/skin1/admin/home.tpl"

Now
In the files : Admin/cmsmaker.php and Admin/cmsmanager.php
Replace :

require "../smarty.php";
require "../config.php";
require "./auth.php";
require "../include/security.php";

by

require "./auth.php";
require $xcart_dir."/include/security.php";

and

$smarty->display("admin/home.tpl");

By

@include $xcart_dir."/modules/gold_display.php";
func_display("admin/home.tpl",$smarty);


in the file : Customer/showpage.php

Replace :

require "../smarty.php";
require "../config.php";
@include "./https.php";
require "./auth.php";
require "../include/categories.php";

by

@include "./https.php";
require "../auth.php";
require "../include/categories.php";

and

$smarty->display("customer/home.tpl");

By

func_display("customer/home.tpl",$smarty);


in the file : skin1/admin/main/cmsmaker.tpl

{include file="location.tpl" last_location="CMS Maker"}

By

{include file="page_title.tpl" title="EZ Content Management"}

{"This section allows you to ..."}




Hope this will help

I can't get this working for version 4.0.12 and 4.0.16
In these versions there is no admin/home.tpl

Also the require code gives a parse error.
Anyone got this working for version 4.0.12 and above?
__________________
Best regards,
Niki Buitenrust Hettema

X-Cart Gold 4.1.8 (Live & Loaded)
Royal Bhaktapur: Handmade products from Nepal - Pashmina's, scarfs, shawls, stola's and more...
Reply With Quote