AShop_Slider - Version 1.0.2

Version Notes

Features:
1. Can add as many slider and manage banner accordingly.
2.Awesome slider animation.
3.Responsive view

Download this release

Release Info

Developer AccessShop Themes
Extension AShop_Slider
Version 1.0.2
Comparing to
See all releases


Code changes from version 1.0.1 to 1.0.2

app/code/local/AShop/Slidermanager/Block/Adminhtml/Bannermanager/Edit/Tab/Custom.php CHANGED
@@ -88,44 +88,31 @@ class AShop_Slidermanager_Block_Adminhtml_Bannermanager_Edit_Tab_Custom extends
88
  'index' => 'title',
89
  ));
90
 
91
- $this->addColumn('created_time', array(
92
- 'header' => Mage::helper('slidermanager')->__('Start Date'),
93
- 'type' => 'datetime',
94
- 'index' => 'created_time'
95
- ));
96
-
97
- $this->addColumn('update_time', array(
98
- 'header' => Mage::helper('slidermanager')->__('End Date'),
99
- 'type' => 'datetime',
100
- 'index' => 'update_time'
101
- ));
102
-
103
- $this->addColumn('order_banner_slider', array(
104
- 'header' => Mage::helper('slidermanager')->__('Order'),
105
- 'name' => 'order_banner_slider',
106
- 'index' => 'order_banner_slider',
107
- 'width' => 0,
108
- 'editable' => true,
109
- ));
110
 
111
- $this->addColumn('action',
112
- array(
113
- 'header' => Mage::helper('slidermanager')->__('Action'),
114
- 'width' => '100',
115
- 'type' => 'action',
116
- 'getter' => 'getId',
117
- 'actions' => array(
118
- array(
119
- 'caption' => Mage::helper('slidermanager')->__('Edit'),
120
- 'url' => array('base'=> '*/*/edit'),
121
- 'field' => 'id'
122
- )
123
- ),
124
- 'filter' => false,
125
- 'sortable' => false,
126
- 'index' => 'stores',
127
- 'is_system' => true,
128
- ));
129
 
130
  return parent::_prepareColumns();
131
  }
88
  'index' => 'title',
89
  ));
90
 
91
+ $this->addColumn('filename', array(
92
+ 'header' => Mage::helper('slidermanager')->__('Banner Image'),
93
+ 'align' =>'left',
94
+ 'index' => 'filename',
95
+ 'renderer' => 'slidermanager/adminhtml_renderer_bannerimage'
96
+ ));
 
 
 
 
 
 
 
 
 
 
 
 
 
97
 
98
+ $this->addColumn('action',
99
+ array(
100
+ 'header' => Mage::helper('slidermanager')->__('Action'),
101
+ 'width' => '100',
102
+ 'type' => 'action',
103
+ 'getter' => 'getId',
104
+ 'actions' => array(
105
+ array(
106
+ 'caption' => Mage::helper('slidermanager')->__('Edit'),
107
+ 'url' => array('base'=> '*/*/edit'),
108
+ 'field' => 'id'
109
+ )
110
+ ),
111
+ 'filter' => false,
112
+ 'sortable' => false,
113
+ 'index' => 'stores',
114
+ 'is_system' => true,
115
+ ));
116
 
117
  return parent::_prepareColumns();
118
  }
app/code/local/AShop/Slidermanager/Block/Adminhtml/Renderer/{bannerimage.php → Bannerimage.php} RENAMED
@@ -26,7 +26,7 @@
26
  * @package AShop_Slidermanager
27
  * @author AccessShop Developer
28
  */
