Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Editing Classic Green Template??

Editing Classic Green Template??

Views: 1,631

Results 1 to 10 of 10
11 Feb 2012, 2:00 PM
#1
jumbotron avatar

jumbotron

New Zenner

Join Date:
Feb 2012
Posts:
6
Plugin Contributions:
0

Editing Classic Green Template??

I just want to know is it okay if I just edit the classic green template that I get with zencart version 1.3.9 without doing the good old "Create a new custom template" thing???
I reinstalled zencart just to see if anything changed and if my work was saved and it was!
Will my work be deleated if I upgrade zencart to the 1.5 version?

11 Feb 2012, 2:14 PM
#2
stevesh avatar

stevesh

Black Belt

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

Re: Editing Classic Green Template??

Creating your own custom template takes just a few minutes and is well worth the time. Remember that the template overrides control more than just the appearance of your site, and anything in the 'classic' folders might be overwritten when you upgrade.

11 Feb 2012, 3:14 PM
#3
jumbotron avatar

jumbotron

New Zenner

Join Date:
Feb 2012
Posts:
6
Plugin Contributions:
0

Re: Editing Classic Green Template??

So the classic contemporary green template will be changed as well when I install the new version? How about I just copy the files from classic contemporary green in my new template and edit them there? Is that too simple to work? :)

11 Feb 2012, 3:29 PM
#4
stevesh avatar

stevesh

Black Belt

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

Re: Editing Classic Green Template??

Um, in the hour and fourteen minutes since your original post, you could have created your custom template and been well on your way to getting your store the way you want it.

Unless there's some practical reason you don't want to use a custom template, I'm going to stick with my original suggestion.

Depending on how you upgrade to the next version (including the way I do it), the contents of the 'classic' folders may well be overwritten, eliminating your edits.

11 Feb 2012, 6:13 PM
#5
jumbotron avatar

jumbotron

New Zenner

Join Date:
Feb 2012
Posts:
6
Plugin Contributions:
0

Re: Editing Classic Green Template??

I am new at this as you can see, and I'm not quite sure you understood my question
in my includes/templates folder I have 2 folders automatically installed by zencart : "template_default" (with most of the zen cart files) and "classic" (which only has "CSS" and "images" folders). Can I create a custom template just by copying the content of the "classic" folder (that is "CSS" and "images") into my "CUSTOM" template folder and editing some of the files (i.e. header_bg.jpg, title_back.jpg) ? Or do I have more work than that?
Sorry if I took too much time

11 Feb 2012, 6:19 PM
#6
stevesh avatar

stevesh

Black Belt

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

Re: Editing Classic Green Template??

Yes. Once you've created your custom template, you can copy the files from the 'classic' folders to the identical folder in your custom template and edit them from there. If you need to edit a particular file that isn't in the 'classic' folders, you can copy it from template_default.

11 Feb 2012, 11:13 PM
#7
rstevenson avatar

rstevenson

Totally Zenned

Join Date:
Nov 2006
Location:
Dartmouth, NS Canada
Posts:
2,400
Plugin Contributions:
0

Re: Editing Classic Green Template??

I can't recall anyone ever mentioning this, but it would surely work... Find any folder called "classic" and change its name to whatever you want to call your new template. Any later upgrade will not overwrite your new template folders since only folders of the same name get overwritten, and you changed the name.

Rob

11 Feb 2012, 11:18 PM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Editing Classic Green Template??

While it would work ... you then lose the ability to switch to the Classic Template to determine if errors are template related or not ... :unsure:

11 Feb 2012, 11:25 PM
#9
rstevenson avatar

rstevenson

Totally Zenned

Join Date:
Nov 2006
Location:
Dartmouth, NS Canada
Posts:
2,400
Plugin Contributions:
0

Re: Editing Classic Green Template??

Errors? Errors!!?? We don't got no errors Linda!

Rob

11 Feb 2012, 11:44 PM
#10
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Editing Classic Green Template??

True .. true ... we be zennners and zenners doth not make errors ... :lamo: