Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Easily swap-able skins (mod_skinswap)

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #51  
Old 02-22-2006, 08:19 AM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default Re: Not working with 4.0.17

Quote:
Originally Posted by sfabrik
I can't get this mod to work with Smarty-2.6.9 Cart version 4.0.17.
Anyone had luck getting it going on these versions?

Use the smarty.php.4.0.14 file instead of smarty.php.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote
  #52  
Old 02-22-2006, 08:47 AM
 
sfabrik sfabrik is offline
 

Newbie
  
Join Date: Dec 2005
Posts: 7
 

Default

In my install package i have "smarty.php" and "smarty.php.4.0.x".
I don't have one called "smarty.php.4.0.14"
When i use the smarty.php.4.0.x i get a smarty error.
When i look in the smarty php it is for Smarty-2.6.3.
My cart is using Smarty-2.6.9.
I tried changing the path to the smarty directory but there are still errors.
__________________
4.0
Reply With Quote
  #53  
Old 02-22-2006, 09:08 AM
  Zaja's Avatar 
Zaja Zaja is offline
 

X-Adept
  
Join Date: Mar 2004
Location: The Universe is my home
Posts: 420
 

Default Re: Not working with 4.0.17

Try following, open smarty.php from skinswap package and replace:
1.
Code:
define('SMARTY_DIR', $xcart_dir.DIRECTORY_SEPARATOR."Smarty-2.6.3".DIRECTORY_SEPARATOR);
with:
Code:
define('SMARTY_DIR', $xcart_dir.DIRECTORY_SEPARATOR."Smarty-2.6.9".DIRECTORY_SEPARATOR);
2.
Code:
# 4.0.x if (!@include(SMARTY_DIR."Smarty.class.php")) {
with:
Code:
# 4.0.17 ini_set('include_path', $xcart_dir . "/include/templater" . PATH_SEPARATOR . SMARTY_DIR . PATH_SEPARATOR . ini_get('include_path')); include_once($xcart_dir."/include/templater/templater.php"); if (!class_exists('Templater')) {
3.
Code:
$smarty = new Smarty;
with:
Code:
$smarty = new Templater;
4. remove this line:
Code:
$smarty->load_filter("output","trimwhitespace");
__________________
_/ _/ _/ _/ _/ _/ _/ _/ _/

7dana.com
Reply With Quote
  #54  
Old 02-22-2006, 09:20 AM
 
sfabrik sfabrik is offline
 

Newbie
  
Join Date: Dec 2005
Posts: 7
 

Default Thanks Zaja!

That did the trick!
__________________
4.0
Reply With Quote
  #55  
Old 02-22-2006, 10:02 AM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default

Quote:
Originally Posted by sfabrik
In my install package i have "smarty.php" and "smarty.php.4.0.x".
I don't have one called "smarty.php.4.0.14"

Feel free to PM me for the smarty.php.4.0.14 file, as this has been included in updated versions of the modification to accomediate for the changes since .14+

Zaja, thanks for the help!
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote
  #56  
Old 05-04-2006, 12:10 PM
 
Newpowerr Newpowerr is offline
 

Advanced Member
  
Join Date: Feb 2006
Posts: 32
 

Default Skinswap -> X-Cart 4.1

I have bought Skin Swap mod, but I am experiencing difficulties to get it to work. The entire smarty.php is different, and thje problems seems to be in that area. It can not load or define the variables for the skin_swap/skin1 locations.

Have you had the chance to take a look at that?
Reply With Quote
  #57  
Old 05-07-2006, 05:39 PM
 
dgreen dgreen is offline
 

Advanced Member
  
Join Date: May 2005
Posts: 85
 

Default skin swap problems

Has anyone had a problem with the order notification emails while using skin swap mod? My order emails are coming up blank when skinswap is switched on.

I am using skin swap mod and I emailed customer support at cart-lab a while ago and I have not gotten an answer so I am posting my question here.
Thanks
__________________
X-Cart version 4.1.10
upgraded from 4.0.13 myself slowly and with help from xcart forums. Thanks all!

http://www.discountseforim.com
Hebrew Seforim and Jewish Books
Reply With Quote
  #58  
Old 05-07-2006, 08:40 PM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default

Quote:
Originally Posted by dgreen
Has anyone had a problem with the order notification emails while using skin swap mod? My order emails are coming up blank when skinswap is switched on.

Locate:
Code:
# trim whitespace for cleaner output $smarty->load_filter("output","trimwhitespace");

And comment or remove the $smarty->load_filter... line.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote
  #59  
Old 05-08-2006, 05:54 AM
 
dgreen dgreen is offline
 

Advanced Member
  
Join Date: May 2005
Posts: 85
 

Default blank emails from skin swap - fixed

Thank you so much
It is fixed now.
__________________
X-Cart version 4.1.10
upgraded from 4.0.13 myself slowly and with help from xcart forums. Thanks all!

http://www.discountseforim.com
Hebrew Seforim and Jewish Books
Reply With Quote
  #60  
Old 02-03-2009, 10:41 AM
 
thebatterymart thebatterymart is offline
 

Newbie
  
Join Date: Jul 2007
Posts: 6
 

Default Re: Easily swap-able skins (mod_skinswap)

Updated for X-Cart 4.2.x. See http://www.cart-lab.com/xcart/product.php?productid=2
__________________
The Battery Mart
URL: http://www.thebatterymart.com
Software: X-Cart
Version: 4.1.8
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 09:16 AM.

   

 
X-Cart forums © 2001-2020