Post by Matty » 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...

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

New member

Posts

Joined
Fri Feb 05, 2010 5:56 pm

Post by Johnathan » Tue Jun 11, 2013 11:03 pm

You need to do it the same way, by changing the .js file that is loaded. I don't know of any way around this, which means you will have to check for common.js changes in future versions.

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am

Who is online

Users browsing this forum: Majestic-12 [Bot] and 67 guests