I need really urgent support, Can anyone please help me How to place opencart slideshow in header??
Thanks
Steve
In your home.tpl file:
<?php echo $content_top;?>
<?php echo $header; ?>
Here's the code to my home.tpl file
<?php echo $header; ?><?php echo $content_top; ?>
<?php echo $column_left; ?><?php echo $column_right; ?>
<div id="content">
<h1 style="display: none;"><?php echo $heading_title; ?></h1>
<?php echo $content_bottom; ?></div>
<?php echo $footer; ?>
You can view my webiste on http://www.soundlouder.co.za
i would really really appreciate your help please
Car DVD Navigation, 2 din Navigation,Car Radio, In-dash Navigation, Car Audio and Rear View Camera Store - South Africa - http://www.soundlouder.co.za
- add the new position (header_bottom) to the selection in admin - module - template
Code: Select all
<?php if ($module['position'] == 'header_bottom') { ?>
<option value="header_bottom" selected="selected">Header bottom</option>
<?php } else { ?>
<option value="header_bottom">Header bottom</option>
<?php } ?>
Code: Select all
$this->load->model('setting/extension');
$extensions = $this->model_setting_extension->getExtensions('module');
foreach ($extensions as $extension) {
$modules = $this->config->get($extension['code'] . '_module');
if ($modules) {
foreach ($modules as $module) {
if ($module['position'] == 'header_bottom' && $module['status']) {
$module_data[] = array(
'code' => $extension['code'],
'setting' => $module,
'sort_order' => $module['sort_order']
);
}
}
}
}
$sort_order = array();
foreach ($module_data as $key => $value) {
$sort_order[$key] = $value['sort_order'];
}
array_multisort($sort_order, SORT_ASC, $module_data);
$this->data['modules'] = array();
foreach ($module_data as $module) {
$module = $this->getChild('module/' . $module['code'], $module['setting']);
if ($module) {
$this->data['modules'][] = $module;
}
}
Code: Select all
<?php foreach ($modules as $module) { ?>
<?php echo $module; ?>
<?php } ?>
I think i might have made a mistake with the first part that refers to admin - module - template. i am not sure where I need to add the code, I tried it on home.tpl that messed up my side. In my understanding thats the code that allows you to set active the file in the admin. Can I provide you with temporary access to my site so that you can do it for much
Thanks a lot for your time
Car DVD Navigation, 2 din Navigation,Car Radio, In-dash Navigation, Car Audio and Rear View Camera Store - South Africa - http://www.soundlouder.co.za
- Copy to vqmod/xml
- Edit Extensions - Modules _ Slideshow and add module to Position: Header bottom
- Result -> slideshow above menubar
Check height of #header in catalog/view/theme/YOUR_THEME/stylesheet/stylesheet.css !
On a side note the image has a transparent background but somehow when using opencart. it automatically adds a white background. I think this link will better indicate everything I want www.milion.com
Car DVD Navigation, 2 din Navigation,Car Radio, In-dash Navigation, Car Audio and Rear View Camera Store - South Africa - http://www.soundlouder.co.za
Car DVD Navigation, 2 din Navigation,Car Radio, In-dash Navigation, Car Audio and Rear View Camera Store - South Africa - http://www.soundlouder.co.za
Can you help me restore this
Car DVD Navigation, 2 din Navigation,Car Radio, In-dash Navigation, Car Audio and Rear View Camera Store - South Africa - http://www.soundlouder.co.za
Car DVD Navigation, 2 din Navigation,Car Radio, In-dash Navigation, Car Audio and Rear View Camera Store - South Africa - http://www.soundlouder.co.za
Sorry to re-open this thread. I hope you could help me with my issue with slideshow.pprmkr wrote:vQmod installed? Use attached SlideshowInHeader.xml
- Copy to vqmod/xml
- Edit Extensions - Modules _ Slideshow and add module to Position: Header bottom
- Result -> slideshow above menubar
Check height of #header in catalog/view/theme/YOUR_THEME/stylesheet/stylesheet.css !
I'm using the default slideshow in opencart ver2.2. However, I would like to use WOWSlider as well. So, basically, I want WOWSlider to be below my main menu and the then the Featured items and below that the default Slideshow.
I followed the steps to add these two slideshows to the home page, but now, only the WOWSlider one shows up. If I remove the WOWslider script the other one works. Could you please help me understand this?
Thanks in advance!
BeeBee
When the going gets weird, the weird turn Pro!!
Users browsing this forum: Bing [Bot] and 63 guests