I tried this thing in a separate new opencart 2.0.1.1 installation it work well there, but not in existing project, I tried uninstalling all extensions and removing all other xml files, changing vqmod to 2.5.1 but no output.
Below is code snippet. file saved as "order_modification_admin.xml" This is done on localhost. How could I solve this, Please Help. Thanks
<modification>
<id>Order Modification for Admin Area</id>
<version>2.0.1.1</version>
<vqmver>2.4.1</vqmver>
<author>Me</author>
<!--Email menu header starts-->
<file name="admin/controller/common/headers.php">
<operation error="log">
<search position="after"><![CDATA[$data['title']]]></search>
<add><![CDATA[
/**Order modification starts*/
die('here');
/**Order modification ends*/
]]></add>
</operation>
</file>
<!--Config setting Ends-->
</modification>