NextBits_BannerNext - Version 1.0.6

Version Notes

1.0.6
-minor text changes

1.0.5
-fixed compilation issue
-added files in base for easy installation
-fixed image sorting and excluding bug

Download this release

Release Info

Developer NextBits Web Solutions Pvt. Ltd.
Extension NextBits_BannerNext
Version 1.0.6
Comparing to
See all releases


Code changes from version 1.0.5 to 1.0.6

app/code/local/NextBits/BannerNext/Block/Banner.php CHANGED
@@ -8,9 +8,9 @@ class NextBits_BannerNext_Block_Banner extends Mage_Core_Block_Template
8
  protected function _getCollection($position = null) {
9
  $enabled = Mage::getStoreConfig('bannernext/general/active');
10
  if($enabled){
11
- if ($this->_collection ){
12
  return $this->_collection;
13
- }
14
  $storeId = Mage::app()->getStore()->getId();
15
  $this->_collection = Mage::getModel('bannernext/bannernext')->getCollection()
16
  ->addEnableFilter($this->_isActive);
8
  protected function _getCollection($position = null) {
9
  $enabled = Mage::getStoreConfig('bannernext/general/active');
10
  if($enabled){
11
+ /* if ($this->_collection ){
12
  return $this->_collection;
13
+ } */
14
  $storeId = Mage::app()->getStore()->getId();
15
  $this->_collection = Mage::getModel('bannernext/bannernext')->getCollection()
16
  ->addEnableFilter($this->_isActive);
app/code/local/NextBits/BannerNext/Block/Widget.php CHANGED
@@ -13,9 +13,9 @@ class NextBits_BannerNext_Block_Widget extends Mage_Core_Block_Template implemen
13
  if(!Mage::helper('bannernext')->isBannerNextModuleEnabled()){
14
  return new Varien_Data_Collection();
15
  }
16
- if ($this->_collection) {
17
  return $this->_collection;
18
- }
19
  $storeId = Mage::app()->getStore()->getId();
20
  $bannerId = $this->getData('banner_id');
21
  $this->_collection = Mage::getModel('bannernext/bannernext')->getCollection();
13
  if(!Mage::helper('bannernext')->isBannerNextModuleEnabled()){
14
  return new Varien_Data_Collection();
15
  }
16
+ /* if ($this->_collection) {
17
  return $this->_collection;
18
+ } */
19
  $storeId = Mage::app()->getStore()->getId();
20
  $bannerId = $this->getData('banner_id');
21
  $this->_collection = Mage::getModel('bannernext/bannernext')->getCollection();
app/code/local/NextBits/BannerNext/etc/config.xml CHANGED
@@ -17,7 +17,7 @@
17
  </routers>
18
  <layout>
19
  <updates>
20
- <bannernext>
21
  <file>bannernext.xml</file>
22
  </bannernext>
23
  </updates>
@@ -47,7 +47,7 @@
47
  <adminhtml>
48
  <menu>
49
  <bannernext module="bannernext">
50
- <title>BannerNext</title>
51
  <sort_order>71</sort_order>
52
  <children>
53
  <items module="bannernext">
@@ -71,7 +71,7 @@
71
  <admin>
72
  <children>
73
  <bannernext module="bannernext">
74
- <title>BannerNext</title>
75
  <sort_order>71</sort_order>
76
  <children>
77
  <items module="bannernext">
17
  </routers>
18
  <layout>
19
  <updates>
20
+ <bannernext module="NextBits_BannerNext">
21
  <file>bannernext.xml</file>
22
  </bannernext>
23
  </updates>
47
  <adminhtml>
48
  <menu>
49
  <bannernext module="bannernext">
50
+ <title>Banner Next</title>
51
  <sort_order>71</sort_order>
52
  <children>
53
  <items module="bannernext">
71
  <admin>
72
  <children>
73
  <bannernext module="bannernext">
74
+ <title>Banner Next</title>
75
  <sort_order>71</sort_order>
76
  <children>
77
  <items module="bannernext">
app/code/local/NextBits/BannerNext/etc/system.xml CHANGED
@@ -26,7 +26,7 @@
26
  <show_in_store>1</show_in_store>
27
  <fields>
28
  <active translate="label">
29
- <label>Enable BannerNext</label>
30
  <frontend_type>select</frontend_type>
31
  <source_model>adminhtml/system_config_source_yesno</source_model>
32
  <sort_order>1</sort_order>
26
  <show_in_store>1</show_in_store>
27
  <fields>
28
  <active translate="label">
29
+ <label>Enable Banner Next</label>
30
  <frontend_type>select</frontend_type>
31
  <source_model>adminhtml/system_config_source_yesno</source_model>
32
  <sort_order>1</sort_order>
package.xml CHANGED
@@ -1,20 +1,24 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>NextBits_BannerNext</name>
4
- <version>1.0.5</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>NextBits BannerNext Magento extension for image slider</summary>
10
  <description>NextBits BannerNext Magento extension for image slider</description>
11
- <notes>-fixed compilation issue &#xD;
 
 
 
 
12
  -added files in base for easy installation&#xD;
13
  -fixed image sorting and excluding bug</notes>
14
  <authors><author><name>NextBits Web Solutions Pvt. Ltd.</name><user>nextbits</user><email>nextbitswebsolutions@gmail.com</email></author></authors>
15
- <date>2013-07-17</date>
16
- <time>09:39:20</time>
17
- <contents><target name="magelocal"><dir name="NextBits"><dir name="BannerNext"><dir name="Block"><dir name="Adminhtml"><dir name="Bannernext"><dir name="Edit"><file name="Form.php" hash="9763bc5539158fe58850903def6a98c1"/><dir name="Tab"><file name="Category.php" hash="a59198b47f2e2be1bd0e07438ab515df"/><file name="Form.php" hash="ead5fe37c6d0a9159e06636482a6f509"/><file name="Gallery.php" hash="a74000a133b9f4cf81e0a8c6b4e6e344"/><file name="Page.php" hash="419317f71e24be03b0ed7679c1b54b44"/></dir><file name="Tabs.php" hash="f5153f8733262a9451ac7c8a7d918d95"/></dir><file name="Edit.php" hash="031a49e1568256fa85a679bdb73fb913"/><file name="Grid.php" hash="e932163a96996acae0fbda1a18952120"/></dir><file name="Bannernext.php" hash="ab5d95494ed6d690fecaf096478757eb"/></dir><file name="Banner.php" hash="3e256daca001f9abc5f8fef65ea42b69"/><file name="Widget.php" hash="96e50ce31441c10fe7cc2788b8a5366d"/></dir><dir name="Helper"><file name="Data.php" hash="c7bc1d6546d2656901f3854758cffbb3"/></dir><dir name="Model"><file name="Availablebanners.php" hash="53038f28b8c515ddf2a24af11f3b5b81"/><file name="Bannernext.php" hash="9e343e39648e68e4a8a4fd2a4f511267"/><dir name="Config"><dir name="Source"><file name="Page.php" hash="607fa1de1fc1a7149b6e960d1469b403"/><file name="Position.php" hash="16f3d9b6ef4a25283ebeb1ee221350e2"/></dir></dir><dir name="Mysql4"><dir name="Bannernext"><file name="Collection.php" hash="eac6374b499da5fd9fbd9dfa9d2e3942"/></dir><file name="Bannernext.php" hash="d705c144162806567657123fa78ddf28"/></dir><file name="Observer.php" hash="5ea4f494b766b291bd3ac8f7ce19884c"/><file name="Status.php" hash="13df58ea078181d6997ea36212ede89a"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="BannernextController.php" hash="21d22e7eb1d2a34fe9ce71220f73d27c"/></dir></dir><dir name="etc"><file name="config.xml" hash="1ade3df667b5ab461af7cf1712851fd2"/><file name="system.xml" hash="4285828117ebef41d74c8fe4dcf42751"/><file name="widget.xml" hash="ada7fddb76e7b0d9b5ea5cd231baec28"/></dir><dir name="sql"><dir name="bannernext_setup"><file name="mysql4-install-0.1.0.php" hash="cb466300a00defcbd3425043d052cd92"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="bannernext.xml" hash="8a1494f85f7d1f41eb3b1c2407212b3e"/></dir><dir name="template"><dir name="bannernext"><file name="banner.phtml" hash="f78536f489706dcd536a50ba6808bb2b"/><file name="banner.phtml#" hash="7c4bc6443a2929ba2eca37f164c0aa80"/><dir name="edit"><dir name="tab"><file name="category.phtml" hash="fd539d50d42bfcb80a21a1257aef2121"/><file name="gallery-backup-editor.txt" hash="71e42a74a55998897f6e012d16c4a670"/><file name="gallery.phtml" hash="9c2701ec2327a797685e758aaaad7a12"/><file name="image.phtml" hash="6832ef1caacae2b1a8addf424c75d80f"/></dir></dir><file name="uploader.phtml" hash="092da0e260a48788d43720387bd4c5f6"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="bannernext.xml" hash="9d69326ccd164591934938bfe248a6a5"/></dir><dir name="template"><dir name="bannernext"><file name="banner.phtml" hash="ae234c7d653081105c6b8bf18ef0d47e"/></dir></dir></dir></dir><dir name="base"><dir name="default"><dir name="layout"><file name="bannernext.xml" hash="9d69326ccd164591934938bfe248a6a5"/></dir><dir name="template"><dir name="bannernext"><file name="banner.phtml" hash="ae234c7d653081105c6b8bf18ef0d47e"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="NextBits_BannerNext.xml" hash="b809bfd4b663a71632a77191ce0500eb"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="bannernext"><dir name="skitter_slideshow"><dir name="css"><file name="highlight.black.css" hash="788c79331b0b1cd63920861fac19510b"/><file name="highlight.css" hash="9740467c0a8249bce6a00371eebc5c96"/><file name="skitter.styles.css" hash="2c9dac90fd64914d3865ef01a602afcd"/><file name="skitter.styles.responsive.css" hash="1d015f82ea443425948982b5a1068456"/></dir><dir name="images"><file name="ajax-loader.gif" hash="37e24e0370847870c1c43ea9ce19b1f4"/><file name="back-box-label-black.png" hash="b01b0552b61224f13e80b1ec834e33c9"/><file name="background.gif" hash="4e3d49edf41760318255a96712e2e943"/><file name="focus-button.png" hash="c7c65a7e866cfd9eda4df3431c0e58d7"/><file name="next.png" hash="60a367588cbd341acab2216629d41f39"/><file name="pause-button.png" hash="4ade832a2c3cad15e3e3e18db7b8cbd5"/><file name="play-button.png" hash="9fc21ab2e0572a5219e9caa1dc67f2e1"/><file name="prev.png" hash="f1c757b12560aeb70a1aa4898c8c3aad"/></dir><dir name="js"><file name="highlight.js" hash="fa006a4cff74da2811e5e4750d697f46"/><file name="jquery.animate-colors-min.js" hash="b61bdf5245e4d30450e78687faee5fca"/><file name="jquery.easing.1.3.js" hash="a6f75e0c043a2a087837e5c113cc6f7a"/><file name="jquery.skitter.js" hash="628711ead56282025dfe36d47eb4972f"/><file name="jquery.skitter.min.js" hash="4726d85b97e99fabe29aa5c3c4a8cf47"/></dir></dir></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="bannernext"><dir name="jquery"><file name="jquery-1.8.1.min.js" hash="a9a0cc296e96bbeaa0f82498e2da0917"/><file name="jquery.noconflict.js" hash="3179f2255b046d5f2e9a71e365287bef"/></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="NextBits_BannerNext.csv" hash="f645242cea8a69ca09df5d62b4e9ec0d"/></dir></target></contents>
18
  <compatible/>
19
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
20
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>NextBits_BannerNext</name>
4
+ <version>1.0.6</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>NextBits BannerNext Magento extension for image slider</summary>
10
  <description>NextBits BannerNext Magento extension for image slider</description>
11
+ <notes>1.0.6&#xD;
12
+ -minor text changes&#xD;
13
+ &#xD;
14
+ 1.0.5&#xD;
15
+ -fixed compilation issue &#xD;
16
  -added files in base for easy installation&#xD;
17
  -fixed image sorting and excluding bug</notes>
18
  <authors><author><name>NextBits Web Solutions Pvt. Ltd.</name><user>nextbits</user><email>nextbitswebsolutions@gmail.com</email></author></authors>
19
+ <date>2013-07-31</date>
20
+ <time>12:43:33</time>
21
+ <contents><target name="magelocal"><dir name="NextBits"><dir name="BannerNext"><dir name="Block"><dir name="Adminhtml"><dir name="Bannernext"><dir name="Edit"><file name="Form.php" hash="9763bc5539158fe58850903def6a98c1"/><dir name="Tab"><file name="Category.php" hash="a59198b47f2e2be1bd0e07438ab515df"/><file name="Form.php" hash="ead5fe37c6d0a9159e06636482a6f509"/><file name="Gallery.php" hash="a74000a133b9f4cf81e0a8c6b4e6e344"/><file name="Page.php" hash="419317f71e24be03b0ed7679c1b54b44"/></dir><file name="Tabs.php" hash="f5153f8733262a9451ac7c8a7d918d95"/></dir><file name="Edit.php" hash="031a49e1568256fa85a679bdb73fb913"/><file name="Grid.php" hash="e932163a96996acae0fbda1a18952120"/></dir><file name="Bannernext.php" hash="ab5d95494ed6d690fecaf096478757eb"/></dir><file name="Banner.php" hash="b5cf326ade5841d931bfe7065676903e"/><file name="Widget.php" hash="1a372af5d4aaa02e192413790b4824b9"/></dir><dir name="Helper"><file name="Data.php" hash="c7bc1d6546d2656901f3854758cffbb3"/></dir><dir name="Model"><file name="Availablebanners.php" hash="53038f28b8c515ddf2a24af11f3b5b81"/><file name="Bannernext.php" hash="9e343e39648e68e4a8a4fd2a4f511267"/><dir name="Config"><dir name="Source"><file name="Page.php" hash="607fa1de1fc1a7149b6e960d1469b403"/><file name="Position.php" hash="16f3d9b6ef4a25283ebeb1ee221350e2"/></dir></dir><dir name="Mysql4"><dir name="Bannernext"><file name="Collection.php" hash="eac6374b499da5fd9fbd9dfa9d2e3942"/></dir><file name="Bannernext.php" hash="d705c144162806567657123fa78ddf28"/></dir><file name="Observer.php" hash="5ea4f494b766b291bd3ac8f7ce19884c"/><file name="Status.php" hash="13df58ea078181d6997ea36212ede89a"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="BannernextController.php" hash="21d22e7eb1d2a34fe9ce71220f73d27c"/></dir></dir><dir name="etc"><file name="config.xml" hash="0f33fcaf1bbeb7051c6664a165449b13"/><file name="system.xml" hash="9c75d62c7c04553bef89f70b71fba964"/><file name="widget.xml" hash="ada7fddb76e7b0d9b5ea5cd231baec28"/></dir><dir name="sql"><dir name="bannernext_setup"><file name="mysql4-install-0.1.0.php" hash="cb466300a00defcbd3425043d052cd92"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="bannernext.xml" hash="8a1494f85f7d1f41eb3b1c2407212b3e"/></dir><dir name="template"><dir name="bannernext"><file name="banner.phtml" hash="f78536f489706dcd536a50ba6808bb2b"/><file name="banner.phtml#" hash="7c4bc6443a2929ba2eca37f164c0aa80"/><dir name="edit"><dir name="tab"><file name="category.phtml" hash="fd539d50d42bfcb80a21a1257aef2121"/><file name="gallery-backup-editor.txt" hash="71e42a74a55998897f6e012d16c4a670"/><file name="gallery.phtml" hash="9c2701ec2327a797685e758aaaad7a12"/><file name="image.phtml" hash="6832ef1caacae2b1a8addf424c75d80f"/></dir></dir><file name="uploader.phtml" hash="092da0e260a48788d43720387bd4c5f6"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="bannernext.xml" hash="9d69326ccd164591934938bfe248a6a5"/></dir><dir name="template"><dir name="bannernext"><file name="banner.phtml" hash="ae234c7d653081105c6b8bf18ef0d47e"/></dir></dir></dir></dir><dir name="base"><dir name="default"><dir name="layout"><file name="bannernext.xml" hash="9d69326ccd164591934938bfe248a6a5"/></dir><dir name="template"><dir name="bannernext"><file name="banner.phtml" hash="ae234c7d653081105c6b8bf18ef0d47e"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="NextBits_BannerNext.xml" hash="b809bfd4b663a71632a77191ce0500eb"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="bannernext"><dir name="skitter_slideshow"><dir name="css"><file name="highlight.black.css" hash="788c79331b0b1cd63920861fac19510b"/><file name="highlight.css" hash="9740467c0a8249bce6a00371eebc5c96"/><file name="skitter.styles.css" hash="2c9dac90fd64914d3865ef01a602afcd"/><file name="skitter.styles.responsive.css" hash="1d015f82ea443425948982b5a1068456"/></dir><dir name="images"><file name="ajax-loader.gif" hash="37e24e0370847870c1c43ea9ce19b1f4"/><file name="back-box-label-black.png" hash="b01b0552b61224f13e80b1ec834e33c9"/><file name="background.gif" hash="4e3d49edf41760318255a96712e2e943"/><file name="focus-button.png" hash="c7c65a7e866cfd9eda4df3431c0e58d7"/><file name="next.png" hash="60a367588cbd341acab2216629d41f39"/><file name="pause-button.png" hash="4ade832a2c3cad15e3e3e18db7b8cbd5"/><file name="play-button.png" hash="9fc21ab2e0572a5219e9caa1dc67f2e1"/><file name="prev.png" hash="f1c757b12560aeb70a1aa4898c8c3aad"/></dir><dir name="js"><file name="highlight.js" hash="fa006a4cff74da2811e5e4750d697f46"/><file name="jquery.animate-colors-min.js" hash="b61bdf5245e4d30450e78687faee5fca"/><file name="jquery.easing.1.3.js" hash="a6f75e0c043a2a087837e5c113cc6f7a"/><file name="jquery.skitter.js" hash="628711ead56282025dfe36d47eb4972f"/><file name="jquery.skitter.min.js" hash="4726d85b97e99fabe29aa5c3c4a8cf47"/></dir></dir></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="bannernext"><dir name="jquery"><file name="jquery-1.8.1.min.js" hash="a9a0cc296e96bbeaa0f82498e2da0917"/><file name="jquery.noconflict.js" hash="3179f2255b046d5f2e9a71e365287bef"/></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="NextBits_BannerNext.csv" hash="f645242cea8a69ca09df5d62b4e9ec0d"/></dir></target></contents>
22
  <compatible/>
23
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
24
  </package>