Bassi_Imageslider - Version 1.0.5

Version Notes

Compatible version with magento 1.9.2.2

Download this release

Release Info

Developer Umesh
Extension Bassi_Imageslider
Version 1.0.5
Comparing to
See all releases


Code changes from version 1.0.4 to 1.0.5

app/code/community/Bassi/Imageslider/Block/About.php CHANGED
@@ -26,15 +26,15 @@ class Bassi_Imageslider_Block_About
26
  */
27
  public function render(Varien_Data_Form_Element_Abstract $element)
28
  {
29
- $logopath = 'http://www.magentocommerce.com/images/avatars/uploads/avatar_179510.png';
30
  $html = <<<HTML
31
- <div style="background:url('$logopath') no-repeat scroll 14px 14px #EAF0EE;border:1px solid #CCCCCC;margin-bottom:10px;padding:10px 5px 5px 164px;">
32
  <p>
33
  <strong>Magento Web Development and PREMIUM FREE/PAID MAGENTO EXTENSIONS</strong><br />
34
- <a href="http://www.magebassi.com/" target="_blank">Magebassi</a> offers a wide choice of nice-looking and easily editable free and premium Magento extensions.<br />
35
  </p>
36
  <p>
37
- You can <a href="http://www.magebassi.com/index.php/contacts/">Contact Us</a> for magento web development and customize new magento extensions per your requirement.
38
  </p>
39
  <p>
40
  <b>Magento Development:</b> We are expert in Magento, you may contact us for Installation, configuration, customization and any other magento tasks.
@@ -47,9 +47,12 @@ class Bassi_Imageslider_Block_About
47
  </p>
48
 
49
  <p>
50
- My extensions on <a href="http://www.magentocommerce.com/magento-connect/developer/magebassi#extensions" target="_blank">MagentoConnect</a><br />
51
  </p>
52
- <p>For any questions or quote please email us at <a href="mailto:magebassi@gmail.com">magebassi@gmail.com</a> or Skype: magebassi</p>
 
 
 
53
  <br />
54
  <p>To add the banner slider, please add the below codes for specific location:<br /><br />
55
 
26
  */
27
  public function render(Varien_Data_Form_Element_Abstract $element)
28
  {
29
+ $logopath = 'http://store.bassiwebs.com/bw.png';
30
  $html = <<<HTML
31
+ <div style="background:url('$logopath') no-repeat scroll 14px 14px #EAF0EE;border:1px solid #CCCCCC;margin-bottom:10px;padding:10px 5px 5px 233px;">
32
  <p>
33
  <strong>Magento Web Development and PREMIUM FREE/PAID MAGENTO EXTENSIONS</strong><br />
34
+ <a href="http://www.bassiwebs.com/" target="_blank">Bassiwebs</a> (Magebassi) offers a wide choice of nice-looking and easily editable free and premium Magento extensions.<br />
35
  </p>
36
  <p>
37
+ You can <a href="http://store.bassiwebs.com/contacts/">Contact Us</a> for magento web development and custom extensions per your requirement.
38
  </p>
39
  <p>
40
  <b>Magento Development:</b> We are expert in Magento, you may contact us for Installation, configuration, customization and any other magento tasks.
47
  </p>
48
 
49
  <p>
50
+ My extensions on <a href="http://www.magentocommerce.com/magento-connect/developer/bassiwebs" target="_blank">MagentoConnect</a><br />
51
  </p>
52
+ <p>
53
+ Store URL: <a href="http://store.bassiwebs.com/" target="_blank">Bassiwebs Store</a><br />
54
+ </p>
55
+ <p>For any questions or quote please email us at <a href="mailto:info@bassiwebs.com">info@bassiwebs.com</a> or Skype: umesh.bw</p>
56
  <br />
57
  <p>To add the banner slider, please add the below codes for specific location:<br /><br />
58
 
app/code/community/Bassi/Imageslider/Block/Adminhtml/Imageslider/Edit/Tab/Form.php CHANGED
@@ -100,7 +100,9 @@ class Bassi_Imageslider_Block_Adminhtml_Imageslider_Edit_Tab_Form extends Mage_A
100
  } elseif ( Mage::registry('imageslider_data') ) {
101
  $data = Mage::registry('imageslider_data')->getData();
102
  }
103
- $data['store_id'] = explode(',',$data['stores']);
 
 
104
  $form->setValues($data);
105
 
106
  return parent::_prepareForm();
100
  } elseif ( Mage::registry('imageslider_data') ) {
101
  $data = Mage::registry('imageslider_data')->getData();
102
  }
103
+ if (isset($data['stores'])) {
104
+ $data['store_id'] = explode(',',$data['stores']);
105
+ }
106
  $form->setValues($data);
107
 
108
  return parent::_prepareForm();
