Using vQmod with changes to common.js
Posted: Tue Jun 11, 2013 7:58 pm
Have recently decided to rebuild my store from scratch using vQmod.
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...
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
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