Responsive Banner Slider 2.1.1 - Notice: Undefined variable...

We recently bought the Responsive Banner Slider.

We encounter a particular problem with the Slider.

While on the slider style : Sequence, with Style 1, we get this PHP error :

Notice: Undefined variable: i in /home/peddleur/public_html/modules/mod_responsivebannerslider/tmpl/default.php on line 168 class="animate-in" >

In this specific file at line 168, the PHP add the class="animate-in" to the LI(list) which contain the different animated part of the slider.

Problem is, the error shows up and nothing moves, image and caption . The navigation seems to be working fine except that we cannot go from one slide to another because of the animate error.

When we look at the css, from firebug or a web developer tool, we can see that the css with the animate-in class is somehow linked but not applied.

However, when we switch from style 1 to style 2, everything is perfect and work fine.

So the question is, is it the PHP that is not giving the class to the LI correctly or the css is not linked at all?

We're running Joomla 2.5.9, Responsive Banner Slider 2.1.1 with a Twitter Bootstrap Template

Thanks,
11 years 2 months ago #1 by David Joly

Please Log in or Create an account to join the conversation.

Ouh...yes this could be a bug....so can you add this line in default.php,
$i = 0;

right before the foreach line at line 161. So the code will look like this
<?php 
$i = 0;
foreach($list as $item): 
?>

Let us know if that works and the error gone.
11 years 2 months ago #2 by erwinschro

Please Log in or Create an account to join the conversation.

I have made correction directly to your website, so it should be working good now ;)
11 years 2 months ago #3 by andy

Please Log in or Create an account to join the conversation.

Thank you very much :) I really appreciate it.
11 years 2 months ago #4 by David Joly

Please Log in or Create an account to join the conversation.

no problem, glad it helps ;)
11 years 2 months ago #5 by andy

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum