Forums / General Questions / Is it okay to modify/add files in includesmodulespages ?

Is it okay to modify/add files in includesmodulespages ?

Locked

Started by seifer987 on 9 Nov 2008, 6:57 PM · Views: 967

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
9 Nov 2008, 6:57 PM
#1
seifer987 avatar

seifer987

New Zenner

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

Is it okay to modify/add files in includesmodulespages ?

Look the title.

9 Nov 2008, 7:03 PM
#2
stevesh avatar

stevesh

Black Belt

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

Re: Is it okay to modify/add files in includesmodulespages ?

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.

9 Nov 2008, 7:12 PM
#3
seifer987 avatar

seifer987

New Zenner

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

Re: Is it okay to modify/add files in includesmodulespages ?

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?

9 Nov 2008, 8:24 PM
#4
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Is it okay to modify/add files in includesmodulespages ?

seifer987:

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..
:smile:

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others

10 Nov 2008, 1:26 AM
#5
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Is it okay to modify/add files in includesmodulespages ?

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

10 Nov 2008, 4:56 AM
#6
seifer987 avatar

seifer987

New Zenner

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

Re: Is it okay to modify/add files in includesmodulespages ?

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

10 Nov 2008, 5:09 AM
#7
afo avatar

afo

Totally Zenned

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

Re: Is it okay to modify/add files in includesmodulespages ?

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

10 Nov 2008, 8:18 AM
#8
kobra avatar

kobra

Black Belt

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

Re: Is it okay to modify/add files in includesmodulespages ?

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