app/code/community/Bassi/Imageslider/controllers/Adminhtml/ImagesliderController.php CHANGED
@@ -75,13 +75,16 @@ class Bassi_Imageslider_Adminhtml_ImagesliderController extends Mage_Adminhtml_C
75
  }
76
 
77
  public function saveAction() {
78
- if ($data = $this->getRequest()->getPost()) {
79
-
80
- if($data['filename']['delete']==1){
81
- $data['filename']='';
82
- }
83
- elseif(is_array($data['filename'])){
84
- $data['filename']=$data['filename']['value'];
 
 
 
85
  }
86
 
87
  $file = new Varien_Io_File();
75
  }
76
 
77
  public function saveAction() {
78
+ if ($data = $this->getRequest()->getPost()) {
79
+
80
+ if(isset($data['filename']))
81
+ {
82
+ if(isset($data['filename']['delete']) && $data['filename']['delete']==1){
83
+ $data['filename']='';
84
+ }
85
+ elseif(is_array($data['filename'])){
86
+ $data['filename']=$data['filename']['value'];
87
+ }
88
  }
89
 
90
  $file = new Varien_Io_File();
app/code/community/Bassi/Imageslider/etc/adminhtml.xml CHANGED
@@ -2,13 +2,13 @@
2
  <config>
3
  <menu>
4
  <imageslider module="imageslider">
5
- <title>Magebassi Easy Banner Slider</title>
6
  <sort_order>50</sort_order>
7
  <children>
8
  <items module="imageslider">
9
  <title>Banner Manager</title>
10
  <sort_order>1</sort_order>
11
- <action>imageslider/adminhtml_imageslider</action>
12
  </items>
13
  <configitems module="imageslider">
14
  <title>Configuration Settings</title>
2
  <config>
3
  <menu>
4
  <imageslider module="imageslider">
5
+ <title>Bassiwebs Easy Banner Slider</title>
6
  <sort_order>50</sort_order>
7
  <children>
8
  <items module="imageslider">
9
  <title>Banner Manager</title>
10
  <sort_order>1</sort_order>
11
+ <action>adminhtml/imageslider</action>
12
  </items>
13
  <configitems module="imageslider">
14
  <title>Configuration Settings</title>
app/code/community/Bassi/Imageslider/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Bassi_Imageslider>
5
- <version>1.0.4</version>
6
  </Bassi_Imageslider>
7
  </modules>
8
  <global>
@@ -89,19 +89,19 @@
89
  </args>
90
  </imageslider>
91
  </routers>
92
- </frontend>
93
 
94
  <admin>
95
- <routers>
96
- <imageslider>
97
- <use>admin</use>
98
- <args>
99
- <module>Bassi_Imageslider</module>
100
- <frontName>imageslider</frontName>
101
- </args>
102
- </imageslider>
103
- </routers>
104
- </admin>
105
 
106
  <adminhtml>
107
  <layout>
2
  <config>
3
  <modules>
4
  <Bassi_Imageslider>
5
+ <version>1.0.5</version>
6
  </Bassi_Imageslider>
7
  </modules>
8
  <global>
89
  </args>
90
  </imageslider>
91
  </routers>
92
+ </frontend>
93
 
94
  <admin>
95
+ <routers>
96
+ <adminhtml>
97
+ <args>
98
+ <modules>
99
+ <Bassi_Imageslider after="Mage_Adminhtml">Bassi_Imageslider_Adminhtml</Bassi_Imageslider>
100
+ </modules>
101
+ </args>
102
+ </adminhtml>
103
+ </routers>
104
+ </admin>
105
 
106
  <adminhtml>
107
  <layout>
app/code/community/Bassi/Imageslider/etc/system.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <tabs>
4
  <bassi_extensions>
5
- <label>Magebassi Extensions</label>
6
  <sort_order>195</sort_order>
7
  </bassi_extensions>
8
  </tabs>
2
  <config>
3
  <tabs>
4
  <bassi_extensions>
5
+ <label>Bassiwebs Extensions</label>
6
  <sort_order>195</sort_order>
7
  </bassi_extensions>
8
  </tabs>
app/design/adminhtml/default/default/layout/imageslider.xml CHANGED
@@ -1,8 +1,8 @@
1
  <?xml version="1.0"?>
2
  <layout version="0.1.0">
3
- <imageslider_adminhtml_imageslider_index>
4
  <reference name="content">
5
  <block type="imageslider/adminhtml_imageslider" name="imageslider" />
6
  </reference>
7
- </imageslider_adminhtml_imageslider_index>
8
  </layout>
1
  <?xml version="1.0"?>
2
  <layout version="0.1.0">
3
+ <adminhtml_imageslider_index>
4
  <reference name="content">
5
  <block type="imageslider/adminhtml_imageslider" name="imageslider" />
6
  </reference>
7
+ </adminhtml_imageslider_index>
8
  </layout>
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Bassi_Imageslider</name>
4
- <version>1.0.4</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
- <summary>Magebassi Responsive Easy Banner Slider runs images as slider on CMS, Static and other custom locations</summary>
10
- <description>Magebassi Responsive Easy Banner Slider runs images as slider on CMS, Static and other custom locations</description>
11
- <notes>Latest version with great features.</notes>
12
- <authors><author><name>Umesh</name><user>magebassi</user><email>magebassi@gmail.com</email></author></authors>
13
- <date>2015-07-15</date>
14
- <time>13:23:12</time>
15
- <contents><target name="mageetc"><dir name="modules"><file name="Bassi_Imageslider.xml" hash="a8c36ce206a7a9d8d2d8339b3f405b24"/></dir></target><target name="magecommunity"><dir name="Bassi"><dir name="Imageslider"><dir name="Block"><file name="About.php" hash="4ba4ebc848a9c331252a0db03f18cd5b"/><dir name="Adminhtml"><dir name="Imageslider"><dir name="Edit"><file name="Form.php" hash="73754017c779889059e08847857cfcb2"/><dir name="Tab"><file name="Form.php" hash="6fd6cfc9a3ce0c11ae3a9a85320a9a8f"/></dir><file name="Tabs.php" hash="0027ca6619a101a1e3f74e1fdeda37c2"/></dir><file name="Edit.php" hash="5923f78330aba1235edc4df4c5a15944"/><file name="Grid.php" hash="7376b62a805d56d865067c4d2dde324e"/></dir><file name="Imageslider.php" hash="d867d9b9276617da08a3d196122f0918"/><dir name="Renderer"><file name="Image.php" hash="af8ff4d792b6aaf75fc7601eec2c4cc6"/></dir></dir><file name="Imageslider.php" hash="d40645c299f1c9873f363931a2c690fb"/></dir><dir name="Helper"><file name="Data.php" hash="35f56e21ffd3077c828660ccdf82c477"/></dir><dir name="Model"><file name="Imageslider.php" hash="e671f2eeda1cc42b4a40eda40976e7b6"/><file name="Imagethumbnails.php" hash="ecfd6af41125304096b2f456d32a9e1d"/><file name="Loader.php" hash="f3aba90f71a734baa4f85c6855c620f2"/><dir name="Mysql4"><dir name="Imageslider"><file name="Collection.php" hash="b0a9d2cb3a7f3ba14b4313f63f6fc803"/></dir><file name="Imageslider.php" hash="80ccef34bffd3d4f0b3e2456e85743d0"/></dir><file name="Status.php" hash="89601711d66ec1197a2a56bad82b8e71"/><file name="Style.php" hash="d3fc0185b402fa50b2fa4ee28f8e7ac8"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="ImagesliderController.php" hash="4af9c80fb587f6dec195354a6b724872"/></dir><file name="IndexController.php" hash="024e2e9b3930d9a1599181d9d87c9b3a"/></dir><dir name="etc"><file name="adminhtml.xml" hash="0be6f70945f6194997022598d1ac0b01"/><file name="config.xml" hash="86449d5934835cf02301be5be6e7d8d2"/><file name="system.xml" hash="5674b20fab176fc83204cf29ad55afd8"/></dir><dir name="sql"><dir name="imageslider_setup"><file name="mysql4-install-1.0.3.php" hash="0bfba0ac0e08cdca583e17a96bed496d"/><file name="mysql4-upgrade-1.0.3-1.0.4.php" hash="6f728ff7c001ed89c1ee66865b098853"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="imageslider.xml" hash="010a7877be47ff3dd60cc3956a541e79"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="imageslider"><file name="imageslider.phtml" hash="90c02c1107dc19d44c14c3d7c3da2746"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="bassi"><dir name="imageslider"><file name="blank.gif" hash="85fc87e214b7f9af23becb1f023a68ad"/><file name="camera-loader.gif" hash="cd2e13291ecdcac7f575beea6d84b099"/><file name="camera.css" hash="046a944f5490f8b893784a5387653723"/><file name="camera_skins.png" hash="44234b21bebe6b318aab47d9e9bbbee9"/><dir name="patterns"><file name="Thumbs.db" hash="b19b2fec4927988b4d12b6fd39902a0d"/><dir name="_notes"><file name="dwsync.xml" hash="bc529eeef5b0ff8170fe7b2cb9a95012"/></dir><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></dir></dir></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="bassi"><dir name="imageslider"><file name="camera.js" hash="f0170141ae2b520c1665c3771073f665"/><file name="camera.min.js" hash="fb5074c5cf40020f7d0ab68a6d96db97"/><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></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.3.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Bassi_Imageslider</name>
4
+ <version>1.0.5</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
+ <summary>Bassiwebs (Magebassi) Responsive Easy Banner Slider runs images as slider on CMS, Static and other custom locations.</summary>
10
+ <description>Bassiwebs (Magebassi) Responsive Easy Banner Slider runs images as slider on CMS, Static and other custom locations.</description>
11
+ <notes>Compatible version with magento 1.9.2.2 </notes>
12
+ <authors><author><name>Umesh</name><user>bassiwebs</user><email>info@bassiwebs.com</email></author></authors>
13
+ <date>2015-11-30</date>
14
+ <time>10:58:43</time>
15
+ <contents><target name="mageetc"><dir name="modules"><file name="Bassi_Imageslider.xml" hash="a8c36ce206a7a9d8d2d8339b3f405b24"/></dir></target><target name="magecommunity"><dir name="Bassi"><dir name="Imageslider"><dir name="Block"><file name="About.php" hash="8d47bfb2593d982fb9bda64bc6dda29d"/><dir name="Adminhtml"><dir name="Imageslider"><dir name="Edit"><file name="Form.php" hash="73754017c779889059e08847857cfcb2"/><dir name="Tab"><file name="Form.php" hash="a61512dbf61293e3eccaa4cb608d6ebc"/></dir><file name="Tabs.php" hash="0027ca6619a101a1e3f74e1fdeda37c2"/></dir><file name="Edit.php" hash="5923f78330aba1235edc4df4c5a15944"/><file name="Grid.php" hash="7376b62a805d56d865067c4d2dde324e"/></dir><file name="Imageslider.php" hash="d867d9b9276617da08a3d196122f0918"/><dir name="Renderer"><file name="Image.php" hash="af8ff4d792b6aaf75fc7601eec2c4cc6"/></dir></dir><file name="Imageslider.php" hash="d40645c299f1c9873f363931a2c690fb"/></dir><dir name="Helper"><file name="Data.php" hash="35f56e21ffd3077c828660ccdf82c477"/></dir><dir name="Model"><file name="Imageslider.php" hash="e671f2eeda1cc42b4a40eda40976e7b6"/><file name="Imagethumbnails.php" hash="ecfd6af41125304096b2f456d32a9e1d"/><file name="Loader.php" hash="f3aba90f71a734baa4f85c6855c620f2"/><dir name="Mysql4"><dir name="Imageslider"><file name="Collection.php" hash="b0a9d2cb3a7f3ba14b4313f63f6fc803"/></dir><file name="Imageslider.php" hash="80ccef34bffd3d4f0b3e2456e85743d0"/></dir><file name="Status.php" hash="89601711d66ec1197a2a56bad82b8e71"/><file name="Style.php" hash="d3fc0185b402fa50b2fa4ee28f8e7ac8"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="ImagesliderController.php" hash="e34d633d694d8ae361aefae90203f575"/></dir><file name="IndexController.php" hash="024e2e9b3930d9a1599181d9d87c9b3a"/></dir><dir name="etc"><file name="adminhtml.xml" hash="6b892cebf3a9abf6fde596247ea56300"/><file name="config.xml" hash="4016d87890cee8753f1ab5e56ce891d5"/><file name="system.xml" hash="44e37316c96d01b99178ebc7cb5571f7"/></dir><dir name="sql"><dir name="imageslider_setup"><file name="mysql4-install-1.0.3.php" hash="0bfba0ac0e08cdca583e17a96bed496d"/><file name="mysql4-upgrade-1.0.3-1.0.4.php" hash="6f728ff7c001ed89c1ee66865b098853"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="imageslider.xml" hash="bb5abc77ba631a714f65b6f7cd647d4a"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="imageslider"><file name="imageslider.phtml" hash="90c02c1107dc19d44c14c3d7c3da2746"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="bassi"><dir name="imageslider"><file name="blank.gif" hash="85fc87e214b7f9af23becb1f023a68ad"/><file name="camera-loader.gif" hash="cd2e13291ecdcac7f575beea6d84b099"/><file name="camera.css" hash="046a944f5490f8b893784a5387653723"/><file name="camera_skins.png" hash="44234b21bebe6b318aab47d9e9bbbee9"/><dir name="patterns"><file name="Thumbs.db" hash="b19b2fec4927988b4d12b6fd39902a0d"/><dir name="_notes"><file name="dwsync.xml" hash="bc529eeef5b0ff8170fe7b2cb9a95012"/></dir><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></dir></dir></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="bassi"><dir name="imageslider"><file name="camera.js" hash="f0170141ae2b520c1665c3771073f665"/><file name="camera.min.js" hash="fb5074c5cf40020f7d0ab68a6d96db97"/><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></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.3.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>