I have a few extensions which require changes to core files stylesheet.css and common.js
Changes to stylesheet.css can easily be managed using a script like this...
Code: Select all
<operation info="Add stylesheet changes">
<search position="before"><![CDATA[
</head>
]]></search>
<add><![CDATA[
<link rel="stylesheet" type="text/css" href="catalog/view/theme/default/stylesheet/vqmod.css" />
]]></add>
</operation>
But what about changes to common.js? Are there any tricks or methods to implement changes without modifying the core file?
If not, what happens when it comes to upgrading? Will I have to rebuild the common.js file (with changes required by extensions) for each upgrade?
Thanks
Matt