Results 1 to 5 of 5
  1. #1
    Join Date
    Oct 2006
    Posts
    2
    Plugin Contributions
    0

    Default Let users switch stylesheets

    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

  2. #2
    Join Date
    Dec 2005
    Location
    Cincinnati Ohio
    Posts
    1,026
    Plugin Contributions
    13

    Default Re: Let users switch stylesheets

    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

  3. #3
    Join Date
    Oct 2006
    Posts
    2
    Plugin Contributions
    0

    Default Re: Let users switch stylesheets

    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

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Let users switch stylesheets

    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

  5. #5
    Join Date
    Mar 2004
    Location
    Ontario, Canada
    Posts
    138
    Plugin Contributions
    6

    Default Re: Let users switch stylesheets

    (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

 

 

Similar Threads

  1. Replies: 4
    Last Post: 5 Jun 2010, 01:44 PM
  2. Switch between Stylesheets according to language
    By Asdesign in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 18 Mar 2010, 10:00 PM
  3. can I let visitor to switch product listing type?
    By joshuayang in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 2 Dec 2008, 02:48 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg