Start with a "fresh" download of ZC extracted on your computer.
Try from THAT rewriting the following files to your server:
/includes/languages/english.php
/includes/languages/english/meta_tags.php
I would suggest deleting them totally off your server before replacing them.
And stay with the "classic" template while doing this. Try to get the classic template "debugged" first before backtracking to fix your custom template.
HTH,
Lesli in SW Florida ~ writer, teacher, and dodging hurricanes!
And are there any other files you might have overwritten in the process? Replace them from your "fresh" download and see if that helps.
Lesli in SW Florida ~ writer, teacher, and dodging hurricanes!
perfect!! i had copy on computer so i deleted the english.php and meta_tags.php from host then uploaded them from computer...thanks a bunch
so do i understand that there is and should only be 1 english.php file? and it has to be in includes/language? if i want to overwrite soething in it i can rewrite and save to custom folder?
and do all items come from language/english/meta_tags and not language?/custom/meta_tags?
The master language file exists like this:
/includes/languages/LANGUAGE_NAME.php
or
/includes/languages/TEMPLATE_NAME/LANGUAGE_NAME.php
There is only ever *one* file in that folder ... ie: english.php
All others are ignored.
The page-specific language files exist like this:
/includes/languages/LANGUAGE_NAME/page_name.php
or
/includes/languages/LANGUAGE_NAME/TEMPLATE_NAME/page_name.php
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
NP. Glad I could help!
The template override system can get confusing. The "default" file is:
includes/languages/english.php
To modify it, create: includes/languages/CUSTOM/english.php (CUSTOM being what you've named your "new" template that you're creating.)
BUT...
There's also an: includes/languages/english/CUSTOM/ folder. That's where a lot of your other files will go that you modify, like for the shopping cart message (make sure you change that if you haven't already), etc.
As DrByte, said if you use another language, it would be different but only because you're using a different language.
The rule of thumb is, you need to look through all the folders in the includes directory. Wherever you see a "classic" folder, you can make a folder for your CUSTOM template (whatever name you give it). Make sure when naming folders, you name them all the same. Don't change spelling or case or add hyphens, etc. If you start out with a template folder name of mynewtemplate, all the folders you create must have that same folder name or the ZC can't find them.
HTH,
Lesli in SW Florida ~ writer, teacher, and dodging hurricanes!