Responsive Banner Slider 2.1.1 - Notice: Undefined variable...
- Posted by David Joly (2) Offline
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 10 months ago #1
by David Joly
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,
Please Log in or Create an account to join the conversation.
- Posted by erwinschro (1034) Offline
Ouh...yes this could be a bug....so can you add this line in default.php,
right before the foreach line at line 161. So the code will look like this
Let us know if that works and the error gone.
11 years 10 months ago #2
by erwinschro
$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.
Please Log in or Create an account to join the conversation.
- Posted by andy (759) Offline
I have made correction directly to your website, so it should be working good now
11 years 10 months ago #3
by andy
Please Log in or Create an account to join the conversation.
- Posted by David Joly (2) Offline
- Posted by andy (759) Offline