Override package files (in directories other than /block/)
Permalink
So I purchased an addon that contains a /models/ directory within the package with several overrides in it (field.php, form.php, etc). I need to make some tweaks to the field.php specific to the addon but I don't want to lose my changes next time I upgrade the package.
If I place the field.php in the root /models/ folder I believe that will override the packages version, but I don't want to do that because I don't want the file used site wide. Am I missing something here, or is there another way to override package files othere than those in the /block/ folder?
If I place the field.php in the root /models/ folder I believe that will override the packages version, but I don't want to do that because I don't want the file used site wide. Am I missing something here, or is there another way to override package files othere than those in the /block/ folder?
So far i haven't found any discussion covering that subject. Maybe the answer is simply "no, doesn't work", but even to know that would be helpful.
Michael