Please some one tell me how can I position modules like slider or banner in header or how can we define additional regions for the modules.
You can also use an extension that places 2 positions in header and footer. It create the same hooks, like column_left
and content_top
, etc.
it works with VQmod for opencart 1.5x
I read all of your answer. Forget all things. It's very easy to call any module into header section.
Open your catalog/controller/common/header.php
file
$this->data['YOUR_MODULE_NAME'] = $this->getChild('module/YOUR_MODULE_NAME');
Now Open .tpl
file of header, which is located at
catalog/view/theme/YOUR_THEME/template/common/header.tpl
and echo your desire module whenever you want, like as:
<?php echo $YOUR_MODULE_NAME;?>
That's it. you are done.