Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / how does Zen cart know to use my template?

how does Zen cart know to use my template?

Locked

Views: 3,133

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
13 Jun 2009, 1:47 PM
#1
bchilli avatar

bchilli

New Zenner

Join Date:
Jun 2009
Posts:
22
Plugin Contributions:
0

how does Zen cart know to use my template?

im confused, I am changing files and adding them to my new directories but they dont change on my web page. what am I doing wrong?
My directories are similar to as follows:
old direcory:
/public_html/store/includes/languages/english

new template director: /public_html/store/includes/languages/Cherry_zen

13 Jun 2009, 1:58 PM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: how does Zen cart know to use my template?

To override a file in the /includes/languages/english/ folder you would put your changed copy in the /includes/languages/english/Cherry_zen/ folder. Make sure the folder capitalization is the same as what is in the downloaded files. If they are not capitalized, yours must not be capitalized either.

If you still have problems, post a link to your site so we can see for certain what you should be using.

13 Jun 2009, 2:32 PM
#4
bchilli avatar

bchilli

New Zenner

Join Date:
Jun 2009
Posts:
22
Plugin Contributions:
0

Re: how does Zen cart know to use my template?

yeah this is what I have, only the english.php file.

I have now made two file directories just checking if either worked:
/public_html/store/includes/languages/english/Cherry_zen and
/public_html/store/includes/languages/Cherry_zen and neither has worked

page is https://www.babychilli.com.au and im trying to change the lbs to kgs.

thanks for your help

13 Jun 2009, 2:44 PM
#5
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: how does Zen cart know to use my template?

Did you notice my question about capitalization? Your store is actually using
/includes/templates/cherry_zen/
so all template folders need to be named exactly like that:
/cherry_zen/
not
/Cherry_zen/

13 Jun 2009, 2:48 PM
#6
bchilli avatar

bchilli

New Zenner

Join Date:
Jun 2009
Posts:
22
Plugin Contributions:
0

Re: how does Zen cart know to use my template?

gjh42:

Did you notice my question about capitalization? Your store is actually using
/includes/templates/cherry_zen/
so all template folders need to be named exactly like that:
/cherry_zen/
not
/Cherry_zen/

ahh thanks for that, I thought it was Cherry_zen as thats what the file downloaded as
I will change it now and see if it makes a difference

by the way, how did you know that?

**Yeah!! just checked and it worked!! thanks a bunch :) **

13 Jun 2009, 7:07 PM
#7
merlinpa1969 avatar

merlinpa1969

Totally Zenned

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

Re: how does Zen cart know to use my template?

by the way, how did you know that?
open the page in your browser and do a view source,
it shows you the template name in the top