Zen Follower
- Join Date:
- Aug 2006
- Posts:
- 88
- Plugin Contributions:
- 0
quick question. Can ALL files use template override?
I don't want to edit core files, but the override guide says it only works where 'custom' already exists
Started by budfox on 13 Apr 2007, 9:16 PM · Views: 2,164
Zen Follower
I don't want to edit core files, but the override guide says it only works where 'custom' already exists
Inactive
Custom is the folder that you create.
Take a look at the tutorial in the help section of this site. It explains it better than the guide that comes with it.
you create the template folder, and call it something you'll recognize. for me, I called the the name of the store.
There are several files and folders that you will need to create in order to make the template override system work properly.
John Patrick
A Zen Cart Advocate!
Zen Follower
the guide is correct, the other sections of zen (the admin tree among others) are not set up to test for an overide condition. I just make a backup folder with the originals in it. before doing any upgrading I can see what files I've played with and make any adjustments (file compares) from there
Lazy and willing to work very hard to stay that way
Administrator
Quick answer: no. :)
Don't look for "custom" - look for "classic." The "custom" folder is the one you will create.
Here's a list from 1.3.7:
./includes/languages/english/classic
./includes/languages/english/html_includes/classic
./includes/languages/english/extra_definitions/classic
./includes/languages/english/modules/order_total/classic
./includes/languages/english/modules/payment/classic
./includes/languages/english/modules/shipping/classic
./includes/languages/classic
./includes/modules/classic
./includes/modules/sideboxes/classic
./includes/templates/classic
Scott
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Sensei
Here is an Overrides Chart which may be of benefit:
http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_47&products_id=298
.
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.
Zen Follower
Thanks.
Yes, I got confused between custom and classic, but I do understand how it works.
It was the confusion between the advice not to edit certain files, and the fact that classic folders don't exist everywhere that confused me.
Cheers
Tell staff why this post should be reviewed.