AuIt_FLASH_GALLERY_FLIP - Version 1.3.3

Version Notes

xx

Download this release

Release Info

Developer Magento Core Team
Extension AuIt_FLASH_GALLERY_FLIP
Version 1.3.3
Comparing to
See all releases


Code changes from version 1.3.1 to 1.3.3

app/code/community/AuIt/Gallery2/Block/Jscript/Slider.php CHANGED
@@ -7,6 +7,7 @@ class AuIt_Gallery2_Block_Jscript_Slider extends AuIt_Gallery2_Block_Flash_Abstr
7
  protected function initParams()
8
  {
9
  parent::initParams();
 
10
  $this->flashattributes['width']=195;
11
  $this->flashattributes['height']=195;
12
  }
@@ -39,6 +40,7 @@ class AuIt_Gallery2_Block_Jscript_Slider extends AuIt_Gallery2_Block_Flash_Abstr
39
  //return $model->getXML($Request);
40
  //$xmlData = simplexml_load_string($this->htmlentities_decode($model->getXML($Request)));
41
  $xmlData = simplexml_load_string($model->getXML($Request));
 
42
  ob_start();
43
  ?>
44
  <div class="featured" style="<?php echo $this->flashattributes['frame_style'];?>">
@@ -51,6 +53,7 @@ class AuIt_Gallery2_Block_Jscript_Slider extends AuIt_Gallery2_Block_Flash_Abstr
51
  // echo $item->short;
52
  $pcw= $this->modelData['picture_width'];
53
  $pch=$this->modelData['picture_height'];
 
