Zen Cart Logo
Forums / Upgrading from 1.3.x to 1.3.9 / Upgrade and overide system question...

Upgrade and overide system question...

Locked

Views: 886

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
13 Nov 2010, 9:42 AM
#1
joyjoy avatar

joyjoy

Totally Zenned

Join Date:
Sep 2010
Posts:
611
Plugin Contributions:
0

Upgrade and overide system question...

Hello, I'm going to attempt to upgrade my site without breaking it! I just wanted to get a few things clear.

I will need to compare the changed files against my current files. If I had made any modifications I will need to incorporate them into the updated files and upload?

Are these the only files that I will need to worry about?

And the override system. I see a folder in my cart for overrides, is this where I'm supposed to be placing my customized files? I have been following the CAPITAL TEMPLATE system and just adding my customized files to this. Am I doing this right?

Thank you.

13 Nov 2010, 2:57 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Upgrade and overide system question...

I will need to compare the changed files against my current files. If I had made any modifications I will need to incorporate them into the updated files and upload?

Are these the only files that I will need to worry about?
Modifications should only be in files placed into folders named for your template.....Then of these, only those that have a new version will require you attention....
If there has not been a change in the core file you need to do nothing to your custom file
And the override system. I see a folder in my cart for overrides, is this where I'm supposed to be placing my customized files?
NO...See the tutorial on overrides
https://www.zen-cart.com/tutorials/index.php?article=36

And if not in the tutorial, the RULE is any folder where there exists a "classic" folder - - the files there can be overridden
Note: Just the Files & not the folders

I have been following the CAPITAL TEMPLATE system and just adding my customized files to this. Am I doing this right?
Don't know what the "CAPITAL TEMPLATE system" is???

13 Nov 2010, 7:10 PM
#3
joyjoy avatar

joyjoy

Totally Zenned

Join Date:
Sep 2010
Posts:
611
Plugin Contributions:
0

Re: Upgrade and overide system question...

Thanks again Kobra. Thanks for the note on the "classics" folder, I don't even glance at those files...

And the CAPITAL TEMPLATE I was referring to I guess is the same as the override system. Anytime I have a modified file I copy it into my template folder. So I guess I've been doing okay. :smile:

One more question, how are my mods affected? Do I need to check for compatibility or anything before I upgrade? Thank you.

13 Nov 2010, 7:14 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Upgrade and overide system question...

One more question, how are my mods affected? Do I need to check for compatibility or anything before I upgrade?
Yes - - And hopefully if it has files that new versions were made, it has been upgraded
You can check for this in the downloads area
Otherwise, you might have to see if the files included in the module also appear in the change log

13 Nov 2010, 7:20 PM
#5
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Upgrade and overide system question...

It would be wise to check each mod's support thread for info on compatibility with the latest version. You can also read the thread on "Mods compatible with v1.3.9", though I don't know if it has been thoroughly updated for v1.3.9h.
Lastly, you can compare the file list for each mod with the changelogs for Zen Cart to see if any mod files have been touched.

13 Nov 2010, 7:47 PM
#6
joyjoy avatar

joyjoy

Totally Zenned

Join Date:
Sep 2010
Posts:
611
Plugin Contributions:
0

Re: Upgrade and overide system question...

Thanks so much guys, I appreciate it.

Here I goooo!

13 Nov 2010, 9:47 PM
#7
joyjoy avatar

joyjoy

Totally Zenned

Join Date:
Sep 2010
Posts:
611
Plugin Contributions:
0

Re: Upgrade and overide system question...

Should my mods be placed in an override folder as well? I'm thinking not but just thought I'd ask.

Also, do I do the overrides system for any and all changes that I have made to core files? i.e. email, classes, defines, etc?

13 Nov 2010, 9:59 PM
#8
joyjoy avatar

joyjoy

Totally Zenned

Join Date:
Sep 2010
Posts:
611
Plugin Contributions:
0

Re: Upgrade and overide system question...

One more question...what about defaults that come with zen-cart. Shipping/payment options, music, genre, records, etc. These would be files that I would never have the use for.

In an effort to keep my files under control size wise, can I remove these files or will they impact my site?

13 Nov 2010, 10:10 PM
#9
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Upgrade and overide system question...

Should my mods be placed in an override folder as well?
Yes and mos well constructed modules have folders named "my_template" that you must rename to your template name
Also, do I do the overrides system for any and all changes that I have made to core files? i.e. email, classes, defines, etc?
Remember the RULE??

/classes has no "classic" folder - - most do not touch those files but if you do I suggest you adopt placing some word or phrase in the commented head of the file
I enter *kobra

That way, when an upgrade is in order these files that can not be overridden can all be located using the dev tool kit and searching for "kobra" & now I have a list of the files I have touched in addition to those that are in overrides folders

These would be files that I would never have the use for.

In an effort to keep my files under control size wise, can I remove these files or will they impact my site?
I would not - - The complete default files set is only about 20K so there is little economy in this area

13 Nov 2010, 10:13 PM
#10
joyjoy avatar

joyjoy

Totally Zenned

Join Date:
Sep 2010
Posts:
611
Plugin Contributions:
0

Re: Upgrade and overide system question...

Okay, thank you for the clear explanation. :smile: