Different skins for admin and customer
Hi -
I am relatively new to X-Cart, but not to PHP. I would like to have 2 different skins on the site that I'm working on - one for administrators and one for customers to see. Basically, I want to keep the administrator login page to have one of the generic skins that comes with X-Cart and I want to use a custom skin/CSS/etc. for customer viewing only.
The reason I want to do this is for simplicity. The site I'm working on is heavily customized, and I don't want to modify all of the CSS definitions and graphics to do both the admin as well as the customer pages. With a single images directory, I have ended up with graphics that look great from a customer perspective, but terrible from an admin perspective (as it's a conglomeration of 2 different color combos) - and I also don't feel like going through and hand-editing all of the template files to track down all of the images.
I was thinking about making 2 different smarty.php - each one defining a different skin directory - and then changing the auth.php in the admin directory to point to the right smarty.php. Is this the proper way for doing this? Will this catch all administrator pages? Do I need to specify a different templates_c and cache directory with 2 different skins on the same site?
Does this make sense? Has anyone done this before?
Thanks
-jkk
__________________
X-Cart Gold 4.0.14
X-AOM 4.0.14
X-GiftReg 4.0.14
|