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

quick question. Can ALL files use template override?

Locked

Views: 2,157

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.

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

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

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,690
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

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