Jump to content

Homeslider module update


Atanda

Recommended Posts

I updated the homeslider module from 1.2.7 to 1.2.9 today on my PS 1.6 version and I discovered that it broke my website.

Firstly, some other modules also on the page using jquery stopped working. Secondly, the width of the slider developed a problem which I traced to the value of bx-wrapper class.

I also found out that if I change the header.tpl file in the homeslider module to the old version, everything works well.

 

See old version that works well -

{if isset($homeslider)}
    {addJsDef homeslider_loop=$homeslider.loop}
    {addJsDef homeslider_width=$homeslider.width}
    {addJsDef homeslider_speed=$homeslider.speed}
    {addJsDef homeslider_pause=$homeslider.pause}
{/if}

The new version causing problem is -

{if isset($homeslider)}
<script type="text/javascript">
     var homeslider_loop={$homeslider.loop};
     var homeslider_width={$homeslider.width};
     var homeslider_speed={$homeslider.speed};
     var homeslider_pause={$homeslider.pause};
</script>
{/if}

I hope this can be looked into.

 

 

Cheers!

Link to comment
Share on other sites

Well.

 

It seems uninstalling the module and then reinstalling the new version fix the problem. So instead of updating it you have to uninstall the old version first. The downside is that you will lose all your previous slides and will have to upload and configure again.

Wish it could be easier than this.

 

Cheers! 

Link to comment
Share on other sites

×
×
  • Create New...