0

just getting used to using VQMod.

What is wrong here? It isn't updating on the front-end.

<?xml version="1.0" encoding="UTF-8"?>
<modification>
    <id>VQMOD CORE FOR OPENCART - DO NOT REMOVE</id>
    <version>1.4.x and above</version>
    <vqmver required="true">2.5.0</vqmver>
    <author>vqmod.com</author>
   <file name="admin/view/template/common/footer.tpl">
       <operation info="Example of the vQmod">
           <search position="replace"><![CDATA[
           <?php echo $affiliate; ?>
           ]]></search>
           <add><![CDATA[
           I am replaced content!!
           ]]></add>
       </operation>
   </file>
</modification>

Cheers!

Joe Consterdine
  • 1,035
  • 1
  • 18
  • 37

2 Answers2

2

Actually you are trying to change the "backend" but with no luck!

I think you should read:

kanenas
  • 869
  • 1
  • 20
  • 37
0

The problem is the following, in this file footer.tpl

admin/view/template/common/footer.tpl

This is the content:

</div>
<div id="footer"><?php echo $text_footer; ?></div>
</body></html>

And your script want to find this "echo $affiliate;" but this content don't exist in this file.

I don't know what file you want to use, but this file don't has this content admin/view/template/common/footer.tpl

Regards, Miguel

ber2008
  • 323
  • 3
  • 10