Site maintenance: Sun 15 Nov, from 12:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / Templates, Stylesheets, Page Layout / override the override? I am confused

override the override? I am confused

Locked

Started by chakotay2 on 17 Nov 2008, 3:17 AM · Views: 1,528

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
17 Nov 2008, 3:17 AM
#1
chakotay2 avatar

chakotay2

New Zenner

Join Date:
Nov 2008
Posts:
14
Plugin Contributions:
0

override the override? I am confused

Ok,

I understand that to modify the original (default) template you use an override, but if you install another template, that is an override of the default... so if I am using a template other than the original, do I modify that templates files, or do I need to do an override scheme to the template as well? :censored: this gets confusing!

I am sure I am making this harder than it is, but I just want to make sure that if I do a downloadable template that when that template (or the core) gets updated I don't lose everthing!...:lamo:

17 Nov 2008, 4:49 AM
#2
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: override the override? I am confused

When you update Zen Cart, you're updating the "core", so for people who insist on using the Classic Green Template and not using the override system, they lose all the changes they made. :shocking:

If you create a custom template and/or install a free template, those files won't get overwritten by the update/upgrade because the folders aren't included in the update/upgrade (unlike classic and template_default). You will have to compare and update your custom files from the latest Zen Cart release. The best way to do that is to use a program like WinMerge or Beyond Compare to compare the files and copy the changes.

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

17 Nov 2008, 12:37 PM
#3
stevesh avatar

stevesh

Black Belt

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

Re: override the override? I am confused

One thing to remember is that each template, properly installed using the override system, operates independently, so you can have a dozen (or more) templates installed, each with its own set of override folders. The 'Classic' template is just an example template provided by the developers - in any case, any custom template (including 'Classic') overrides the template_default.

17 Nov 2008, 12:46 PM
#4
chakotay2 avatar

chakotay2

New Zenner

Join Date:
Nov 2008
Posts:
14
Plugin Contributions:
0

Re: override the override? I am confused

ok, got that part, but what happens if there is an update to the template itself?

And do I have to stick with templates which have the latest version of zen cart listed as their versions?

17 Nov 2008, 1:04 PM
#5
stevesh avatar

stevesh

Black Belt

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

Re: override the override? I am confused

chakotay2:

ok, got that part, but what happens if there is an update to the template itself?

And do I have to stick with templates which have the latest version of zen cart listed as their versions?

I haven't seen an update with any template I've tried, but I suppose you would just install the updated version over the existing one, setting your FTP program to overwrite.

I would. I know there are template differences between the current version and, say, version 1.36.

If you find an earlier template you like, install it and see what happens. If it doesn't work completely, you might be able to modify it to fit.

If you're considering buying a template, the above suggestions are null and void.

17 Nov 2008, 1:07 PM
#6
chakotay2 avatar

chakotay2

New Zenner

Join Date:
Nov 2008
Posts:
14
Plugin Contributions:
0

Re: override the override? I am confused

Thank you. :clap: