View Single Post
  #1  
Old 07-22-2009, 07:37 AM
  amy2203's Avatar 
amy2203 amy2203 is offline
 

X-Wizard
  
Join Date: Jul 2004
Location: Watford, UK
Posts: 1,509
 

Default working on new skin

I'm working on a new skin for my store, and you know what it's like, it's much easier and quicker to test on the actual site than on a copy etc...I know, not a good idea...

so, I'd like to be able to work on a new skin on the live site, without disrupting the current one.

My thought was why can't I add in an if statement somewhere, so that if a particular user was logged in, it used the skin2 directory rather than skin1, then as long as I am logged in with the right user, I will see the new skin, but everyone else will still see the old one.

I've narrowed it down to smarty.php that sets the skin folders etc, but I can't tell when this file actually runs, it doesn't appear in my webmaster mode,

can I just add an if to this to change the settings for 1 user?
__________________
X-Cart version 5 (Previously 3.5-4)

Previous Versions included
BCSE Reward Points Mod
Altered Cart On Sale Mod
Wordpress Plugin

Please don't PM me for support. I help where I can on the forum and your question will more likely be answered there.

Shout me a Coffee!
Reply With Quote