29
- class AShop_Slidermanager_Block_Adminhtml_Renderer_bannerimage extends Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract {
30
 
31
  public function render(Varien_Object $row) {
32
  $image_id = $row->getId();
26
  * @package AShop_Slidermanager
27
  * @author AccessShop Developer
28
  */
29
+ class AShop_Slidermanager_Block_Adminhtml_Renderer_Bannerimage extends Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract {
30
 
31
  public function render(Varien_Object $row) {
32
  $image_id = $row->getId();
app/code/local/AShop/Slidermanager/controllers/Adminhtml/SlidermanagerController.php CHANGED
@@ -84,7 +84,7 @@ class AShop_Slidermanager_Adminhtml_SlidermanagerController extends Mage_Adminht
84
  $uploader->setAllowedExtensions(array('jpg','jpeg','gif','png'));
85
  $uploader->setAllowRenameFiles(false);
86
  $uploader->setFilesDispersion(false);
87
- $path = Mage::getBaseDir('media').'\slidermanager' . DS ;
88
  $uploader->save($path, $_FILES['filename']['name'] );
89
 
90
  } catch (Exception $e) {
@@ -99,7 +99,7 @@ class AShop_Slidermanager_Adminhtml_SlidermanagerController extends Mage_Adminht
99
  $uploader->setAllowedExtensions(array('jpg','jpeg','gif','png'));
100
  $uploader->setAllowRenameFiles(false);
101
  $uploader->setFilesDispersion(false);
102
- $path = Mage::getBaseDir('media').'\slidermanager' . DS ;
103
  $uploader->save($path, $_FILES['background_image']['name'] );
104
 
105
  } catch (Exception $e) {
84
  $uploader->setAllowedExtensions(array('jpg','jpeg','gif','png'));
85
  $uploader->setAllowRenameFiles(false);
86
  $uploader->setFilesDispersion(false);
87
+ $path = Mage::getBaseDir('media').DS.'slidermanager' . DS ;
88
  $uploader->save($path, $_FILES['filename']['name'] );
89
 
90
  } catch (Exception $e) {
99
  $uploader->setAllowedExtensions(array('jpg','jpeg','gif','png'));
100
  $uploader->setAllowRenameFiles(false);
101
  $uploader->setFilesDispersion(false);
102
+ $path = Mage::getBaseDir('media').DS.'slidermanager' . DS ;
103
  $uploader->save($path, $_FILES['background_image']['name'] );
104
 
105
  } catch (Exception $e) {
app/code/local/AShop/Slidermanager/etc/config.xml CHANGED
@@ -31,7 +31,7 @@
31
  <config>
32
  <modules>
33
  <AShop_Slidermanager>
34
- <version>1.0.1</version>
35
  </AShop_Slidermanager>
36
  </modules>
37
  <frontend>
31
  <config>
32
  <modules>
33
  <AShop_Slidermanager>
34
+ <version>1.0.2</version>
35
  </AShop_Slidermanager>
36
  </modules>
37
  <frontend>
app/code/local/AShop/Slidermanager/sql/slidermanager_setup/{mysql4-install-1.0.1.php → mysql4-install-1.0.2.php} RENAMED
File without changes
app/design/frontend/base/default/template/slidermanager/slidermanager.phtml CHANGED
@@ -44,7 +44,7 @@ $version=explode('.',$version);
44
  {
45
  $status=$rowOne->getStatus();
46
  }
47
- if($status==$slider_id&&$count>0)
48
  {
49
  ?>
50
  <div class="sequence-theme">
44
  {
45
  $status=$rowOne->getStatus();
46
  }
47
+ if($status==1&&$count>0)
48
  {
49
  ?>
50
  <div class="sequence-theme">
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>AShop_Slider</name>
4
- <version>1.0.1</version>
5
  <stability>stable</stability>
6
  <license>Open Software License (OSL)</license>
7
  <channel>community</channel>
@@ -13,9 +13,9 @@
13
  2.Awesome slider animation.&#xD;
14
  3.Responsive view</notes>
15
  <authors><author><name>AccessShop Themes</name><user>accessshopthemes</user><email>magento@access-keys.com</email></author></authors>
16
- <date>2015-02-04</date>
17
- <time>04:22:24</time>
18
- <contents><target name="magelocal"><dir name="AShop"><dir name="Slidermanager"><dir name="Block"><dir name="Adminhtml"><dir name="Bannermanager"><file name="Custom.php" hash="396f3dbd6491745c5afd04d978d7fcab"/><dir name="Edit"><file name="Form.php" hash="0e97f186c5ed8e4f4d30e097996bd932"/><dir name="Tab"><file name="Custom.php" hash="2f739c2cca33a6733baa79e3940a34f4"/><file name="Form.php" hash="908631344fd9d374486c7090dfb5d149"/></dir><file name="Tabs.php" hash="ab99c9fd6197b4e6e223f44dde31a285"/></dir><file name="Edit.php" hash="8c524367c93cdb07057c85fec6318425"/><file name="Grid.php" hash="b2bb40289fd020424800cb7d4da76659"/></dir><file name="Bannermanager.php" hash="a9166a84dd184cc8d8a77a56152268ad"/><dir name="Renderer"><file name="bannerimage.php" hash="cfb0fdbaf0a026e4100fb2be8433f208"/></dir><dir name="Slidermanager"><dir name="Edit"><file name="Form.php" hash="91e99b7ab2c881ce43eee4b94fc73724"/><dir name="Tab"><file name="Form.php" hash="af6daf55b724c2a2fdad593f6d9bd4f7"/></dir><file name="Tabs.php" hash="8984f9bd94fae4c18d8629958db85aa2"/></dir><file name="Edit.php" hash="d4254bd5904ee4ef1e0a37500a1d09dd"/><file name="Grid.php" hash="41b8a566f4a58526d50987aaf755c511"/></dir><file name="Slidermanager.php" hash="773deda701eb4cd27b92c15c53c20368"/><dir name="System"><dir name="Configuration"><file name="Implementcode.php" hash="54381fb6b43bac1b2bbd9e808375a89b"/></dir></dir></dir><file name="Slidermanager.php" hash="7857c7bc7fda35cc36945d1cc2aa435e"/></dir><dir name="Helper"><file name="Data.php" hash="1f4de9bef5987fc2b20ba817a37ffe20"/></dir><dir name="Model"><file name="Bannermanager.php" hash="e7393504ac06a351d22f4a153869a5bb"/><dir name="Mysql4"><dir name="Bannermanager"><file name="Collection.php" hash="3d06e79a7fcb6603b361b6b36d14e37e"/></dir><file name="Bannermanager.php" hash="1bf06cae29f062b04e73c23b6295bfd0"/><dir name="Slidermanager"><file name="Collection.php" hash="b67a6a10a1b042c87dc1dfde41f000d8"/></dir><file name="Slidermanager.php" hash="7b163fab15c72793cd7bc53ed7b03911"/></dir><file name="Select.php" hash="b2a8fac0565fda8687340c77cd13f3f0"/><file name="Slidermanager.php" hash="d6ebb12b7c2eca2f518b7dad9eec4a67"/><file name="Status.php" hash="abc616077967ce8efa66d85db097e30f"/><file name="Target.php" hash="08a0783d33b49b0ca031ef362b48366f"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="BannermanagerController.php" hash="6d9c7466dff5e9f4dfa640da2f673fc2"/><file name="SlidermanagerController.php" hash="b230219b57ef21835a80ea6514c4c931"/></dir><file name="IndexController.php" hash="eee5977e6ec7965074b5be4736d37797"/></dir><dir name="etc"><file name="config.xml" hash="ca768c368135d2024a7bdee21c669bcf"/><file name="system.xml" hash="07af0e7fa439d3d6a6ec1cb8bf87d4dc"/></dir><dir name="sql"><dir name="slidermanager_setup"><file name="mysql4-install-1.0.1.php" hash="cde0ab63830402bd8ae54e1924eb1053"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="slidermanager.xml" hash="e5f5b8805eb56fb67f9b6ad7d9b4ac8d"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="slidermanager.xml" hash="8826815e333cc3284667a6dd7f62b54e"/></dir><dir name="template"><dir name="slidermanager"><file name="slidermanager.phtml" hash="04934aaf5091a92951339f9c465bd5ea"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="accessshop"><dir name="images"><file name="Thumbs.db" hash="d83c43a89869adbdc91eaa62635aefec"/><file name="bg-sequence.jpg" hash="b48a2495f724c7fbd4a0e398f02259c0"/><file name="bt-next.png" hash="8081d1cfe949a3018b5e709b447026bb"/><file name="bt-prev.png" hash="e2ea2770883e3e72f8b2ccc59b5fb10b"/></dir><dir name="slidermanager"><file name="accessshop-custom.css" hash="ff5c2ef151105b74f954af6f7a7b196d"/><file name="accessshop-responsive.css" hash="830dacd79b593899a21fb8ba78d66637"/><file name="sequencejs-theme.modern-slide-in-accessshop.css" hash="5d4c648c9185ce3359cbfb45702a2199"/></dir></dir></dir><dir name="js"><file name="jquery-2.1.1.js" hash="7403060950f4a13be3b3dfde0490ee05"/><file name="sequencejs-options.modern-slide-in.js" hash="a293d57b8d26099f0d0c2c590d8ec529"/><file name="jquery.sequence.js" hash="72edd3810e406c66c62358b72ed27fe3"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="AShop_Slidermanager.xml" hash="5eded0e19a8f1f6cd2f364e987fa6d8c"/></dir></target><target name="magemedia"><dir name="slidermanager"><file name="bg-sequence.jpg" hash="b48a2495f724c7fbd4a0e398f02259c0"/></dir></target></contents>
19
  <compatible/>
20
  <dependencies><required><php><min>5.4.0</min><max>5.7.0</max></php></required></dependencies>
21
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>AShop_Slider</name>
4
+ <version>1.0.2</version>
5
  <stability>stable</stability>
6
  <license>Open Software License (OSL)</license>
7
  <channel>community</channel>
13
  2.Awesome slider animation.&#xD;
14
  3.Responsive view</notes>
15
  <authors><author><name>AccessShop Themes</name><user>accessshopthemes</user><email>magento@access-keys.com</email></author></authors>
16
+ <date>2015-02-08</date>
17
+ <time>05:36:01</time>
18
+ <contents><target name="magelocal"><dir name="AShop"><dir name="Slidermanager"><dir name="Block"><dir name="Adminhtml"><dir name="Bannermanager"><file name="Custom.php" hash="396f3dbd6491745c5afd04d978d7fcab"/><dir name="Edit"><file name="Form.php" hash="0e97f186c5ed8e4f4d30e097996bd932"/><dir name="Tab"><file name="Custom.php" hash="3c79755f236e812b7b84f8fd77856c83"/><file name="Form.php" hash="908631344fd9d374486c7090dfb5d149"/></dir><file name="Tabs.php" hash="ab99c9fd6197b4e6e223f44dde31a285"/></dir><file name="Edit.php" hash="8c524367c93cdb07057c85fec6318425"/><file name="Grid.php" hash="b2bb40289fd020424800cb7d4da76659"/></dir><file name="Bannermanager.php" hash="a9166a84dd184cc8d8a77a56152268ad"/><dir name="Renderer"><file name="Bannerimage.php" hash="ad386e326669e26cdaeae647f284d6e8"/></dir><dir name="Slidermanager"><dir name="Edit"><file name="Form.php" hash="91e99b7ab2c881ce43eee4b94fc73724"/><dir name="Tab"><file name="Form.php" hash="af6daf55b724c2a2fdad593f6d9bd4f7"/></dir><file name="Tabs.php" hash="8984f9bd94fae4c18d8629958db85aa2"/></dir><file name="Edit.php" hash="d4254bd5904ee4ef1e0a37500a1d09dd"/><file name="Grid.php" hash="41b8a566f4a58526d50987aaf755c511"/></dir><file name="Slidermanager.php" hash="773deda701eb4cd27b92c15c53c20368"/><dir name="System"><dir name="Configuration"><file name="Implementcode.php" hash="54381fb6b43bac1b2bbd9e808375a89b"/></dir></dir></dir><file name="Slidermanager.php" hash="7857c7bc7fda35cc36945d1cc2aa435e"/></dir><dir name="Helper"><file name="Data.php" hash="1f4de9bef5987fc2b20ba817a37ffe20"/></dir><dir name="Model"><file name="Bannermanager.php" hash="e7393504ac06a351d22f4a153869a5bb"/><dir name="Mysql4"><dir name="Bannermanager"><file name="Collection.php" hash="3d06e79a7fcb6603b361b6b36d14e37e"/></dir><file name="Bannermanager.php" hash="1bf06cae29f062b04e73c23b6295bfd0"/><dir name="Slidermanager"><file name="Collection.php" hash="b67a6a10a1b042c87dc1dfde41f000d8"/></dir><file name="Slidermanager.php" hash="7b163fab15c72793cd7bc53ed7b03911"/></dir><file name="Select.php" hash="b2a8fac0565fda8687340c77cd13f3f0"/><file name="Slidermanager.php" hash="d6ebb12b7c2eca2f518b7dad9eec4a67"/><file name="Status.php" hash="abc616077967ce8efa66d85db097e30f"/><file name="Target.php" hash="08a0783d33b49b0ca031ef362b48366f"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="BannermanagerController.php" hash="6d9c7466dff5e9f4dfa640da2f673fc2"/><file name="SlidermanagerController.php" hash="4cebc960df824bae3dddc8fc6833bd41"/></dir><file name="IndexController.php" hash="eee5977e6ec7965074b5be4736d37797"/></dir><dir name="etc"><file name="config.xml" hash="aee9a332b21ba9c4a2571510aeb4344c"/><file name="system.xml" hash="07af0e7fa439d3d6a6ec1cb8bf87d4dc"/></dir><dir name="sql"><dir name="slidermanager_setup"><file name="mysql4-install-1.0.2.php" hash="cde0ab63830402bd8ae54e1924eb1053"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="slidermanager.xml" hash="e5f5b8805eb56fb67f9b6ad7d9b4ac8d"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="slidermanager.xml" hash="8826815e333cc3284667a6dd7f62b54e"/></dir><dir name="template"><dir name="slidermanager"><file name="slidermanager.phtml" hash="7b2d1f301ebc91314a582c52008f4786"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="accessshop"><dir name="images"><file name="Thumbs.db" hash="d83c43a89869adbdc91eaa62635aefec"/><file name="bg-sequence.jpg" hash="b48a2495f724c7fbd4a0e398f02259c0"/><file name="bt-next.png" hash="8081d1cfe949a3018b5e709b447026bb"/><file name="bt-prev.png" hash="e2ea2770883e3e72f8b2ccc59b5fb10b"/></dir><dir name="slidermanager"><file name="accessshop-custom.css" hash="ff5c2ef151105b74f954af6f7a7b196d"/><file name="accessshop-responsive.css" hash="830dacd79b593899a21fb8ba78d66637"/><file name="sequencejs-theme.modern-slide-in-accessshop.css" hash="5d4c648c9185ce3359cbfb45702a2199"/></dir></dir></dir><dir name="js"><file name="jquery-2.1.1.js" hash="7403060950f4a13be3b3dfde0490ee05"/><file name="sequencejs-options.modern-slide-in.js" hash="a293d57b8d26099f0d0c2c590d8ec529"/><file name="jquery.sequence.js" hash="72edd3810e406c66c62358b72ed27fe3"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="AShop_Slidermanager.xml" hash="5eded0e19a8f1f6cd2f364e987fa6d8c"/></dir></target><target name="magemedia"><dir name="slidermanager"><file name="bg-sequence.jpg" hash="b48a2495f724c7fbd4a0e398f02259c0"/></dir></target></contents>
19
  <compatible/>
20
  <dependencies><required><php><min>5.4.0</min><max>5.7.0</max></php></required></dependencies>
21
  </package>