Its ok fixed, I hadn't uploaded the folder, thanks
Its ok fixed, I hadn't uploaded the folder, thanks
Last edited by Pauls; 15 Jun 2006 at 10:05 PM.
Dontcha hate when it does what you say and not what you mean ...![]()
Thanks for the update ...![]()
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
I'm trying to set up my first ZenCart, barely treading water. I hope my method of posting is proper here.
This thread and the one on changing page titles were very good at helping me find the right files to change.
However, I changed includes/languages/english/meta_tags.php and got the result I wanted. I saved that file into my includes/languages/sue/ folder and uploaded that into the includes/languages directory with some slight changes to the file. Those changes do not show up on the site.
It seems I'm missing something, but I don't know what. Have I misinterpreted something?
Maybe I'm getting confused between having a "sue" template folder. Do I not need the extra folder in the /languages directory?
Thank you.
Sue
I am not very clear on what your problem is Sue, but it does sound like an 'overrides' issue. From your question if I understand your explanation correctly then yes your folder structure should be the same on both your FTP site, and your local site. Indeed that was my problem, and was what I had overlooked.
As a general rule of thumb, I find it useful to know that if a particular file needs modifying I will look in the folder where it originally comes from and if I see a folder named 'classic' in that same place, then i know I should create my own overrides folder there, (in your case a folder called sue) and copy the file into my newly created folder.
Good luck with your cart :)
Hi SueOriginally Posted by sue4ster
Your version of the meta_tags file should be includes/languages/english/sue/meta_tags.php
Kuroi Web Design and Development | Twitter
(Questions answered in the forum only - so that any forum member can benefit - not by personal message)
Ahah, I was wondering why my overrides weren't working there. The 'classic' folder should really be removed from that directory as it gives a false impression. I've fallen for that twice now.Originally Posted by kuroi
I think that the reason people take a long time to get the overrides system is because there are two structurally different override systems in operation. So just when you think you've got it, it seems to not work when you try to use it somewhere else. Specifically, language and module overrides operate in the same way as each other, and using the same principle but a different file structure to template overrides.
Template overrides operate in parallel with template_default. By this I mean that (for example)
includes/templates/template_default/customer/tpl_header.phpcan be overridden byincludes/templates/YOUR_TEMPLATE/customer/tpl_header.phpLanguage and module overrides however, operate hierarchically. For example to overrideincludes/languages/english/meta_tags.phpyou would go to the files location and create a directory with the same name the directory in which your template_info file is located in templates and then place your override file in the new directory, i.e.includes/languages/english/YOUR_TEMPLATE/meta_tags.php
What this means is that the directory to which I think you are referring (languages/classic) is appropriate, but the only files you would put in there (assuming for some unfathomable reason you are actually using the "Classic Template") are your english.php, french.php, german.php, spanish.php, japanses.php, etc. Other language files would be sitting lower in the hierarchy such as languages/english/classic/header.php.
I do however agree with your point about removing the directory, though I would do so in the wider context of removing the whole template (and I know of one web host who offers an installation service who has done exactly that). I'm personally finding that upgrading sites from 1.2 to 1.3 is easiest and most effectively done by upgrading the database but rebuilding the design using the template_default rendering Classic irrelevant. Hopefully the Dev Team will strip it out of the next version Zen Cart and make it available as a download for those preferring more traditional approaches.
Kuroi Web Design and Development | Twitter
(Questions answered in the forum only - so that any forum member can benefit - not by personal message)
I'm having the same trouble but none of the solutions in this thread work for me.
My structure appears to be correct. Here's a screen shot to avoid any confusion:
http://www.binkwaffle.com/english_php.jpg
I can't see what I'm doing wrong but there's got to be something wrong. the only override that's not working is english.php. meta_tags.php and the others are working but not english. I've edited the copyright info and Categories title but neither change shows up. However, if I edit the original english.php the changes do show up.
Weird.
The language.php file (e.g. english.php) should be one level up from the other language files for that language. So in your case the file path should be includes/languages/custom_fz/english.php.
Kuroi Web Design and Development | Twitter
(Questions answered in the forum only - so that any forum member can benefit - not by personal message)