I cannot get the ocmod extension working.... I found the only documentation file on ocmod extension here, and I think that I followed the rules, but still i cannot reach the desired effect... the variable from the store.php file is not visible for the other tpl file (main.tpl)
So I want to add a template file to show the variable from the Store module. the template file is located at /catalog/view/theme/journal2/template/journal2/menu/main.tpl
My code is:
<?xml version="1.0" encoding="utf-8"?>
<modification>
<name>Store Allstores Modification</name>
<code>AC_Store_Allstores</code>
<version>1.0</version>
<author>AC</author>
<link></link>
<file path="catalog/controller/module/store.php">
<operation>
<search><![CDATA[
return $this->load->view($this->config->get('config_template') . '/template/module/store.tpl', $data);
]]></search>
<add position="After"><![CDATA[
$this->load->view($this->config->get('config_template') . '/template/journal2/menu/main.tpl', $data);
]]></add>
</operation>
</file>
</modification>
Could anyone point to what I'm doing wrong here?