Post by potzki » Tue Oct 23, 2012 8:19 am

Hello,

I have been setting up an opencart site and everything has been working well. But just recently the slideshow, featured, specials and a modual I downloaded that shows related products have all stopped working. They worked fine up until just recently.

I changed some of the CSS but only to change fonts, colors and the geight of the main menu. To make sure that I didn't mess something up in the CSS that may be causing the trouble, I uploaded the template files again to get it back to original (template name - 9responsive_154x) and it hasn't fixed the problem.

Can anyone help please. I have put far too much work into this to have to start from scratch again!

Thanks

Newbie

Posts

Joined
Tue Oct 23, 2012 8:11 am

Post by potzki » Thu Oct 25, 2012 9:04 pm

I am not sure where to find the file with the div's in it.

Also, when I add the slideshow to my categories page it shows up fine. The same applies for my featured and specials, but none of these will show up on my homepage.

I have also tried to do a complete delete and reinstall of opencart and uploading my backup fiels and all images thinking that this would give me a fresh install and everything might work. But unfortunately it hasn't worked.

I am thinking that I may have changed a setting for my homepage, but I can't find where I have dont that.

Any help would be much apreciated.

Thanks

Newbie

Posts

Joined
Tue Oct 23, 2012 8:11 am

Post by potzki » Fri Oct 26, 2012 7:51 pm

Thanks for your replies. I have copied the inforation from both the "home.tpl" and "slideshow.tpl" files and listed them below.

home.tpl

<?php echo $header; ?><?php echo $column_left; ?><?php echo $column_right; ?>


<div id="content"><?php echo $content_top; ?>
<h1 style="display: none;"><?php echo $heading_title; ?></h1>
<?php echo $content_bottom; ?></div>
<?php echo $footer; ?>

=====================================================================

slideshow.tpl


<link rel="stylesheet" href="catalog/view/theme/9responsive_violet/stylesheet/flexslider.css" type="text/css" media="screen" />
<script src="catalog/view/theme/9responsive_violet/stylesheet/jquery.flexslider-min.js"></script>
<script type="text/javascript">
$(window).load(function() {
$('.flexslider').flexslider();
});
</script>


<div class="flexslider">
<ul class="slides">
<?php
$count = 0;
$html = "";
foreach($banners as $banner)
{
if($banner['link'])
$html .= "<li><a href='".$banner['link']."'><img src='".$banner['image']."' alt='".$banner['title']."' /></a></li>";
else
$html .= "<li><img src='".$banner['image']."' alt='".$banner['title']."' /></li>";
$count += 1;
}
echo $html;
if($count == 1)
echo $html;
?>
</ul>
</div>
<br /><br />

=======================================

I am using a template for my site "9responsive_154" so that is why the code of the slideshow file might be different to what you have posted.

No moduals that I add to my "home" layout show up at all, slideshow, feature, specials etc.

The url of the site whre I currently have the opencart store I am working on is;
http://www.fairdinkumfakesandoriginals.com.au/ocart . I wiped everything from my cpannel and re-installed to this folder to see if a fresh install would fix the problem.

Again thanks for your help.

Newbie

Posts

Joined
Tue Oct 23, 2012 8:11 am

Post by potzki » Sun Oct 28, 2012 10:52 am

Hello,

Thanks so much for trying to help. I have ended up doing a fresh install and re-imputting all my data. So far I have had no problems. I am being sure to backup every few hours so that I have a stable backup to re-install if I need it.

Thanks again.

Newbie

Posts

Joined
Tue Oct 23, 2012 8:11 am

Post by jocle140 » Tue Mar 05, 2013 10:00 pm

did you ever find out the problem for this? im having the same issue and its soul destroying - www.art4chimps.com

Newbie

Posts

Joined
Wed May 02, 2012 7:11 pm
Who is online

Users browsing this forum: Baidu [Spider] and 17 guests