I am trying to search and replace some code I have got from VQCache. When I search in my code editor it finds it, but it throwing an error in the browser.
I think the "offset" amount is wrong. can anyone help?
<modification>
<id>Change Tabs</id>
<version>1.0</version>
<vqmver>2.4.1</vqmver>
<author>James B</author>
<file name="catalog/view/theme/*/template/product/product.tpl">
<operation error="log">
<search position="replace" offset="5"><![CDATA[
<?php if ($pd_show_tab) { ?>
<a href="#tab-download"><?php echo $tab_download; ?></a>
<?php } ?>
<?php if ($youtube_code) { ?>
<a href="#tab-youtube"><?php echo $tab_youtube; ?></a>
<?php }?>
]]></search>
<add><![CDATA[
<?php if ($youtube_code) { ?>
<a href="#tab-youtube"><?php echo $tab_youtube; ?></a>
<?php }?>
<?php if ($pd_show_tab) { ?>
<a href="#tab-download"><?php echo $tab_download; ?></a>
<?php } ?>
]]></add>
</operation>
</file>