Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Where do I overide this file?

Where do I overide this file?

Locked

Views: 1,499

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
1 Jun 2008, 2:30 PM
#1
andre avatar

andre

New Zenner

Join Date:
Sep 2004
Posts:
12
Plugin Contributions:
0

Where do I overide this file?

I want to show this file in a different language.
Where do I overide it?

includes/templates/template_default/templates/tpl_product_info_display.php

Thanx

Andre

1 Jun 2008, 3:10 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Where do I overide this file?

You would put the edited file in:

includes/templates/YOUR_TEMPLATE/templates/tpl_product_info_display.php

1 Jun 2008, 5:16 PM
#3
andre avatar

andre

New Zenner

Join Date:
Sep 2004
Posts:
12
Plugin Contributions:
0

Re: Where do I overide this file?

I tried that but it doesnt seem to work?

1 Jun 2008, 5:27 PM
#4
steven300 avatar

steven300

Totally Zenned

Join Date:
Jan 2008
Posts:
1,564
Plugin Contributions:
1

Re: Where do I overide this file?

Did you change YOUR_TEMPLATE to match the name of the template system you're using?

Are all your other overrides working as expected?

Maybe the change in code you made is at fault?

A link to your site?

1 Jun 2008, 7:37 PM
#5
andre avatar

andre

New Zenner

Join Date:
Sep 2004
Posts:
12
Plugin Contributions:
0

Re: Where do I overide this file?

Q. Did you change YOUR_TEMPLATE to match the name of the template system you're using?

A.Yes I did

Q. Are all your other overrides working as expected?

A. No further overides yet .Just started a fresh install of 1.3.8a

Q. Maybe the change in code you made is at fault?
A. No code change. I just translated 2 words from english to dutch

Thank you for your reply!!
Nice!! your site with the image rollovers

1 Jun 2008, 8:01 PM
#7
andre avatar

andre

New Zenner

Join Date:
Sep 2004
Posts:
12
Plugin Contributions:
0

Re: Where do I overide this file?

Yes I think I did :-(

this is the original path:
includes/templates/template_default/templates/tpl_product_info_display.php

and this should be the overide path:
/includes/templates/dutch/templates/tpl_product_info_display.php

1 Jun 2008, 8:24 PM
#8
steven300 avatar

steven300

Totally Zenned

Join Date:
Jan 2008
Posts:
1,564
Plugin Contributions:
1

Re: Where do I overide this file?

andre:

and this should be the overide path:
/includes/templates/dutch/templates/tpl_product_info_display.php

Yes that's right, providing that "dutch" is the name of your custom template.

Can you go to admin>tools>template selection and confirm this.

1 Jun 2008, 8:32 PM
#9
andre avatar

andre

New Zenner

Join Date:
Sep 2004
Posts:
12
Plugin Contributions:
0

Re: Where do I overide this file?

YES!!! There was the fault into the template_info.php .

There it was called: dutch template

THANK YOU VERY MUCH!!

1 Jun 2008, 8:34 PM
#10
steven300 avatar

steven300

Totally Zenned

Join Date:
Jan 2008
Posts:
1,564
Plugin Contributions:
1

Re: Where do I overide this file?

Glad to help