I installed OpenCart 2.0.1.1 and everything has been going great. I wanted to see what would happen if I uninstalled the following modules:
banners
carousel
slideshow
then I reinstalled them all.
How do I get the images to show on the home page again?
In this Opencart version modules configuration has changeg a lot.
To make modules working again without throwing errors:
1.- Search database table settings for key field module name you are fixing. And disable it, by editing the row yourmodule_status and change its value field to 0.
2.- Configure again your module.
Slideshow module has got a big bug in version 2.0.1.1.
What you should do is overwrite:
catalog/view/theme/default/template/module/slideshow.tpl
With its new code:
Regards,
Daniel
To make modules working again without throwing errors:
1.- Search database table settings for key field module name you are fixing. And disable it, by editing the row yourmodule_status and change its value field to 0.
2.- Configure again your module.
Slideshow module has got a big bug in version 2.0.1.1.
What you should do is overwrite:
catalog/view/theme/default/template/module/slideshow.tpl
With its new code:
Code: Select all
<div id="slideshow<?php echo $module; ?>" class="owl-carousel" style="opacity: 1;">
<?php foreach ($banners as $banner) { ?>
<div class="item">
<?php if ($banner['link']) { ?>
<a href="<?php echo $banner['link']; ?>"><img src="<?php echo $banner['image']; ?>" alt="<?php echo $banner['title']; ?>" class="img-responsive" /></a>
<?php } else { ?>
<img src="<?php echo $banner['image']; ?>" alt="<?php echo $banner['title']; ?>" class="img-responsive" />
<?php } ?>
</div>
<?php } ?>
</div>
<script type="text/javascript"><!--
$('#slideshow<?php echo $module; ?>').owlCarousel({
items: 6,
autoPlay: 3000,
singleItem: true,
navigation: true,
navigationText: ['<i class="fa fa-chevron-left fa-5x"></i>', '<i class="fa fa-chevron-right fa-5x"></i>'],
pagination: true
});
--></script>
Daniel
Who is online
Users browsing this forum: No registered users and 5 guests