Forums / Templates, Stylesheets, Page Layout / How ti use the override to change the template?

How ti use the override to change the template?

Views: 717

Results 1 to 4 of 4
31 Dec 2010, 10:14 AM
#1
cerisebleue avatar

cerisebleue

New Zenner

Join Date:
Dec 2010
Posts:
2
Plugin Contributions:
0

How ti use the override to change the template?

HI,

I just installed Zen cart and then proceeded to creating a new template following the steps here https://www.zen-cart.com/tutorials/index.php?article=142

I then wanted to change the logo so followed those instructions https://www.zen-cart.com/tutorials/index.php?article=125, I then changed the CSS file and all seemed to work fine. At that point I looked at the thread regarding overrides
https://www.zen-cart.com/tutorials/index.php?article=36

and thought it would be best to start again, restore the original files and this time creating custom folders. I have now changed the header file in the new folder includes/languages/custom/header.php to change the logo and header text as I had previously done in includes/languages/english/header.php but this time nothing happens. I have checked that the template I selected is indeed the custom one and it is. I am sure this should be obvious but I can´t seem to work out what I did wrong!

31 Dec 2010, 1:31 PM
#2
keneso avatar

keneso

Totally Zenned

Join Date:
May 2009
Posts:
1,273
Plugin Contributions:
3

Re: How ti use the override to change the template?

cerisebleue:

HI,

I have now changed the header file in the new folder includes/languages/custom/header.php to change the logo and header text as I had previously done in includes/languages/english/header.php but this time nothing happens.

includes/languages/custom/header.php
is not the same as
includes/languages/english/CUSTOM/header.php

You have to put the header.php file in the CUSTOM folder in the English folder.

2 Jan 2011, 10:47 AM
#3
cerisebleue avatar

cerisebleue

New Zenner

Join Date:
Dec 2010
Posts:
2
Plugin Contributions:
0

Re: How ti use the override to change the template?

Thanks! I knew there had to be something obvious but the tutorial wasn´t clear. All works fine now though...