Thanks again!
Thanks again!
Hi Kathy,
I'll try to make this a little easier for you to understand...
In this thread https://www.zen-cart.com/tutorials/i...hp?article=127
It says:
It appears that where you are getting stuck is that you are using the classic template, but the instructions tell you to save this file to the "custom" folder...To change the “Sales Message Goes Here” or “Tagline Here” text to say what you want open the includes/languages/english/header.php file in your text editor. Find the following line of code:
define('HEADER_SALES_TEXT', 'Tagline Here');
Replace the tagline text with your own text, making sure that the single quote marks are not left out.
Save the edited file to includes/languages/english/custom/header.php and upload it to your server.
What this really means is that you should create a new "custom" directory called "whatever you want to name your template" at the same level as the classic directory, such as:
includes/languages/english/mycustomtemplate (or whatever you want to name your template)
To continue, if you followed the instructions in green above and you have named your new template as described above you would save the header.php file to the following directory:
includes/languages/english/mycustomtemplate/header.php
That just covers changing the language files though but there is more work required... You'll need to create a custom template and then set that template as the one you want to use in the Admin panel. You'll want to do this so any mods and changes you make to your cart won't be over written when you upgrade in the future.
This article explains how to set up a new (custom) template: https://www.zen-cart.com/tutorials/i...hp?article=142 It's actually quite easy, just take your time and check everything twice.
After doing the above any mods you install or changes you make that can use the override system would go into the relevant mycustomtemplate directory. (contribution mods "usually" go into includes/templates/mycustomtemplate)
IMPORTANT NOTE: In most of the mods contributors use and refer to the directory "YOUR_TEMPLATE", you will want to rename all of the "YOUR_TEMPLATE" directories in each mod you use to "mycustomtemplate" (or whatever) BEFORE you upload them to your server... Failing to do this creates a mess, always read the readme file before installing a mod!
This article by DrByte explains how to set up template overrides nicely, https://www.zen-cart.com/tutorials/index.php?article=36 It's a bit long and slightly complex but if you take your time and ask questions along the way you will learn a lot in a hurry.
If you read those two articles you should be well on your way!
I hope this helps.
Gary777
I am having the same problem, but I have followed the instructions. Also, I had it correct on my test server. I have even uploaded the file to overwrite the existing file. It just doesn't work. Any ideas?