Banners - Version 1.3.5

Version Notes

NOTE: Please download the Latest release 1.3.5 from Releases section!

Download this release

Release Info

Developer Magento Core Team
Extension Banners
Version 1.3.5
Comparing to
See all releases


Code changes from version 1.3.4 to 1.3.5

app/code/local/Mage/Banners/sql/banners_setup/mysql4-install-1.3.5.php ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ $installer = $this;
4
+
5
+ $installer->startSetup();
6
+
7
+ $installer->run("
8
+
9
+ -- DROP TABLE IF EXISTS {$this->getTable('banners')};
10
+ CREATE TABLE `banners` (
11
+ `banners_id` int(11) unsigned NOT NULL auto_increment,
12
+ `title` varchar(255) NOT NULL default '',
13
+ `bannerimage` varchar(255) NOT NULL default '',
14
+ `filethumbgrid` text,
15
+ `link` varchar(255) default NULL,
16
+ `target` varchar(255) default NULL,
17
+ `textblend` varchar(255) default NULL,
18
+ `content` text NOT NULL,
19
+ `status` smallint(6) NOT NULL default '0',
20
+ `created_time` datetime default NULL,
21
+ `update_time` datetime default NULL,
22
+ PRIMARY KEY (`banners_id`)
23
+ ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
24
+
25
+ ");
26
+
27
+ $installer->run("
28
+ insert into `core_config_data` (`scope`, `scope_id`, `path`, `value`) values('default','0','advanced/modules_disable_output/Mage_Banners','0');
29
+ insert into `core_config_data` (`scope`, `scope_id`, `path`, `value`) values('default','0','banners/general/banner_width','564');
30
+ insert into `core_config_data` (`scope`, `scope_id`, `path`, `value`) values('default','0','banners/general/banner_height','345');
31
+ insert into `core_config_data` (`scope`, `scope_id`, `path`, `value`) values('default','0','banners/general/banner_backgroundcolor','FFFFFF');
32
+ insert into `core_config_data` (`scope`, `scope_id`, `path`, `value`) values('default','0','banners/textsettings/text_size','12');
33
+ insert into `core_config_data` (`scope`, `scope_id`, `path`, `value`) values('default','0','banners/textsettings/text_color','');
34
+ insert into `core_config_data` (`scope`, `scope_id`, `path`, `value`) values('default','0','banners/textsettings/text_area_width','200');
35
+ insert into `core_config_data` (`scope`, `scope_id`, `path`, `value`) values('default','0','banners/textsettings/text_line_spacing','0');
36
+ insert into `core_config_data` (`scope`, `scope_id`, `path`, `value`) values('default','0','banners/textsettings/text_margin_left','12');
37
+ insert into `core_config_data` (`scope`, `scope_id`, `path`, `value`) values('default','0','banners/textsettings/text_letter_spacing','-0.5');
38
+ insert into `core_config_data` (`scope`, `scope_id`, `path`, `value`) values('default','0','banners/textsettings/text_margin_bottom','5');
39
+ insert into `core_config_data` (`scope`, `scope_id`, `path`, `value`) values('default','0','banners/textsettings/text_background_blur','1');
40
+ insert into `core_config_data` (`scope`, `scope_id`, `path`, `value`) values('default','0','banners/textsettings/text_background_transparency','30');
41
+ insert into `core_config_data` (`scope`, `scope_id`, `path`, `value`) values('default','0','banners/textsettings/text_background_color','333333');
42
+ insert into `core_config_data` (`scope`, `scope_id`, `path`, `value`) values('default','0','banners/transition/transition_type','4');
43
+ insert into `core_config_data` (`scope`, `scope_id`, `path`, `value`) values('default','0','banners/transition/transition_blur','1');
44
+ insert into `core_config_data` (`scope`, `scope_id`, `path`, `value`) values('default','0','banners/transition/transition_speed','10');
45
+ insert into `core_config_data` (`scope`, `scope_id`, `path`, `value`) values('default','0','banners/transition/transition_delay_time_fixed','10');
46
+ insert into `core_config_data` (`scope`, `scope_id`, `path`, `value`) values('default','0','banners/transition/transition_random_effects','0');
47
+ insert into `core_config_data` (`scope`, `scope_id`, `path`, `value`) values('default','0','banners/transition/transition_delay_time_per_word','.5');
48
+ insert into `core_config_data` (`scope`, `scope_id`, `path`, `value`) values('default','0','banners/showhide/show_timer_clock','0');
49
+ insert into `core_config_data` (`scope`, `scope_id`, `path`, `value`) values('default','0','banners/showhide/show_next_button','0');
50
+ insert into `core_config_data` (`scope`, `scope_id`, `path`, `value`) values('default','0','banners/showhide/show_back_button','0');
51
+ insert into `core_config_data` (`scope`, `scope_id`, `path`, `value`) values('default','0','banners/showhide/show_number_buttons','0');
52
+ insert into `core_config_data` (`scope`, `scope_id`, `path`, `value`) values('default','0','banners/showhide/show_number_buttons_always','0');
53
+ insert into `core_config_data` (`scope`, `scope_id`, `path`, `value`) values('default','0','banners/showhide/show_number_buttons_horizontal','1');
54
+ insert into `core_config_data` (`scope`, `scope_id`, `path`, `value`) values('default','0','banners/showhide/show_number_buttons_ascending','1');
55
+ insert into `core_config_data` (`scope`, `scope_id`, `path`, `value`) values('default','0','banners/showhide/show_play_pause_on_timer','1');
56
+ insert into `core_config_data` (`scope`, `scope_id`, `path`, `value`) values('default','0','banners/showhide/align_buttons_left','0');
57
+ insert into `core_config_data` (`scope`, `scope_id`, `path`, `value`) values('default','0','banners/showhide/align_text_top','0');
58
+ insert into `core_config_data` (`scope`, `scope_id`, `path`, `value`) values('default','0','banners/showhide/auto_play','0');
59
+ insert into `core_config_data` (`scope`, `scope_id`, `path`, `value`) values('default','0','banners/general/auto_play','1');
60
+ insert into `core_config_data` (`scope`, `scope_id`, `path`, `value`) values('default','0','banners/general/image_resize_to_fit','1');
61
+ insert into `core_config_data` (`scope`, `scope_id`, `path`, `value`) values('default','0','banners/general/image_randomize_order','0');
62
+
63
+ ");
64
+
65
+ $installer->endSetup();
app/code/local/Mage/Banners/sql/banners_setup/mysql4-uninstall-1.3.5.php ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Testimonial extension
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * @category Usol
13
+ * @package Testimonial
14
+ * @copyright Copyright (c) 2009 Unitedsol.net
15
+ */
16
+
17
+ /**
18
+ * @category Testimonial
19
+ * @package Testimonial
20
+ * @author Kamran Rafiq Malik <kamran.malik@unitedsol.net>
21
+ */
22
+
23
+ $installer = $this;
24
+
25
+ $installer->startSetup();
26
+
27
+ $installer->run("
28
+ DROP TABLE `{$this->getTable('banners')}`;
29
+ ");
30
+
31
+ $installer->endSetup();
app/code/local/Mage/Banners/sql/banners_setup/{mysql4-install-0.1.0.php → mysql4-upgrade-1.3.1-1.3.2-1.3.3-1.3.4.php} RENAMED
@@ -1,29 +1,30 @@
1
  <?php
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
 
3
  $installer = $this;
 
4
 
5
  $installer->startSetup();
6
 
7
- $installer->run("
8
-
9
- -- DROP TABLE IF EXISTS {$this->getTable('banners')};
10
- CREATE TABLE `banners` (
11
- `banners_id` int(11) unsigned NOT NULL auto_increment,
12
- `title` varchar(255) NOT NULL default '',
13
- `bannerimage` varchar(255) NOT NULL default '',
14
- `filethumbgrid` text,
15
- `link` varchar(255) default NULL,
16
- `target` varchar(255) default NULL,
17
- `textblend` varchar(255) default NULL,
18
- `content` text NOT NULL,
19
- `status` smallint(6) NOT NULL default '0',
20
- `created_time` datetime default NULL,
21
- `update_time` datetime default NULL,
22
- PRIMARY KEY (`banners_id`)
23
- ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
24
-
25
- ");
26
-
27
  $installer->setConfigData('banners/general/banner_width', '600');
28
  $installer->setConfigData('banners/general/banner_height', '400');
29
  $installer->setConfigData('banners/general/banner_backgroundcolor', 'FFFFFF');
@@ -60,4 +61,6 @@ $installer->setConfigData('banners/showhide/show_play_pause_on_timer', 'yes');
60
  $installer->setConfigData('banners/showhide/align_buttons_left', 'no');
61
  $installer->setConfigData('banners/showhide/align_text_top', 'no');
62
 
63
- $installer->endSetup();
 
 
1
  <?php
2
+ /**
3
+ * Testimonial extension
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Open Software License (OSL 3.0)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * @category Usol
13
+ * @package Testimonial
14
+ * @copyright Copyright (c) 2009 Unitedsol.net
15
+ */
16
+
17
+ /**
18
+ * @category Testimonial
19
+ * @package Testimonial
20
+ * @author Kamran Rafiq Malik <kamran.malik@unitedsol.net>
21
+ */
22
 
23
  $installer = $this;
24
+ $connection = $installer->getConnection();
25
 
26
  $installer->startSetup();
27
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  $installer->setConfigData('banners/general/banner_width', '600');
29
  $installer->setConfigData('banners/general/banner_height', '400');
30
  $installer->setConfigData('banners/general/banner_backgroundcolor', 'FFFFFF');
61
  $installer->setConfigData('banners/showhide/align_buttons_left', 'no');
62
  $installer->setConfigData('banners/showhide/align_text_top', 'no');
63
 
64
+ $installer->endSetup();
65
+
66
+
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Banners</name>
4
- <version>1.3.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>Banner is a flexible solution that allow to manage banners in the easiest way.</summary>
10
  <description>Banner is a flexible solution that allow to manage banners in the easiest way.</description>
11
- <notes>NOTE: Please download the Latest release 1.3.4 from Releases section!</notes>
12
  <authors><author><name>Kamran Rafiq Malik</name><user>auto-converted</user><email>kamran.malik@unitedsol.net</email></author></authors>
13
- <date>2010-04-27</date>
14
- <time>10:11:03</time>
15
- <contents><target name="mage"><dir name="media"><dir name="Banners"><dir name="images"><file name="logo.png" hash="e33c86d89150a2d02f293f99aad7c062"/><file name="Thumbs.db" hash="86ab2948d980c4f219310c1caa85703d"/></dir><dir name="swf"><file name="banner.fla" hash="6c9b61429a2cf82af339e0dfe7b89911"/><file name="banner.swf" hash="3aa22fdf4e195134e9da0c781a5c6670"/><file name="swfobject.js" hash="b687734407abd950392ae2344b283b2c"/></dir><file name="banner.swf" hash="3aa22fdf4e195134e9da0c781a5c6670"/><file name="data.xml" hash="33e8b0ce39d2d7e50683cd6f938172b6"/></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="banners.xml" hash="f614af3a90e6ecadc2fea0a7bd1966a9"/></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="banners.xml" hash="eaeb8086698ff4465edebcd738ecda25"/></dir><dir name="template"><dir name="banners"><file name="banners.phtml" hash="824bda76e9eec726073d89de03ce48a1"/></dir></dir></dir></dir></dir></target><target name="magelocal"><dir name="Mage"><dir name="Banners"><dir name="Block"><dir name="Adminhtml"><dir name="Banners"><dir name="Edit"><dir name="Tab"><file name="Form.php" hash="e09386ac043a9d6fe402a3f8ff0bca25"/></dir><file name="Form.php" hash="5d28449951793e81ddbe3c5be99fad57"/><file name="Tabs.php" hash="f2bf342dfb322366e4d509a35aafd8d5"/></dir><file name="Edit.php" hash="4b31a335d0cce9c08c83033effd2ecd1"/><file name="Grid.php" hash="899bb9d583533515949c0ac2daea7c37"/></dir><file name="Banners.php" hash="f2445f14f813ce3276ddb6968112c0cc"/></dir><file name="Banners.php" hash="3bdaf9b98b564cca8056547f916d0f79"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="BannersController.php" hash="03a7b537274fa9def54501e956f511dc"/></dir><file name="IndexController.php" hash="a78df40c48b7ae16740ce79d047a7102"/></dir><dir name="etc"><file name="config.xml" hash="c04d625b5ebb66928dd9b309a3c9b8fc"/><file name="system.xml" hash="9a264a9c392206ef61ed5e17139f9386"/></dir><dir name="Helper"><file name="Data.php" hash="987b8f60662e4122192f78288b632f2a"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Banners"><file name="Collection.php" hash="3ba445eb7573d27e26f010b1eeadb043"/></dir><file name="Banners.php" hash="527016301edf177b1604dbe98c722756"/></dir><file name="Banners.php" hash="07374201a9f0549c2986f42ece034a8b"/><file name="Status.php" hash="0cf9313a923b991e71949ff8c993156c"/></dir><dir name="sql"><dir name="banners_setup"><file name="mysql4-install-0.1.0.php" hash="16f8d27adfe19f3a668c3dbe7e58bf24"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Mage_Banners.xml" hash="00231c699a70c089c808243400500e5e"/></dir></target><target name="magelib"><dir name="Varien"><dir name="Data"><dir name="Form"><dir name="Element"><file name="Thumbnail.php" hash="8909f9c5df2188e6eefc3f6509cafa76"/></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Banners</name>
4
+ <version>1.3.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>Banner is a flexible solution that allow to manage banners in the easiest way.</summary>
10
  <description>Banner is a flexible solution that allow to manage banners in the easiest way.</description>
11
+ <notes>NOTE: Please download the Latest release 1.3.5 from Releases section!</notes>
12
  <authors><author><name>Kamran Rafiq Malik</name><user>auto-converted</user><email>kamran.malik@unitedsol.net</email></author></authors>
13
+ <date>2010-04-28</date>
14
+ <time>05:30:14</time>
15
+ <contents><target name="mage"><dir name="media"><dir name="Banners"><dir name="images"><file name="logo.png" hash="e33c86d89150a2d02f293f99aad7c062"/><file name="Thumbs.db" hash="86ab2948d980c4f219310c1caa85703d"/></dir><dir name="swf"><file name="banner.fla" hash="6c9b61429a2cf82af339e0dfe7b89911"/><file name="banner.swf" hash="3aa22fdf4e195134e9da0c781a5c6670"/><file name="swfobject.js" hash="b687734407abd950392ae2344b283b2c"/></dir><file name="banner.swf" hash="3aa22fdf4e195134e9da0c781a5c6670"/><file name="data.xml" hash="33e8b0ce39d2d7e50683cd6f938172b6"/></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="banners.xml" hash="f614af3a90e6ecadc2fea0a7bd1966a9"/></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="banners.xml" hash="eaeb8086698ff4465edebcd738ecda25"/></dir><dir name="template"><dir name="banners"><file name="banners.phtml" hash="824bda76e9eec726073d89de03ce48a1"/></dir></dir></dir></dir></dir></target><target name="magelocal"><dir name="Mage"><dir name="Banners"><dir name="Block"><dir name="Adminhtml"><dir name="Banners"><dir name="Edit"><dir name="Tab"><file name="Form.php" hash="e09386ac043a9d6fe402a3f8ff0bca25"/></dir><file name="Form.php" hash="5d28449951793e81ddbe3c5be99fad57"/><file name="Tabs.php" hash="f2bf342dfb322366e4d509a35aafd8d5"/></dir><file name="Edit.php" hash="4b31a335d0cce9c08c83033effd2ecd1"/><file name="Grid.php" hash="899bb9d583533515949c0ac2daea7c37"/></dir><file name="Banners.php" hash="f2445f14f813ce3276ddb6968112c0cc"/></dir><file name="Banners.php" hash="3bdaf9b98b564cca8056547f916d0f79"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="BannersController.php" hash="03a7b537274fa9def54501e956f511dc"/></dir><file name="IndexController.php" hash="a78df40c48b7ae16740ce79d047a7102"/></dir><dir name="etc"><file name="config.xml" hash="c04d625b5ebb66928dd9b309a3c9b8fc"/><file name="system.xml" hash="9a264a9c392206ef61ed5e17139f9386"/></dir><dir name="Helper"><file name="Data.php" hash="987b8f60662e4122192f78288b632f2a"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Banners"><file name="Collection.php" hash="3ba445eb7573d27e26f010b1eeadb043"/></dir><file name="Banners.php" hash="527016301edf177b1604dbe98c722756"/></dir><file name="Banners.php" hash="07374201a9f0549c2986f42ece034a8b"/><file name="Status.php" hash="0cf9313a923b991e71949ff8c993156c"/></dir><dir name="sql"><dir name="banners_setup"><file name="mysql4-install-1.3.5.php" hash="97ae0f774ba18b9b9523e53989549abc"/><file name="mysql4-uninstall-1.3.5.php" hash="97c00af7ea2b5c245139c7d74ed9b178"/><file name="mysql4-upgrade-1.3.1-1.3.2-1.3.3-1.3.4.php" hash="91c8fe5b3dc3672bc611517d61f48494"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Mage_Banners.xml" hash="00231c699a70c089c808243400500e5e"/></dir></target><target name="magelib"><dir name="Varien"><dir name="Data"><dir name="Form"><dir name="Element"><file name="Thumbnail.php" hash="8909f9c5df2188e6eefc3f6509cafa76"/></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>