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
  #31  
Old 08-15-2004, 12:05 AM
  B00MER's Avatar 
B00MER B00MER is offline
 

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

Default

Currently I've been moving servers, hopefully to a better, more stable server. Cart-Lab should be now back up, however product images are still a work in progress, feel free to place an order without troubles.

Thanks.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote
  #32  
Old 08-15-2004, 02:59 AM
  Zaja's Avatar 
Zaja Zaja is offline
 

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

Default

Received this error when trying to submit on 2checkout .. "Reason For Failure: Networking Error (ENETLP), please try back later if the problem persists"....you will find 3 not finished order in admin area , soory for that..delete it please.

Can you send me (zaja@7dana.com) simple 2checkout pay-link ?

btw. Your answer about v4.0.2 compatibility is yes?
__________________
_/ _/ _/ _/ _/ _/ _/ _/ _/

7dana.com
Reply With Quote
  #33  
Old 08-16-2004, 06:57 AM
  B00MER's Avatar 
B00MER B00MER is offline
 

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

Default

Zaja, Sorry about that, seems something was misconfigured with 2checkout at the time you tried to checkout, please try one more time if you still experience problems please feel free to email me at info@cart-lab.com

...And to answer your question yes, Skinswap comes with a 4.0.x compatible version.

Thanks.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote
  #34  
Old 08-16-2004, 11:00 AM
  Zaja's Avatar 
Zaja Zaja is offline
 

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

Default

Well... this is absolutely awesome mod ...just installed and works 100% on my demo site ( running XCart 4.02.).
Definitely must-have mod for any X-Cart template makers/seller.

I created simple theme-changer (form selector), take a look: http://www.7dana.com/xcart_demo

Thanks Boomer
__________________
_/ _/ _/ _/ _/ _/ _/ _/ _/

7dana.com
Reply With Quote
  #35  
Old 08-16-2004, 11:07 AM
 
e1front e1front is offline
 

Senior Member
  
Join Date: Feb 2003
Posts: 179
 

Default

I need to understand something
in order to have different skins ...
you need the whole new skin directory ???

My point is, the only changing files between different skins is
- dialog.tpl
- home.tpl
- head.tpl
- rectangle_top.top
- rectangle_bottom.top

I think that's all ...
so would be easier and faster for the templates_c to have those files in a new directory ...

I don't know if you get what I am asking ...
Reply With Quote
  #36  
Old 08-16-2004, 11:18 AM
  B00MER's Avatar 
B00MER B00MER is offline
 

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

Default

e1front, you could easily configure skinswap to have a fall back skin directory if a specific file isn't found in the current, this way you could just use X number of .tpl's for each new skin and leave a base skin for the rest of the .tpl's.

X-Cart doesn't use any caching features of Smarty by default so your not gonna notice too big of a speed difference as far as compiling is concerned.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote
  #37  
Old 08-16-2004, 11:59 AM
 
e1front e1front is offline
 

Senior Member
  
Join Date: Feb 2003
Posts: 179
 

Default

great ...
thanks a lot boomer
is configuring the "fall back skin directory" done from general setting >> swap skins, or it has to be hard coded ??

One more question ...
Can swap skin works for affiliates
like assigning a header.tpl for different affiliates ???

thanks
Reply With Quote
  #38  
Old 08-16-2004, 12:50 PM
  B00MER's Avatar 
B00MER B00MER is offline
 

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

Default

What I mean by "configure" is you would need to custom code skinswap to do such. This isn't a out-of-box feature, as It was more convient to swap all files vs selecting certain and configuring for such.

Yes, skinswap can use the &partner= variable to create different skins for different affiliates.

example:
skin1/
partner1/
partner2/

using &partner=partner2 would use the partner2/ subdirectory for the skin .tpl's. Take a look at the readme.txt for details on how it works.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote
  #39  
Old 10-13-2004, 11:05 AM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default

Does the manual pulling of the database info and connecting to the database to retrieve info on each load add any significant overhead?
Reply With Quote
  #40  
Old 10-13-2004, 12:48 PM
  B00MER's Avatar 
B00MER B00MER is offline
 

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

Default

Nothing to large, I've tried to optimize it as much as possible. It shouldn't add any significant load time, the only reason I have to do such is because smarty.php is called before config.php is included so I don't have access to mysql info from the file.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
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 11:45 AM.

   

 
X-Cart forums © 2001-2020