Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Override an Admin file?

Override an Admin file?

Locked

Views: 2,792

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
2 Oct 2008, 6:47 PM
#1
eflat avatar

eflat

New Zenner

Join Date:
Aug 2008
Posts:
33
Plugin Contributions:
0

Override an Admin file?

I'm making a small change to admin/packingslip.php -- is there a way to override that file, or do I just make the change directly (and hope I remember what I changed when I upgrade)?

2 Oct 2008, 7:10 PM
#2
steven300 avatar

steven300

Totally Zenned

Join Date:
Jan 2008
Posts:
1,564
Plugin Contributions:
1

Re: Override an Admin file?

At this time, there is no override system for admin files.

2 Oct 2008, 8:43 PM
#3
eflat avatar

eflat

New Zenner

Join Date:
Aug 2008
Posts:
33
Plugin Contributions:
0

Re: Override an Admin file?

Ok, I think I'll keep a log of my customizations...

2 Oct 2008, 8:54 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Override an Admin file?

When you upgrade, simply use a merge tool like WinMerge to very quickly identify all your customizations. You can use that information to rebuild or adapt any of your customizations into the newer version you're upgrading to.

9 Oct 2008, 2:35 PM
#5
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Override an Admin file?

When I override something that's not part of the override system, I create the custom folder and store a copy of the changed file in it anyway. It won't be used by Zen Cart, but it won't be overwritten by future upgrades/updates, so I can always use it to make the same changes in the newer version of the file (which I'll then use to replace the old file in my "custom" folder).