Results 1 to 8 of 8
  1. #1
    Join Date
    Nov 2008
    Posts
    27
    Plugin Contributions
    0

    Default Is it okay to modify/add files in includes\modules\pages ?

    Look the title.

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Is it okay to modify/add files in includes\modules\pages ?

    You can, but there aren't any overrides for those files, so you'll have to re-modify or re-add them when you upgrade to a new Zencart version.

  3. #3
    Join Date
    Nov 2008
    Posts
    27
    Plugin Contributions
    0

    Default Re: Is it okay to modify/add files in includes\modules\pages ?

    You can, but there aren't any overrides for those files, so you'll have to re-modify or re-add them when you upgrade to a new Zencart version.
    So what's the solution if I want to add a new page?

  4. #4
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Is it okay to modify/add files in includes\modules\pages ?

    Quote Originally Posted by seifer987 View Post
    So what's the solution if I want to add a new page?
    Keep backup copies of pages you are going to alter...
    then keep notes on exactly what you have altered..then
    when ZenCart 1.4 and future releases are available,
    you won't be panicking about what you did 2 or 3 or 6 months
    ago, 'cos your site doesn't work when upgrading..

  5. #5
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Is it okay to modify/add files in includes\modules\pages ?

    If you ADD a new page, then you do not really modify and core files, you simply add new files, which is NOT a problem.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  6. #6
    Join Date
    Nov 2008
    Posts
    27
    Plugin Contributions
    0

    Default Re: Is it okay to modify/add files in includes\modules\pages ?

    Thanks guys.

    Actually I just want to add a page.
    Yeah, I think it's better if we can overriede the modules\pages.
    For example the override folder might be like this:
    includes\modules\pages\CUSTOM
    or
    includes\modules\CUSTOM\pages

  7. #7
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Is it okay to modify/add files in includes\modules\pages ?

    Unless you see a classic folder, there is no override available.

    You can create an "override" folder even if it won't be used and store your changes in it so you can refer to them after an upgrade/update which overwrote the files you modified.
    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

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

    Default Re: Is it okay to modify/add files in includes\modules\pages ?

    Quote Originally Posted by misty
    You can create an "override" folder even if it won't be used and store your changes in it so you can refer to them after an upgrade/update which overwrote the files you modified.
    Or you can add a atandard text string as a comment to all files you edit. You can then use the developers tool kit to locate all files with that text string as in before you upgrade and you will have a list of files you have added or edited that could not be overridden
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. Replies: 1
    Last Post: 14 Apr 2012, 07:57 PM
  2. Override of includes/modules/pages
    By sfatula in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 6 Apr 2010, 05:21 PM
  3. Override for includes/modules/pages?
    By dbrewster in forum Templates, Stylesheets, Page Layout
    Replies: 14
    Last Post: 27 Jan 2007, 04:51 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR