Page 1 of 7 123 ... LastLast
Results 1 to 10 of 62
  1. #1
    Join Date
    Apr 2004
    Location
    vienna
    Posts
    198
    Plugin Contributions
    9

    Default template switch addon

    TEMPLATE SWITCH

    DEMO: http://demo.zen-cart.at

    PURPOSE
    allow the user to select a template of choise
    for demonstration
    the selected templatet is stored in a cookie; if the user went back to the shop, she will see her template
    Attached Files Attached Files

  2. #2
    Join Date
    Mar 2008
    Posts
    23
    Plugin Contributions
    0

    Default Re: template switch

    Hi, I installed this and it turned my store to the default theme and it wouldn't let me change it to anything else. The sidebox didn't show up. What did I do wrong?

  3. #3
    Join Date
    Mar 2007
    Location
    AZ
    Posts
    1,911
    Plugin Contributions
    2

    Default Re: template switch

    You need to edit the templates.txt and you need to make sure the sidebox files are added to ALL of your templates.

    Tina

  4. #4
    Join Date
    Mar 2008
    Posts
    23
    Plugin Contributions
    0

    Default Re: template switch

    Yeah, I did that. I'm still having problems. The box shows up now but it still won't switch between the templates. Oh well, it was worth a try.

  5. #5
    Join Date
    Feb 2008
    Posts
    43
    Plugin Contributions
    0

    Default Re: template switch

    Alright, I figured this out....

    You have to go in through the admin, select each template, then go into the layout boxes controller and activate teh box in each one of the templates.... real PITA but it does work

    http://www.valhalla-computers.com/demo
    Last edited by Wulf359; 28 Apr 2009 at 06:10 PM. Reason: found the problem and posted to help others

  6. #6
    Join Date
    Mar 2009
    Posts
    78
    Plugin Contributions
    0

    Default Re: template switch

    This is not working for me. My site is gone. only the body background color of the classic template shows.

  7. #7
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: template switch

    mimi78,

    Follow the directions ans insure you create and add to the txt file the new templates
    Zen-Venom Get Bitten

  8. #8
    Join Date
    Mar 2009
    Posts
    78
    Plugin Contributions
    0

    Default Re: template switch

    This is what I've found out. When I place the init_templates in the overrides folder the site goes blank. Once i remove the file it all goes back.. the sidebox shows but the templates do not change. When I add the name of my template to the text file on the sidebox it shows next to the template that's in there for example viennabloodmytemplate.

    this is what i have from the txt:
    classicviennabloodcssxajaxmytemplate should these names be separated?
    Last edited by mimi78; 14 Jun 2009 at 10:52 PM.

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

    Default Re: template switch

    should these names be separated?
    That appears as one name - - How might programmimg tell where one ends and one begins?

    One template name per line in templates.txt

    classic
    cherry_zen
    lavender
    etc
    Zen-Venom Get Bitten

  10. #10
    Join Date
    Mar 2009
    Posts
    78
    Plugin Contributions
    0

    Default Re: template switch

    What is the init_templates when I paste it in the override folder the site goes blank.

 

 
Page 1 of 7 123 ... LastLast

Similar Threads

  1. v151 Title tag on my template pages missing - cannot switch to default template
    By mrcastle in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 6 Aug 2014, 12:00 AM
  2. Lose my template style when I switch to my URL
    By ak6000 in forum Upgrading to 1.5.x
    Replies: 2
    Last Post: 19 Jun 2012, 04:30 PM
  3. Template overide/switch for one category
    By Davx in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 12 Sep 2011, 06:15 PM
  4. trying to install and switch to another template
    By sdpamperin in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 7 Sep 2009, 09:32 PM
  5. Fatal Error in UK Switch/Maesto cc_uk addon
    By hutting in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 16 May 2006, 10:02 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR