I'm having some trouble with my custom vqmod xml and I'm not even sure why it doesn't work.
I'm basically trying to replace a line in a tpl file with a different line.
This is my mod:
Code: Select all
<modification>
<id><![CDATA[header mod]]></id>
<version><![CDATA[1.0]]></version>
<vqmver><![CDATA[2.3.0]]></vqmver>
<author><![CDATA[nicexe]]></author>
<file name="catalog/view/theme/basel/template/common/headers/header2.tpl">
<operation>
<search position="replace" error="log"><![CDATA[ <div class="dropdown-wrapper-click from-top hidden-sx hidden-sm hidden-xs">]]></search>
<add><![CDATA[ <div class="dropdown-wrapper-click from-top hidden-sx hidden-xs">]]></add>
</operation>
</file>
</modification>
I checked the logs and I see no error related to my mod or the file it messes with.
I also checked the vqmod cache and the modified file is missing so that tells me that my mod never took place.
What am I doing wrong?