Version Notes
This extension is compatible with magento CE 1.4 to 1.7
Sort Order feature added on 1.0.2 version.
Download this release
Release Info
Developer | Magento Core Team |
Extension | Dolphin_Slideshow |
Version | 1.0.2 |
Comparing to | |
See all releases |
Code changes from version 1.0.1 to 1.0.2
- app/code/community/Dolphin/Slideshow/Block/Adminhtml/Slideshow/Edit/Tab/Form.php +5 -0
- app/code/community/Dolphin/Slideshow/Block/Adminhtml/Slideshow/Grid.php +6 -0
- app/code/community/Dolphin/Slideshow/controllers/Adminhtml/IndexController.php +1 -0
- app/code/community/Dolphin/Slideshow/etc/config.xml +1 -1
- app/code/community/Dolphin/Slideshow/sql/slideshow_setup/{mysql4-install-0.1.0.php → mysql4-install-1.0.1.php} +0 -0
- app/code/community/Dolphin/Slideshow/sql/slideshow_setup/mysql4-upgrade-1.0.1-1.0.2.php +9 -0
- app/design/frontend/default/default/template/slideshow/slideshow.phtml +1 -1
- package.xml +7 -5
app/code/community/Dolphin/Slideshow/Block/Adminhtml/Slideshow/Edit/Tab/Form.php
CHANGED
@@ -61,6 +61,11 @@
|
|
61 |
'wysiwyg' => false,
|
62 |
'required' => false,
|
63 |
));
|
|
|
|
|
|
|
|
|
|
|
64 |
|
65 |
$fieldset->addField('status', 'select', array(
|
66 |
'label' => Mage::helper('slideshow')->__('Status'),
|
61 |
'wysiwyg' => false,
|
62 |
'required' => false,
|
63 |
));
|
64 |
+
|
65 |
+
$fieldset->addField('sort_order', 'text', array(
|
66 |
+
'label' => Mage::helper('slideshow')->__('Sort Order'),
|
67 |
+
'name' => 'sort_order',
|
68 |
+
));
|
69 |
|
70 |
$fieldset->addField('status', 'select', array(
|
71 |
'label' => Mage::helper('slideshow')->__('Status'),
|
app/code/community/Dolphin/Slideshow/Block/Adminhtml/Slideshow/Grid.php
CHANGED
@@ -44,6 +44,12 @@
|
|
44 |
'align' =>'left',
|
45 |
'index' => 'title',
|
46 |
));
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
|
48 |
$this->addColumn('status', array(
|
49 |
|
44 |
'align' =>'left',
|
45 |
'index' => 'title',
|
46 |
));
|
47 |
+
|
48 |
+
$this->addColumn('sort_order', array(
|
49 |
+
'header' => Mage::helper('slideshow')->__('Sort Order'),
|
50 |
+
'align' =>'left',
|
51 |
+
'index' => 'sort_order',
|
52 |
+
));
|
53 |
|
54 |
$this->addColumn('status', array(
|
55 |
|
app/code/community/Dolphin/Slideshow/controllers/Adminhtml/IndexController.php
CHANGED
@@ -114,6 +114,7 @@ class Dolphin_Slideshow_Adminhtml_IndexController extends Mage_Adminhtml_Control
|
|
114 |
->setSlideTarget($postData['slide_target'])
|
115 |
->setContent($postData['content'])
|
116 |
->setFilename($postData['filename'])
|
|
|
117 |
->setStatus($postData['status'])
|
118 |
->save();
|
119 |
|
114 |
->setSlideTarget($postData['slide_target'])
|
115 |
->setContent($postData['content'])
|
116 |
->setFilename($postData['filename'])
|
117 |
+
->setSortOrder($postData['sort_order'])
|
118 |
->setStatus($postData['status'])
|
119 |
->save();
|
120 |
|
app/code/community/Dolphin/Slideshow/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Dolphin_Slideshow>
|
5 |
-
<version>1.0.
|
6 |
</Dolphin_Slideshow>
|
7 |
</modules>
|
8 |
<frontend>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Dolphin_Slideshow>
|
5 |
+
<version>1.0.2</version>
|
6 |
</Dolphin_Slideshow>
|
7 |
</modules>
|
8 |
<frontend>
|
app/code/community/Dolphin/Slideshow/sql/slideshow_setup/{mysql4-install-0.1.0.php → mysql4-install-1.0.1.php}
RENAMED
File without changes
|
app/code/community/Dolphin/Slideshow/sql/slideshow_setup/mysql4-upgrade-1.0.1-1.0.2.php
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
$installer = $this;
|
3 |
+
/* @var $installer Mage_Catalog_Model_Resource_Eav_Mysql4_Setup */
|
4 |
+
|
5 |
+
$installer->startSetup();
|
6 |
+
$installer->run("
|
7 |
+
ALTER TABLE `{$installer->getTable('slideshow')}` ADD `sort_order` TINYINT( 6 ) NOT NULL DEFAULT '0' AFTER `content`
|
8 |
+
");
|
9 |
+
$installer->endSetup();
|
app/design/frontend/default/default/template/slideshow/slideshow.phtml
CHANGED
@@ -16,7 +16,7 @@
|
|
16 |
$bannerCollections = Mage::getModel('slideshow/slideshow')
|
17 |
->getCollection()
|
18 |
->addFieldToFilter('filename', array('neq' => ''))
|
19 |
-
->addFieldToFilter('status', array('eq' => '1'));
|
20 |
?>
|
21 |
<div class="fluid_container">
|
22 |
<?php if(count($bannerCollections) > 0): ?>
|
16 |
$bannerCollections = Mage::getModel('slideshow/slideshow')
|
17 |
->getCollection()
|
18 |
->addFieldToFilter('filename', array('neq' => ''))
|
19 |
+
->addFieldToFilter('status', array('eq' => '1'))->setOrder("sort_order","ASC");
|
20 |
?>
|
21 |
<div class="fluid_container">
|
22 |
<?php if(count($bannerCollections) > 0): ?>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Dolphin_Slideshow</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
@@ -18,11 +18,13 @@ Extension features
|
|
18 |
Fully customizable banner slider.
|
19 |
Banner images can be manage from admin.
|
20 |
Slider effects can be set from admin system configuration.</description>
|
21 |
-
<notes>This extension is compatible with magento CE 1.4 to 1.7
|
|
|
|
|
22 |
<authors><author><name>ankitdolphin</name><user>auto-converted</user><email>ankit@dolphinwebsolution.com</email></author></authors>
|
23 |
-
<date>2013-05-
|
24 |
-
<time>
|
25 |
-
<contents><target name="mageetc"><dir name="modules"><file name="Dolphin_Slideshow.xml" hash="e7e86c699ad829b13e6a4b26598fcead"/></dir></target><target name="magecommunity"><dir name="Dolphin"><dir name="Slideshow"><dir name="Block"><dir name="Adminhtml"><dir name="Grid"><dir name="Renderer"><file name="Image.php" hash="4f9e0dfe626eadd94368e299156cb74d"/></dir></dir><dir name="Slideshow"><dir name="Edit"><dir name="Tab"><file name="Form.php" hash="
|
26 |
<compatible/>
|
27 |
<dependencies/>
|
28 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Dolphin_Slideshow</name>
|
4 |
+
<version>1.0.2</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
18 |
Fully customizable banner slider.
|
19 |
Banner images can be manage from admin.
|
20 |
Slider effects can be set from admin system configuration.</description>
|
21 |
+
<notes>This extension is compatible with magento CE 1.4 to 1.7
|
22 |
+

|
23 |
+
Sort Order feature added on 1.0.2 version.</notes>
|
24 |
<authors><author><name>ankitdolphin</name><user>auto-converted</user><email>ankit@dolphinwebsolution.com</email></author></authors>
|
25 |
+
<date>2013-05-16</date>
|
26 |
+
<time>06:24:26</time>
|
27 |
+
<contents><target name="mageetc"><dir name="modules"><file name="Dolphin_Slideshow.xml" hash="e7e86c699ad829b13e6a4b26598fcead"/></dir></target><target name="magecommunity"><dir name="Dolphin"><dir name="Slideshow"><dir name="Block"><dir name="Adminhtml"><dir name="Grid"><dir name="Renderer"><file name="Image.php" hash="4f9e0dfe626eadd94368e299156cb74d"/></dir></dir><dir name="Slideshow"><dir name="Edit"><dir name="Tab"><file name="Form.php" hash="1ca29f89430fc1fde8b4323c7217c472"/></dir><file name="Form.php" hash="7662b93dc746158be887751a23ed504e"/><file name="Tabs.php" hash="402fbe712a93c5a54ebf699090296e51"/></dir><file name="Edit.php" hash="0883a8db17873f51719d3d27ec25323f"/><file name="Grid.php" hash="74b2f0635fac3c1f91e0212c29dc7483"/></dir><file name="Slideshow.php" hash="da920451de211ef39552b8abbd327402"/></dir><file name="Slideshow.php" hash="332c6b6a2abeb7b189c8f677484306c0"/></dir><dir name="Helper"><file name="Data.php" hash="b838eaf8b941d3170218e775f7e0758e"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Slideshow"><file name="Collection.php" hash="a0b25f3571dc569727919badc1adce46"/></dir><file name="Slideshow.php" hash="1b38a024f24cc3fece5b6484d0aefb20"/></dir><dir name="Source"><file name="BarDirection.php" hash="ecf51dff2d6471a127be13231992244d"/><file name="BarPosition.php" hash="ab20748e4fcd1eeef3a01da07a4f2ec1"/><file name="Easing.php" hash="7efad8fa839235671aed84a4b9d1c5bc"/><file name="Fx.php" hash="9cfc8af2026b6e160339d4f3e5b54d04"/><file name="Loader.php" hash="e813dc85a396c916ea9a3f9c7bf6e30c"/><file name="PiePosition.php" hash="df4a012f1376052bb8aa2b5188284c2f"/><file name="Skin.php" hash="853d3b367f5387713ae34b7c29c8e54d"/><file name="SlideOn.php" hash="e1e3c0aab19d25e8a7b160883d075310"/><file name="TrueFalse.php" hash="cde12a5866a5ca87c3eac24733ff28a6"/></dir><file name="Slideshow.php" hash="3f4a45698938de21f7d17dbcd7d80fc7"/><file name="Status.php" hash="a97dac52e2e997803e3be64951680f89"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="IndexController.php" hash="30aac0e8b0012e735a1541c001589b02"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="5e1b3aa3bda26710001e48db1157f41d"/><file name="config.xml" hash="265cb25999d959159435a8671fc3c567"/><file name="system.xml" hash="47cf3d8cb37d6050a004b0643bbcc565"/></dir><dir name="sql"><dir name="slideshow_setup"><file name="mysql4-install-1.0.1.php" hash="7d844c34703ae313fd1648469a3d6133"/><file name="mysql4-upgrade-1.0.1-1.0.2.php" hash="da41f4cdd685983d85d3aac77e3816c6"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="slideshow.xml" hash="89d39dbf5011739db6440a6c998088fc"/></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="slideshow"><file name="slideshow.phtml" hash="1b1618aa56e0f8a781431b41a923e534"/></dir></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="slideshow"><dir name="jscolor"><file name="arrow.gif" hash="5034704a76cd55c1cbcbc58ea6bf523f"/><file name="cross.gif" hash="ba9a274b9323753cd95bc3b1eb2f4e5f"/><file name="demo.html" hash="edf71251cb2be20322d2efb00aee86a6"/><file name="hs.png" hash="fefa1a03d92ebad25c88dca94a0b63db"/><file name="hv.png" hash="990d71cada17da100653636cf8490884"/><file name="jscolor.js" hash="b65a1505390592ac6c0177d6b84774e0"/></dir><file name="camera.min.js" hash="554d5a159ba9b9b5e55b9516c7f016ea"/><file name="jquery.easing.1.3.js" hash="6516449ed5089677ed3d7e2f11fc8942"/><file name="jquery.min.js" hash="00263d420f53a6db101ebdd11acef2f8"/><file name="jquery.mobile.customized.min.js" hash="ea59fe8222cc61ffdbd41119ce23fd25"/></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="slideshow"><dir name="css"><file name="camera.css" hash="f81274430834189a4ffe560edb09dccd"/></dir><dir name="images"><dir name="patterns"><file name="overlay1.png" hash="1f146c3ca45b7de58990fe35674f3c12"/><file name="overlay10.png" hash="e1eb49ee07e74a2c4fee9dad5f17a513"/><file name="overlay2.png" hash="ddcf42fed3bf5234b7846a74bf17fc6d"/><file name="overlay3.png" hash="d3deed31d1eed4f17432ff93aefd9daf"/><file name="overlay4.png" hash="8df992721519d21ba39626a8615393c4"/><file name="overlay5.png" hash="a839858206fe25a686265e5868a00fbf"/><file name="overlay6.png" hash="de8c31ab33ca41114addad876a7d057b"/><file name="overlay7.png" hash="8475f8c4b675c531f5fca9d0f8266889"/><file name="overlay8.png" hash="a13c787a719e0619ce82ba73bacd9498"/><file name="overlay9.png" hash="06b734ded54bbe1761e3b67acd2575e5"/></dir><file name="blank.gif" hash="85fc87e214b7f9af23becb1f023a68ad"/><file name="camera-loader.gif" hash="cd2e13291ecdcac7f575beea6d84b099"/><file name="camera_skins.png" hash="44234b21bebe6b318aab47d9e9bbbee9"/></dir></dir></dir></dir></dir></target></contents>
|
28 |
<compatible/>
|
29 |
<dependencies/>
|
30 |
</package>
|