Results 1 to 10 of 10
  1. #1
    Join Date
    Sep 2010
    Posts
    612
    Plugin Contributions
    0

    Default 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.

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default 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???
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Sep 2010
    Posts
    612
    Plugin Contributions
    0

    Default 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.

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

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default 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
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default 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.

  6. #6
    Join Date
    Sep 2010
    Posts
    612
    Plugin Contributions
    0

    Default Re: Upgrade and overide system question...

    Thanks so much guys, I appreciate it.

    Here I goooo!

  7. #7
    Join Date
    Sep 2010
    Posts
    612
    Plugin Contributions
    0

    Default 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?

  8. #8
    Join Date
    Sep 2010
    Posts
    612
    Plugin Contributions
    0

    Default 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?

  9. #9
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default 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
    Zen-Venom Get Bitten

  10. #10
    Join Date
    Sep 2010
    Posts
    612
    Plugin Contributions
    0

    Default Re: Upgrade and overide system question...

    Okay, thank you for the clear explanation.

 

 

Similar Threads

  1. Replies: 0
    Last Post: 5 Sep 2009, 01:22 AM
  2. Help with Overide system.
    By robert4442 in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 25 Jun 2009, 05:42 PM
  3. Define Pages using classic template and overide system
    By FishySteve in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 9 Jun 2007, 03:23 PM
  4. Trouble with the overide system
    By momo06 in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 7 Dec 2006, 04:22 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg