Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Override issue...don't understand

Override issue...don't understand

Locked

Views: 2,249

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
20 Jul 2006, 3:12 AM
#1
donnettacb avatar

donnettacb

New Zenner

Join Date:
Jul 2006
Posts:
23
Plugin Contributions:
0

Override issue...don't understand

I have the override system working in most every place. However, I created a directory named with my template name in the includes/templates/default_template/templates folder and copied the includes/templates/default_template/templates files into it. Sadly, it won't use the file in the classic_hats (my template name) directory, only the one in the templates directory above it.

What am I missing?

20 Jul 2006, 3:17 AM
#2
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: Override issue...don't understand

you need to create a whole template structure that is paralell with template_default
you need to have includes/templates/YOUR TEMPLATE/templates

20 Jul 2006, 3:19 AM
#3
donnettacb avatar

donnettacb

New Zenner

Join Date:
Jul 2006
Posts:
23
Plugin Contributions:
0

Re: Override issue...don't understand

Oh, let me try that. Thanks. This sure is a lot to learn, but I love Zen Cart so far. Appreciate the help.

20 Jul 2006, 4:30 AM
#4
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: Override issue...don't understand

glad to be of service

I need to get a plane and just fly west so the sun never sets.. LOL then I wouldnt get yelled at for never sleeping.

26 Jul 2006, 8:38 PM
#5
donnettacb avatar

donnettacb

New Zenner

Join Date:
Jul 2006
Posts:
23
Plugin Contributions:
0

Re: Override issue...don't understand

Merlinpa1969:

you need to create a whole template structure that is paralell with template_default
you need to have includes/templates/YOUR TEMPLATE/templates

I'm now trying to change something in this file:
includes/modules/payment/paypal.php

I created this file: includes/modules/payment/classic_hats/paypal.php
and edited that one, but it's not reading it. What am I doing wrong?

26 Jul 2006, 8:41 PM
#6
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,607
Plugin Contributions:
0

Re: Override issue...don't understand

What are you trying to change in the PayPal module?

26 Jul 2006, 8:45 PM
#7
donnettacb avatar

donnettacb

New Zenner

Join Date:
Jul 2006
Posts:
23
Plugin Contributions:
0

Re: Override issue...don't understand

I'm trying to turn off shipping option in paypal. I made the change I found in the main file to test it and it worked. But if I made it in the override file it ignores it (if I put the original file back to normal)

27 Jul 2006, 9:22 AM
#9
drbyte avatar

drbyte

Sensei

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

Re: Override issue...don't understand

There are no overrides for files in the includes/modules/payment folder.

27 Jul 2006, 12:45 PM
#10
donnettacb avatar

donnettacb

New Zenner

Join Date:
Jul 2006
Posts:
23
Plugin Contributions:
0

Re: Override issue...don't understand

Ah, well that explains it! thanks!