Version Notes
Added scrollLeft fix to reset carousel on page refresh
Download this release
Release Info
| Developer | Magento Core Team |
| Extension | Fishpigs_iBanners |
| Version | 0.9.3 |
| Comparing to | |
| See all releases | |
Code changes from version 0.9.2 to 0.9.3
- app/code/community/Fishpig/IBanners/etc/config.xml +1 -1
- app/code/community/Fishpig/IBanners/notes.txt +3 -0
- app/design/frontend/base/default/layout/ibanners.xml +0 -3
- app/design/frontend/base/default/template/ibanners/default.phtml +14 -4
- package.xml +5 -6
- skin/frontend/base/default/css/ibanners.css +1 -1
app/code/community/Fishpig/IBanners/etc/config.xml
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
<config>
|
| 3 |
<modules>
|
| 4 |
<Fishpig_iBanners>
|
| 5 |
-
<version>0.9.
|
| 6 |
</Fishpig_iBanners>
|
| 7 |
</modules>
|
| 8 |
<global>
|
| 2 |
<config>
|
| 3 |
<modules>
|
| 4 |
<Fishpig_iBanners>
|
| 5 |
+
<version>0.9.3</version>
|
| 6 |
</Fishpig_iBanners>
|
| 7 |
</modules>
|
| 8 |
<global>
|
app/code/community/Fishpig/IBanners/notes.txt
CHANGED
|
@@ -7,6 +7,9 @@
|
|
| 7 |
# Bug Reports: help@fishpig.co.uk
|
| 8 |
##
|
| 9 |
|
|
|
|
|
|
|
|
|
|
| 10 |
28/07/2011 - v0.9.2
|
| 11 |
- added randomise_banners, which enables you to display banners in a random order
|
| 12 |
- added duplicate first slide to end of carousel to create smooth scrolling effect
|
| 7 |
# Bug Reports: help@fishpig.co.uk
|
| 8 |
##
|
| 9 |
|
| 10 |
+
30/07/2011 - v0.9.3
|
| 11 |
+
- added scrollLeft fix to reset carousel on page refresh
|
| 12 |
+
|
| 13 |
28/07/2011 - v0.9.2
|
| 14 |
- added randomise_banners, which enables you to display banners in a random order
|
| 15 |
- added duplicate first slide to end of carousel to create smooth scrolling effect
|
app/design/frontend/base/default/layout/ibanners.xml
CHANGED
|
@@ -25,9 +25,6 @@
|
|
| 25 |
<block type="ibanners/view" name="ibanners.homepage" before="-" template="ibanners/default.phtml">
|
| 26 |
<action method="setGroupCode"><group_code>home</group_code></action>
|
| 27 |
</block>
|
| 28 |
-
<block type="ibanners/view" name="ibanners.homepage.callout" before="-" template="ibanners/default.phtml">
|
| 29 |
-
<action method="setGroupCode"><group_code>homepage-callout-01</group_code></action>
|
| 30 |
-
</block>
|
| 31 |
</reference>
|
| 32 |
</cms_index_index>
|
| 33 |
|
| 25 |
<block type="ibanners/view" name="ibanners.homepage" before="-" template="ibanners/default.phtml">
|
| 26 |
<action method="setGroupCode"><group_code>home</group_code></action>
|
| 27 |
</block>
|
|
|
|
|
|
|
|
|
|
| 28 |
</reference>
|
| 29 |
</cms_index_index>
|
| 30 |
|
app/design/frontend/base/default/template/ibanners/default.phtml
CHANGED
|
@@ -10,7 +10,7 @@
|
|
| 10 |
<?php $group = $this->getGroup() ?>
|
| 11 |
<?php $banners = $this->getBanners() ?>
|
| 12 |
<?php if ($this->getGroup()->getBannerCount() == 1): ?>
|
| 13 |
-
<?php foreach($banners as $
|
| 14 |
<?php if ($banner->hasUrl()): ?>
|
| 15 |
<a href="<?php echo $banner->getUrl() ?>" title="<?php echo $this->escapeHtml($banner->getTitle()) ?>">
|
| 16 |
<?php endif; ?>
|
|
@@ -25,8 +25,8 @@
|
|
| 25 |
<?php elseif ($this->getGroup()->getBannerCount() > 1): ?>
|
| 26 |
<div id="<?php echo $this->getWrapperId() ?>" class="ibanners <?php if ($group->isAnimationEnabled()): ?>animated<?php else: ?>static<?php endif; ?>">
|
| 27 |
<ul>
|
| 28 |
-
<?php foreach($banners as $
|
| 29 |
-
<li class="banner">
|
| 30 |
<?php if ($banner->hasUrl()): ?>
|
| 31 |
<a href="<?php echo $banner->getUrl() ?>" title="<?php echo $this->escapeHtml($banner->getTitle()) ?>">
|
| 32 |
<?php endif; ?>
|
|
@@ -62,9 +62,19 @@
|
|
| 62 |
<?php endif; ?>
|
| 63 |
</ul>
|
| 64 |
</div>
|
| 65 |
-
<?php if ($group->isAnimationEnabled()): ?>
|
| 66 |
<script type="text/javascript">
|
| 67 |
//<