If this is your first visit, check our documentation. To post, register or login.
Forums / Templates, Stylesheets, Page Layout / is is true that can't override the pages under modules?

is is true that can't override the pages under modules?

Started by cindy2010 on 1 Mar 2011, 5:52 AM · Views: 789

Results 1 to 5 of 5
1 Mar 2011, 5:52 AM
#1
cindy2010 avatar

cindy2010

Zen Follower

Join Date:
Apr 2010
Posts:
100
Plugin Contributions:
0

is is true that can't override the pages under modules?

I tried to override the files under:
includes\modules\pages
by creating a folder of my template, but looks it does not work.
Anything special for them in terms of override?

Thanks!

1 Mar 2011, 5:53 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: is is true that can't override the pages under modules?

Correct. There are no overrides for /includes/modules/pages/ folders/files.

You must overwrite the files, ideally by merging your customizations into the existing version of those files.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

1 Mar 2011, 6:02 AM
#4
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,189
Plugin Contributions:
0

Re: is is true that can't override the pages under modules?

Cindy,
Take a look at this chart which is a little easier to see...
Download it and print it...

http://www.zen-cart.com/index.php?main_page=contrib_search_result&search_in_description=1&keyword=override+chart

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

1 Mar 2011, 6:20 AM
#5
kobra avatar

kobra

Black Belt

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

Re: is is true that can't override the pages under modules?

In addition the BASIC rule is that where ever you see a "classic" folder
Those files(not folders) directly in that tree are overrideable

Where ever there is NOT an existing "classic" folder - those files are not overrideable

The exception is in the /includes/templates/your_template area where any file and/or folder contained in /template_default is overrideable inside of your template folder

Zen-Venom Get Bitten