Forums / Templates, Stylesheets, Page Layout / quick question. Can ALL files use template override?

quick question. Can ALL files use template override?

Locked

Started by budfox on 13 Apr 2007, 9:16 PM · Views: 2,164

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
13 Apr 2007, 9:16 PM
#1
budfox avatar

budfox

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

13 Apr 2007, 9:53 PM
#2
birdoasis avatar

birdoasis

Inactive

Join Date:
Jun 2005
Location:
Cheney WA
Posts:
1,123
Plugin Contributions:
0

Re: quick question. Can ALL files use template override?

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!

13 Apr 2007, 9:59 PM
#3
tmc_sherpa avatar

tmc_sherpa

Zen Follower

Join Date:
Mar 2007
Posts:
158
Plugin Contributions:
0

Re: quick question. Can ALL files use template override?

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

13 Apr 2007, 10:00 PM
#4
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,735
Plugin Contributions:
56

Re: quick question. Can ALL files use template override?

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.

14 Apr 2007, 2:13 AM
#5
drbyte avatar

drbyte

Sensei

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

Re: quick question. Can ALL files use template override?

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

14 Apr 2007, 6:57 AM
#6
budfox avatar

budfox

Zen Follower

Join Date:
Aug 2006
Posts:
88
Plugin Contributions:
0

Re: quick question. Can ALL files use template override?

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