I originally posted this question on the dutch forum and I thought I had the answer. I tried to change a css file with vqmod but overlooked the fact that that is not possible. The work-around that I found was the following:
create a copy of the stylesheet, edit this one and let vqmod change the header.tpl to link to the copied cdd instead of the original one. I was happy with this solution but, unfortunately, it does not work either.
Apparantly, i am overlooking something.
It is OpenCart 1.5.6.4, almost a clean install. I intalled VQmod, OMFlite (but for this I changed the template in admin to "default") and also made some other minor changes with admin. That's it.
just to test things, I copied the stylesheet within the default template to a stylesheetanjo.css and that one contains my change (a sinple change, just to test it).
then I wrote the following script:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<modification>
<id>vervang stylesheet.css door eigen css</id>
<version>1.0</version>
<vqmver>2.X</vqmver>
<author>Anjo</author>
<file name="catalog/view/theme/default/template/common/header.tpl">
<operation info="vervang stylesheet.css door eigen css">
<search position="replace"><![CDATA[
<link rel="stylesheet" type="text/css" href="catalog/view/theme/default/stylesheet/stylesheet.css" />
]]></search>
<add><![CDATA[
<link rel="stylesheet" type="text/css" href="catalog/view/theme/default/stylesheet/stylesheetanjo.css" />
]]></add>
</operation>
</file>
</modification>
thanks, Anjo