Version Notes
xx
Download this release
Release Info
| Developer | Magento Core Team |
| Extension | AuIt_FLASH_GALLERY_FLIP |
| Version | 1.2.3 |
| Comparing to | |
| See all releases | |
Code changes from version 1.2.2 to 1.2.3
- app/code/community/AuIt/Gallery2/Block/Flash/Abstract.php +2 -2
- app/code/community/AuIt/Gallery2/Model/Category/Abstract.php +3 -3
- app/code/community/AuIt/Gallery2/Model/Category/List.php +1 -0
- app/code/community/AuIt/Gallery2/etc/config.xml +1 -1
- js/auit/gallery2/swf/accordion.swf +0 -0
- js/auit/gallery2/swf/flip.swf +0 -0
- package.xml +5 -5
app/code/community/AuIt/Gallery2/Block/Flash/Abstract.php
CHANGED
|
@@ -128,8 +128,8 @@ abstract class AuIt_Gallery2_Block_Flash_Abstract extends Mage_Core_Block_Templa
|
|
| 128 |
"<?php echo $this->flashattributes['width'];?>",
|
| 129 |
"<?php echo $this->flashattributes['height'];?>",
|
| 130 |
"9.0.0", null,
|
| 131 |
-
<?php echo
|
| 132 |
-
<?php echo
|
| 133 |
</script>
|
| 134 |
<?
|
| 135 |
return ob_get_clean();
|
| 128 |
"<?php echo $this->flashattributes['width'];?>",
|
| 129 |
"<?php echo $this->flashattributes['height'];?>",
|
| 130 |
"9.0.0", null,
|
| 131 |
+
<?php echo Zend_Json::encode($this->modelParam);?>,
|
| 132 |
+
<?php echo Zend_Json::encode($this->flashparam);?>, <?php echo Zend_Json::encode($this->flashattributes);?>);
|
| 133 |
</script>
|
| 134 |
<?
|
| 135 |
return ob_get_clean();
|
app/code/community/AuIt/Gallery2/Model/Category/Abstract.php
CHANGED
|
@@ -14,9 +14,9 @@ abstract class AuIt_Gallery2_Model_Category_Abstract extends Mage_Core_Model_Abs
|
|
| 14 |
$picHeight = (int)$request->getParam('picture_height',184);
|
| 15 |
if ( $picHeight <= 0 ) $picHeight=184;
|
| 16 |
$picType = $request->getParam('picture_type','small_image');
|
| 17 |
-
if (
|
| 18 |
$picType='small_image';
|
| 19 |
-
|
| 20 |
$max = (int)$request->getParam('max_products',10);
|
| 21 |
if ( $max <= 0 ) $max=10;
|
| 22 |
$iHelper = Mage::helper('catalog/image');
|
|
@@ -26,7 +26,7 @@ abstract class AuIt_Gallery2_Model_Category_Abstract extends Mage_Core_Model_Abs
|
|
| 26 |
{
|
| 27 |
$url= ''.$iHelper->init($_product, $picType)
|
| 28 |
->keepFrame(false)->resize($picWidth,$picHeight);
|
| 29 |
-
|
| 30 |
if ($url!='')
|
| 31 |
{
|
| 32 |
$NTmp = $xml->addChild('item');
|
| 14 |
$picHeight = (int)$request->getParam('picture_height',184);
|
| 15 |
if ( $picHeight <= 0 ) $picHeight=184;
|
| 16 |
$picType = $request->getParam('picture_type','small_image');
|
| 17 |
+
if ( $picType != 'image' && $picType != 'small_image' && $picType != 'thumbnail' )
|
| 18 |
$picType='small_image';
|
| 19 |
+
|
| 20 |
$max = (int)$request->getParam('max_products',10);
|
| 21 |
if ( $max <= 0 ) $max=10;
|
| 22 |
$iHelper = Mage::helper('catalog/image');
|
| 26 |
{
|
| 27 |
$url= ''.$iHelper->init($_product, $picType)
|
| 28 |
->keepFrame(false)->resize($picWidth,$picHeight);
|
| 29 |
+
|
| 30 |
if ($url!='')
|
| 31 |
{
|
| 32 |
$NTmp = $xml->addChild('item');
|
app/code/community/AuIt/Gallery2/Model/Category/List.php
CHANGED
|
@@ -25,6 +25,7 @@ class AuIt_Gallery2_Model_Category_List extends AuIt_Gallery2_Model_Category_Ab
|
|
| 25 |
{
|
| 26 |
$attributes = Mage::getSingleton('catalog/config')
|
| 27 |
->getProductAttributes();
|
|
|
|
| 28 |
$collection->addAttributeToSelect($attributes)
|
| 29 |
->addMinimalPrice()
|
| 30 |
->addFinalPrice()
|
| 25 |
{
|
| 26 |
$attributes = Mage::getSingleton('catalog/config')
|
| 27 |
->getProductAttributes();
|
| 28 |
+
$attributes[]='image';
|
| 29 |
$collection->addAttributeToSelect($attributes)
|
| 30 |
->addMinimalPrice()
|
| 31 |
->addFinalPrice()
|
app/code/community/AuIt/Gallery2/etc/config.xml
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
<config>
|
| 3 |
<modules>
|
| 4 |
<AuIt_Gallery2>
|
| 5 |
-
<version>1.2.
|
| 6 |
</AuIt_Gallery2>
|
| 7 |
</modules>
|
| 8 |
<frontend>
|
| 2 |
<config>
|
| 3 |
<modules>
|
| 4 |
<AuIt_Gallery2>
|
| 5 |
+
<version>1.2.3</version>
|
| 6 |
</AuIt_Gallery2>
|
| 7 |
</modules>
|
| 8 |
<frontend>
|
js/auit/gallery2/swf/accordion.swf
CHANGED
|
Binary file
|
js/auit/gallery2/swf/flip.swf
CHANGED
|
Binary file
|
package.xml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>AuIt_FLASH_GALLERY_FLIP</name>
|
| 4 |
-
<version>1.2.
|
| 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>
|
| 14 |
<authors><author><name>Augsten</name><user>auto-converted</user><email>muc6104@googlemail.com</email></author></authors>
|
| 15 |
-
<date>2009-06-
|
| 16 |
-
<time>
|
| 17 |
-
<contents><target name="magecommunity"><dir name="AuIt"><dir name="Gallery2"><dir name="Block"><dir name="Flash"><file name="Abstract.php" hash="
|
| 18 |
<compatible/>
|
| 19 |
<dependencies/>
|
| 20 |
</package>
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>AuIt_FLASH_GALLERY_FLIP</name>
|
| 4 |
+
<version>1.2.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>2009-06-09</date>
|
| 16 |
+
<time>17:13:59</time>
|
| 17 |
+
<contents><target name="magecommunity"><dir name="AuIt"><dir name="Gallery2"><dir name="Block"><dir name="Flash"><file name="Abstract.php" hash="d330671f2d2f70c8bcd6195d31eef7c1"/><file name="Accordion.php" hash="f7ddfbbfb1aff2a7644cfa1824dc9cc9"/><file name="Flip.php" hash="9d6eedcfdd89443b5fc59931123b3c23"/><file name="Pageflip.php" hash="1dacf4c5a1a97852191c5fb33fef9679"/><file name="Photo.php" hash="b8151c7dc94f6bba8dd82aa1312aea6d"/></dir></dir><dir name="controllers"><file name="IndexController.php" hash="52d7180d7430bcad024160f5dc8d8d35"/></dir><dir name="etc"><file name="config.xml" hash="41592c46f37f3bde8fb49973e0fd838d"/></dir><dir name="Helper"><file name="Data.php" hash="a3c58c7a46dd6da06bb998ed0936207f"/></dir><dir name="Model"><dir name="Category"><file name="Abstract.php" hash="1836657d23d46fd563b88a6221a1ca32"/><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></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="d24f92bbb071c293bbec1742c3028bef"/><file name="pageflip.swf" hash="3d05f10eac9c015aada13957660b632a"/><file name="photo.swf" hash="b1869cc7f46581cfcd6658685ddd87f3"/><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>
|
