title: Using "Offset correctly in Opencart with VQMod
body: <p>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.</p>
  
  <p>I think the "offset" amount is wrong. can anyone help?</p>
  
  <pre><code>&lt;modification&gt;
  
  &lt;id&gt;Change Tabs&lt;/id&gt;
  &lt;version&gt;1.0&lt;/version&gt;
  &lt;vqmver&gt;2.4.1&lt;/vqmver&gt;
  &lt;author&gt;James B&lt;/author&gt;
  
  &lt;file name="catalog/view/theme/*/template/product/product.tpl"&gt;
      &lt;operation error="log"&gt;
          &lt;search position="replace" offset="5"&gt;&lt;![CDATA[
          &lt;?php if ($pd_show_tab) { ?&gt;
  &lt;a href="#tab-download"&gt;&lt;?php echo $tab_download; ?&gt;&lt;/a&gt;
  &lt;?php } ?&gt;
  
  &lt;?php if ($youtube_code) { ?&gt;
  &lt;a href="#tab-youtube"&gt;&lt;?php echo $tab_youtube; ?&gt;&lt;/a&gt;
  &lt;?php }?&gt;
          ]]&gt;&lt;/search&gt;
          &lt;add&gt;&lt;![CDATA[
          &lt;?php if ($youtube_code) { ?&gt;
  &lt;a href="#tab-youtube"&gt;&lt;?php echo $tab_youtube; ?&gt;&lt;/a&gt;
  &lt;?php }?&gt;
  
          &lt;?php if ($pd_show_tab) { ?&gt;
  &lt;a href="#tab-download"&gt;&lt;?php echo $tab_download; ?&gt;&lt;/a&gt;
  &lt;?php } ?&gt;
          ]]&gt;&lt;/add&gt;
      &lt;/operation&gt;
  
  &lt;/file&gt;
  </code></pre>
  
  <p></p>