54
  foreach($xmlData->item as $item) {
55
  ?>
56
  <div>
@@ -84,13 +87,18 @@ jQuery.easing.feature = function (x, t, b, c, d) {
84
 
85
  jQuery(function() {
86
  // initialize scrollable
87
- jQuery("div.scrollable").scrollable({
 
88
  size: 3,
89
  clickable: false,
90
  loop: true,
91
  easing: 'feature',
92
  speed: 700
93
  });
 
 
 
 
94
  });
95
 
96
  </script>
7
  protected function initParams()
8
  {
9
  parent::initParams();
10
+ $this->modelParam['startpage']=0;
11
  $this->flashattributes['width']=195;
12
  $this->flashattributes['height']=195;
13
  }
40
  //return $model->getXML($Request);
41
  //$xmlData = simplexml_load_string($this->htmlentities_decode($model->getXML($Request)));
42
  $xmlData = simplexml_load_string($model->getXML($Request));
43
+ $StartPage=$this->modelParam['startpage']-1;
44
  ob_start();
45
  ?>
46
  <div class="featured" style="<?php echo $this->flashattributes['frame_style'];?>">
53
  // echo $item->short;
54
  $pcw= $this->modelData['picture_width'];
55
  $pch=$this->modelData['picture_height'];
56
+
57
  foreach($xmlData->item as $item) {
58
  ?>
59
  <div>
87
 
88
  jQuery(function() {
89
  // initialize scrollable
90
+ var x = jQuery("div.scrollable").scrollable({
91
+ api:true,
92
  size: 3,
93
  clickable: false,
94
  loop: true,
95
  easing: 'feature',
96
  speed: 700
97
  });
98
+ <?php if ( $StartPage >= 0 ) :?>
99
+ if ( x )
100
+ x.setPage(<?php echo $StartPage?>);
101
+ <?php endif;?>
102
  });
103
 
104
  </script>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>AuIt_FLASH_GALLERY_FLIP</name>
4
- <version>1.3.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
7
  <channel>community</channel>
@@ -10,11 +10,11 @@
10
  <description>This Flash gallery can be integrated in various ways. The representation can be adapted by an abundance of parameter to the own web page.
11
 
12
  More flash galleries? Can be found on the website http://www.snm-portal.de</description>
13
- <notes>Inital</notes>
14
  <authors><author><name>Augsten</name><user>auto-converted</user><email>muc6104@googlemail.com</email></author></authors>
15
- <date>2009-09-01</date>
16
- <time>17:31:54</time>
17
- <contents><target name="magecommunity"><dir name="AuIt"><dir name="Gallery2"><dir name="Block"><dir name="Flash"><file name="Abstract.php" hash="00551182166ed5db2ab9534f4cb13763"/><file name="Accordion.php" hash="f7ddfbbfb1aff2a7644cfa1824dc9cc9"/><file name="Flip.php" hash="9d6eedcfdd89443b5fc59931123b3c23"/><file name="Pageflip.php" hash="1dacf4c5a1a97852191c5fb33fef9679"/><file name="Photo.php" hash="50240eb25087dcf71f8f24728b7f0405"/></dir><dir name="Jscript"><file name="Slider.php" hash="2ff9711832f0ba163075bd0f79f8efc0"/></dir><dir name="Product"><file name="View.php" hash="e2aaefbe88c34cd0a5d31934fad239bf"/></dir></dir><dir name="controllers"><file name="IndexController.php" hash="52d7180d7430bcad024160f5dc8d8d35"/></dir><dir name="etc"><file name="config.xml" hash="0f3bb5306f8481251874b0c950157874"/></dir><dir name="Helper"><file name="Data.php" hash="a3c58c7a46dd6da06bb998ed0936207f"/></dir><dir name="Model"><dir name="Category"><file name="Abstract.php" hash="72b95ed0e61ce32e8cc0aae54a2e8a1d"/><file name="Bestseller.php" hash="446bd8dafbb52abbbee61929f2768628"/><file name="List.php" hash="c632dbb037b1e4d3ca5f8d9772fa6c17"/><file name="Mostviewed.php" hash="55c086490e8b282a74d34671491232f9"/><file name="New.php" hash="2c08979e24797f63ef6d23cb1abb73af"/></dir></dir><dir name="templates"><dir name="default"><file name="default.css" hash="0417777def0fa02cb9dab7955f2b57df"/><file name="view.phtml" hash="58f646da0b903c97874c809fce31bab9"/></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="auit"><dir name="gallery2"><dir name="swf"><dir name="assets"><file name="Arial.swf" hash="9e4b288ca0adfff3e7816c14780f528a"/><file name="Comic Sans MS.swf" hash="24e641848e5947b972ee9d9c56935813"/></dir><file name="accordion.swf" hash="fa9797e0459863a605f8b960149a0108"/><file name="flip.swf" hash="aa56429536e1e5574c368d12b3ab4674"/><file name="pageflip.swf" hash="3d05f10eac9c015aada13957660b632a"/><file name="photo.swf" hash="fcf671495499a7373fdb57b72fa305f8"/><file name="swfobject.js" hash="eaa5417940c71f441b016b12c534665d"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="XAuIt_Gallery2.xml" hash="7ca7828811ddb938dd11d27ac953ffce"/></dir></target></contents>
18
  <compatible/>
19
  <dependencies/>
20
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>AuIt_FLASH_GALLERY_FLIP</name>
4
+ <version>1.3.3</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
7
  <channel>community</channel>
10
  <description>This Flash gallery can be integrated in various ways. The representation can be adapted by an abundance of parameter to the own web page.
11
 
12
  More flash galleries? Can be found on the website http://www.snm-portal.de</description>
13
+ <notes>xx</notes>
14
  <authors><author><name>Augsten</name><user>auto-converted</user><email>muc6104@googlemail.com</email></author></authors>
15
+ <date>2010-01-30</date>
16
+ <time>11:06:08</time>
17
+ <contents><target name="magecommunity"><dir name="AuIt"><dir name="Gallery2"><dir name="Block"><dir name="Flash"><file name="Abstract.php" hash="00551182166ed5db2ab9534f4cb13763"/><file name="Accordion.php" hash="f7ddfbbfb1aff2a7644cfa1824dc9cc9"/><file name="Flip.php" hash="9d6eedcfdd89443b5fc59931123b3c23"/><file name="Pageflip.php" hash="1dacf4c5a1a97852191c5fb33fef9679"/><file name="Photo.php" hash="50240eb25087dcf71f8f24728b7f0405"/></dir><dir name="Jscript"><file name="Slider.php" hash="c420c3a1e501e13c5d0315cadc224c00"/></dir><dir name="Product"><file name="View.php" hash="e2aaefbe88c34cd0a5d31934fad239bf"/></dir></dir><dir name="controllers"><file name="IndexController.php" hash="52d7180d7430bcad024160f5dc8d8d35"/></dir><dir name="etc"><file name="config.xml" hash="0f3bb5306f8481251874b0c950157874"/></dir><dir name="Helper"><file name="Data.php" hash="a3c58c7a46dd6da06bb998ed0936207f"/></dir><dir name="Model"><dir name="Category"><file name="Abstract.php" hash="72b95ed0e61ce32e8cc0aae54a2e8a1d"/><file name="Bestseller.php" hash="446bd8dafbb52abbbee61929f2768628"/><file name="List.php" hash="c632dbb037b1e4d3ca5f8d9772fa6c17"/><file name="Mostviewed.php" hash="55c086490e8b282a74d34671491232f9"/><file name="New.php" hash="2c08979e24797f63ef6d23cb1abb73af"/></dir></dir><dir name="templates"><dir name="default"><file name="default.css" hash="0417777def0fa02cb9dab7955f2b57df"/><file name="view.phtml" hash="58f646da0b903c97874c809fce31bab9"/></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="auit"><dir name="gallery2"><dir name="swf"><dir name="assets"><file name="Arial.swf" hash="9e4b288ca0adfff3e7816c14780f528a"/><file name="Comic Sans MS.swf" hash="24e641848e5947b972ee9d9c56935813"/></dir><file name="accordion.swf" hash="fa9797e0459863a605f8b960149a0108"/><file name="flip.swf" hash="aa56429536e1e5574c368d12b3ab4674"/><file name="pageflip.swf" hash="3d05f10eac9c015aada13957660b632a"/><file name="photo.swf" hash="fcf671495499a7373fdb57b72fa305f8"/><file name="swfobject.js" hash="eaa5417940c71f441b016b12c534665d"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="XAuIt_Gallery2.xml" hash="7ca7828811ddb938dd11d27ac953ffce"/></dir></target></contents>
18
  <compatible/>
19
  <dependencies/>
20
  </package>