Shape 5

Joomla Club Extensions => Image Slide - Club => : sneadm July 27, 2011, 05:59:51 AM



: Hide/Show Stop and Play also Hides Navigation Arrows
: sneadm July 27, 2011, 05:59:51 AM
Installed Paradigm 1.6 site shaper.  When I select Hide for the Stop and Play buttons, the navigation arrows also disappear.


: Re: Hide/Show Stop and Play also Hides Navigation Arrows
: jonahh July 27, 2011, 12:36:55 PM
This is due to a custom html override, if you remove the mod_s5_imageslide folder under the html folder in this template it will fix the issue.


: Re: Hide/Show Stop and Play also Hides Navigation Arrows
: sneadm July 30, 2011, 07:36:57 AM
My template name should have said 'paradigm_shift".  In any case, there was no html override in it for mod_s5_imageslide only for mos_s5_accordion_menu.  I did however track down the problem and here is my fix:

In /modules/mod_s5_imageslide/s5_imageslide/class.noobSlide.packed.js:
Change line 24 from
:
 document.getElementById("s5_ismod_onhover").style.display = "block";
to:
:
 if (s5_stopplayhide == "block") {
 document.getElementById("s5_ismod_onhover").style.display = "block";
 }

In /modules/mod_s5_imageslide/mod_s5_imageslide.php:
change line 257 to:
:
<div <?php if ($s5_stopplayhide == "block" || $s5_arrowshide == "block") { ?>onmouseout="s5_ismod_outhover();" onmouseover="s5_ismod_onhover();"<?php ?> >
and change line 365 and below to read:
:
<script type="text/javascript">
var s5_arrowshide = "none";
var s5_stopplayhide = "none";
</script>
<?php if ($s5_arrowshide == "block") { ?>
<script type="text/javascript">
var s5_arrowshide = "block";
</script>
<?php ?>
<?php if ($s5_stopplayhide == "block") { ?>
<script type="text/javascript">
var s5_stopplayhide = "block";
</script>
<?php ?>

My line numbers may be off but hopefully this will give the idea.

It now works perfectly!