Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / when I switching templates, everything except header disappears

when I switching templates, everything except header disappears

Views: 737

Results 1 to 5 of 5
18 Jul 2012, 12:02 AM
#1
hetero avatar

hetero

New Zenner

Join Date:
Jul 2012
Posts:
2
Plugin Contributions:
0

when I switching templates, everything except header disappears

Hi,
I was wondering if someone could help me. I am new to Zen Cart, I uploaded my products and everything is there when I look at the template Alien Stemware. But if i change templates for example if i switch to the custom template, at first i see everything but if i click on a link or refresh the page the only left on the page is the header, everything else disappears.
Any help is very appreciated.
Here is the link, it is currently on the alien stemware template which works - http://heteromorphic.com/zencart/
Thanks,
Justin

18 Jul 2012, 9:39 AM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: when I switching templates, everything except header disappears

I'm seeing everything but the sidebox columns. When you select a new template in admin, you then have to go to the Layout Boxes Controller page and click Reset.

18 Jul 2012, 12:58 PM
#3
hetero avatar

hetero

New Zenner

Join Date:
Jul 2012
Posts:
2
Plugin Contributions:
0

Re: when I switching templates, everything except header disappears

Thanks so much stevesh for the reply. I tried that and it didn't work. I put up the custom template so you can see, when I click on a link, everything below the header disappears. Thoughts?
Thanks so much!

18 Jul 2012, 1:17 PM
#4
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: when I switching templates, everything except header disappears

Hetero:

I uploaded my products and everything is there when I look at the template Alien Stemware. But if i change templates for example if i switch to the custom template, at first i see everything but if i click on a link or refresh the page the only left on the page is the header, everything else disappears.

Firstly a short lesson in zencart templates. If you are using a template called "Alien Stemware" then this is your 'custom template'. If you install any modules, etc and they refer to a folder called 'CUSTOM' it isn't meant to be taken literally, you are supposed to substitute 'CUSTOM' with the name of the template that you are actually using.

Zencart itself doesn't have a 'CUSTOM' folder. Its default template is called simply 'classic', and although it is quite possible to keep this default template as your 'custom' template it isn't a good idea because changes you make will get overwritten with any zencart updates.

This leads to the cause of your current problem, because somewhere along the line you have created a template folder that is literally named 'CUSTOM' and we can't even guess what is, or isn't contained in that folder, so faultfinding using this non functional poorly named template will be futile.

What you should be doing to sort out template issues (which is what you appear to have) is to revert back to the 'classic' template which should not have been modified or changed in any way whatsover. This gives you a 'clean slate' for testing/debugging purposes.

If you do wish to use an modify the 'classic' template it, and its folders should be copied and renamed to something of your choosing.

I hope you find this useful.

Cheers
Rod

18 Jul 2012, 1:19 PM
#5
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,097
Plugin Contributions:
56

Re: when I switching templates, everything except header disappears

When you change templates, have you looked in your store's /cache folder for any Debug*.log files?