View Single Post
  #1  
Old 01-29-2003, 11:49 AM
  minorgod's Avatar 
minorgod minorgod is offline
 

X-Adept
  
Join Date: Sep 2002
Location: Arivaca, AZ
Posts: 402
 

Default Non-newbie probs creating skin2 and switching skins in 3.3.1

Well, here I am again, finishing up another x-cart mod (for version 3.3.1)and wouldn't you know it, they changed the way the templates are found by x-cart.

I can't seem to get x-cart to find my new templates. Here's what I've done...am I forgetting something?....
  • 1.Duplicated the skin1 and skin1_original directories and renamed them skin2 and skin2_original.

    2.Changed the names of the skin1.conf and skin1.css to skin2.conf and skin2.css respectively.

    3.Changed 3 lines in my config.php file to read
    Code:
    $templates_repository = "../skin2_original"; $smarty->assign("skin_config","skin2.conf"); $mail_smarty->assign("skin_config","skin2.conf");

    4.Uploaded all the files.
Now when I look at my site I'm seeing the following error:
Quote:
Warning: Config_File error: Could not open config file '../skin1/skin2.conf' in /home/minorgod/traintosuccess-www/xcart.3.3.1/Smarty-2.3.0/Config_File.class.php on line 335

Anyone have a clue why this is happening? Is the "config.php.cnf" file used for anything? Might I need to change that as well? Why the heck is this thing looking in the skin1 directory for skin2.conf?
__________________
www.brettbrewer.com
Getting back into x-cart dev after a long hiatus. Modded lots of x-carts from version 3.1.x to 4.1.x. Developer of ImageScaler mod, Pre-login per user coupon mod, Wordpress feed mod, DigitalSubscriptions mod, Phonetic bulk download keys addon for DownloadExpander mod, Serial Number Generator for ESD products, Custom CMS/LMS integrations, external products mod, and more.
Reply With Quote