All,
I'm creating a site for which I would like the customer to choose between stylesheets / layout. Anyone know how to do that or if that has been done before?
I searched around but could not find any reference to something like this.
Tia,
nqe
All,
I'm creating a site for which I would like the customer to choose between stylesheets / layout. Anyone know how to do that or if that has been done before?
I searched around but could not find any reference to something like this.
Tia,
nqe
Most likly need to build your own switcher, or intergate one.
Zen does not have that option by default.
PCI Certified Web Hosting - ControlScan, Security Metrics (Platinum Partner), McAfee, TrustKeeper
Business Class Web Hosting - Linux and cPanel Powered
I was afraid of that:-( Isn't there anybody who has made such a tweak? Of know of a site using this functionality? If not, how would i go about that? For this feature it's only necessary to define a different stylesheet to be used. As I understand it correctly, the stylesheet is only defined in the index.php. Right? Will it help to have the switch directed to a index2.php? Or would that cause trouble with the rest of the site (all links/pages refering back to the original index.php? Or maybe I have to hack the index.php to have the stylesheet included by some other .php file wich can be chosen to switch stylesheets? Anyone? Before I screw things up ( i know first do a backup...) Tia, nqe
Do a search here for template switcher...
This would be the preferred method for ZenCart...where you would have tem1, tem2, tem3 or name you prefer, copy all the template information and template overrides in all places....but use a different css file for each.
There was an older switcher that unfortunately does not work correctly with 1.3.x but the basics are the same. I believe that one has been created but has issues and has not been contributed as a result.
I can provide you with the "old" one to base off of if you email me at my addy in my profile.
Zen-Venom Get Bitten
(sorry, site offline)
Chinese language pack
Zen Cart plugins demo includes Ultimate SEO, Image Handler, Template Switch, Column Layout, Lightbox and Multi-Language EZ-Pages