Zen Cart Logo
Forums / General Questions / Override file for admin english.php

Override file for admin english.php

Locked

Views: 495

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
25 Jun 2010, 9:16 AM
#1
shalesey avatar

shalesey

New Zenner

Join Date:
Feb 2010
Posts:
58
Plugin Contributions:
0

Override file for admin english.php

Ok I may quite possibly being very silly here.

But I spent all morning banging my head on my desk using override "/catalog/admin/includes/languages/<MY_TEMPLATE>/english.php". Where "MY_TEMPLATE" and "admin" are my template and new admin name.

However the changes would not work. The only way I could get it to work was to over write "/catalog/admin/includes/languages/english.php" with my new file.

Does this mean there is no override for changes made to the admin english.php file or am I just getting it wrong?

:blink:

25 Jun 2010, 9:28 AM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Override file for admin english.php

There is no override feature in the admin area.

25 Jun 2010, 9:30 AM
#3
shalesey avatar

shalesey

New Zenner

Join Date:
Feb 2010
Posts:
58
Plugin Contributions:
0

Re: Override file for admin english.php

So when upgrading my version of zen cart how do I ensure I get the updates but keep the changes I made? :blink:

25 Jun 2010, 11:22 AM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Override file for admin english.php

You have to save copies of the admin files you've changed and re-upload them after an upgrade.

Many Zenners do the same with non-admin files, overridden or not. I save them in a directory 'tree' on my local computer for each Zencart site.