Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Overrides not working on Windows XP?

Overrides not working on Windows XP?

Locked

Views: 2,956

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
18 Oct 2006, 10:03 AM
#1
bearaman avatar

bearaman

New Zenner

Join Date:
Jun 2006
Posts:
57
Plugin Contributions:
0

Overrides not working on Windows XP?

Hi All,
I'm using my windows xp professional computer to test zen-cart 1.3.5 before going live. I'm using EasyPHP as my php/apache package. I installed a fresh install with the demo store, successfully added my custom template and it's all working fine. However, I tried to override the following file but it doesn't work:

includes/languages/my_custom_template_33/english.php overrides
includes/languages/english.php

I've flushed the cache, restarted the browser but nothing seems to work. I notice this is also not working for other override files I added.

Any ideas what I'm doing wrong?
Thanks everyone,
Bearaman

18 Oct 2006, 3:58 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Overrides not working on Windows XP?

Check in the admin > tools > template selection > to insure that the "custom" template that you are creating is the active one.

You might need to edit the "custom" template_info.php file to name the template if you have not done so.

19 Oct 2006, 8:21 AM
#3
bearaman avatar

bearaman

New Zenner

Join Date:
Jun 2006
Posts:
57
Plugin Contributions:
0

Re: Overrides not working on Windows XP?

Hi Kobra,
Thanks for your reply. I'm pretty sure I've got the custom template working properly. I see all the custom template icons, colors and settings which are totally different from classic. I understand the override system so it's a mystery as to why my other files aren't being overriden.
Having searched the forum, I saw some posts about similar issues on Windows. Could windows be the problem? Could it be permissions?
My custom template is called my_custom_template_33.
Thanks for your help.
Bearaman

19 Oct 2006, 9:24 AM
#4
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Overrides not working on Windows XP?

Hi Bearaman

These are frustrating problems aren't they? I must have helped on a couple of dozen of these over the past few months, but have yet to see one caused by a Windows or environment problem (and have a about 30 test environments running on a Windows XP platform myself).

Normally I can have a wander around the file structure on an errant site proding and poking and looking for anything odd, but that's obviously not the case here. However, if you're still having problems and are game, we can take this step-by-step.

Step 1: if you run your Zen Cart so that the home page is in your browser window, and then View > (Page) Source what is the path name to the stylesheet(s) being used (about 16-20 lines down)?

20 Oct 2006, 11:47 AM
#5
bearaman avatar

bearaman

New Zenner

Join Date:
Jun 2006
Posts:
57
Plugin Contributions:
0

Re: Overrides not working on Windows XP?

Hi Kuroi,
My apologies, I've found the problem. A beginner's mistake. My template was installed correctly as zc_custom_template but I was trying to override it using folder called zc_custom_templat. That missing e at the end made the world of difference :-) It's working perfectly now. Thanks for giving your time and attention to this.
Bearaman

6 Nov 2006, 4:18 AM
#6
chiselbit avatar

chiselbit

New Zenner

Join Date:
Sep 2006
Location:
Oregon
Posts:
9
Plugin Contributions:
0

Re: Overrides not working on Windows XP?

I'm having a simialar problem with v1.3.6 on XP Pro w/ Localhost o/s is Xampp.
The OverRide worked fine on V1.3.5. I did a remove 1.3.5 and did a Full install w/V1.3.6, then re-created CUSTOM FOLDERS and I went to admin > tools > template selection > to insure that the "custom" template that I created was there. But No luck, it was the classic filders...
I double checked the permissions on the folders as Admin, then loged on as Administerators group. Still no custom templates...
Any Ideas that I have overlooked?

thank U...
Doug

6 Nov 2006, 4:24 AM
#7
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,611
Plugin Contributions:
0

Re: Overrides not working on Windows XP?

The template info file?

6 Nov 2006, 5:12 AM
#8
chiselbit avatar

chiselbit

New Zenner

Join Date:
Sep 2006
Location:
Oregon
Posts:
9
Plugin Contributions:
0

Re: Overrides not working on Windows XP?

Kim,
Thank U very much ... I did look at "How do I create a new Custom Template", I tried it, but I did not upload it to my test Site, Why U asked, LOL, I don't know why either ... just old Age.
Thank U, I have it worrking like a Dream.
Thanks again...
Doug

9 Nov 2006, 8:04 PM
#9
jgamio avatar

jgamio

Zen Follower

Join Date:
Nov 2006
Location:
Caracas
Posts:
114
Plugin Contributions:
0

Re: Overrides not working on Windows XP?

Hi my problems is:

I make my custom_template and everything is ok BUT

I want to override the languages/english/meta_tags.php

I use this two files

languages/english/custom_template/meta_tags.php
and
languages/custom_template/meta_tags.php

to chage

define('TITLE', 'Zen Cart!');

with

define('TITLE', 'My Store');

but don´t work mi question is

  1. Which one Should I use?
  2. Why dont work?
9 Nov 2006, 8:37 PM
#10
jgamio avatar

jgamio

Zen Follower

Join Date:
Nov 2006
Location:
Caracas
Posts:
114
Plugin Contributions:
0

Re: Overrides not working on Windows XP?

:blink: ok the problem was the meta_tags.php file had a bad name