Thread: MultiSkin
View Single Post
  #13  
Old 10-19-2003, 11:28 AM
  B00MER's Avatar 
B00MER B00MER is offline
 

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

Default

Your close but not quite there yet

I've already got such done, and is in working condition & tested on live sites, mod_skinswap:

http://www.cartlab.net/lab/customer/product.php?productid=27

New version is about to be released which includes some of the new features:

- Admin configurable
- Disable/Enabled Swapping
- What to swap with, Store Language, Affiliate ID, Skin variable or any other variable.
- Default skin (fallback) if none is specified
- Use a skin repository directory to store all skins, or use subdirs directly from the root of xcart/
- Set which debug template to use on "Enable debug console" in General Settings of admin. (debug.tpl, or debug_tempaltes.tpl)
- Cookie lifetime of 1 year of skin choice.
- Check if skin directory specified in swap variable exist if not fallback to default.

http://www.cartlab.net/images/skinswap_ss.gif

The new version will be either released today or tomorrow.

Kudos!
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote