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
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
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?
You need to edit the templates.txt and you need to make sure the sidebox files are added to ALL of your templates.
Tina
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.
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
This is not working for me. My site is gone. only the body background color of the classic template shows.![]()
mimi78,
Follow the directions ans insure you create and add to the txt file the new templates
Zen-Venom Get Bitten
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.
That appears as one name - - How might programmimg tell where one ends and one begins?should these names be separated?
One template name per line in templates.txt
classic
cherry_zen
lavender
etc
Zen-Venom Get Bitten
What is the init_templates when I paste it in the override folder the site goes blank.
Bookmarks