There's a classic folder in there so I tried creating a /my_template/ override, but it doesn't seem to work. Is it supposed to?
There's a classic folder in there so I tried creating a /my_template/ override, but it doesn't seem to work. Is it supposed to?
This pattern should work:
/includes/languages/english/modules/shipping/silvercity/rates.php
where silvercity is your active/selected template name
and rates.php is the name of the shipping module file you're trying to override
Last edited by Ajeh; 17 Aug 2006 at 09:35 PM. Reason: fix path to include specific language directory
.
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.
Thanks Doc. Tried that and it still isn't working.Originally Posted by DrByte
Similar pathnames can get a bit confusing so I'm wondering if I'm doing something really stupid here? Just to be sure I started again with a copy of flat.php, put copies in the following folders and put the path in one of the defines so I could see in admin which file was being used.
None of the following worked for me:
/includes/languages/modules/shipping/silvercity/flat.php
/includes/languages/english/modules/shipping/silvercity/flat.php
I even tried:
/includes/languages/english/silvercity/modules/shipping/flat.php
But the only one I can get to show is the base file in:
/includes/languages/english/modules/shipping/flat.php
is your site set to the "silvercity" template ?
Works fine for me on a fresh install... as long as the proper template is selected
.
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.
Certainly is. I've been working on the stylesheet so I know that area of the templating system is working OK. I've even tried copying and pasting the directory name again just in case there was any confusion with the exact name, but it's still not happening for me.Originally Posted by DrByte
Apart from the template, mine's fresh too. Oh well. Nothing to do but forget about it and hope something pops up later. Thanks for the help anyway.Originally Posted by DrByte
Have you an URL to your site? I cannot reproduce this issue and maybe seeing your site will spark a bell ...
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: v1.5.5]
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!
Thanks for the offer Linda but I'm running on localhost at the moment 'till we've got some of the other more crucial issues resolved. This one's curious (aren't they all ) but I can easily work round it by editing the core file. Just wanted to keep to the rigours of the template system is all.Originally Posted by Ajeh
Basic(stupid) question...
Do you have a folder at /includes/templates/silvercity/ ??
And the edited template_info.php file in that folder?
Zen-Venom Get Bitten
Not at all. It's a stupid problem, so anything that jogs the grey-cells out of whatever tramline they're currently on is much appreciatedOriginally Posted by kobra
Certainly do. That's where I've been editing the stylesheet.Originally Posted by kobra
Could I resist the opportunity to put my name on the template?Originally Posted by kobra
Check that if you view source and see your stylesheets coming from:
includes/templates/silvercity
That you are spelling silvercity exactly that way in the
/includes/languages/english/modules/shipping/silvercity
Meaning if you see
includes/templates/SilverCity
You should be using:
/includes/languages/english/modules/shipping/SilverCity
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: v1.5.5]
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!
Bookmarks