Magazento_EasySlider - Version 1.0.3

Version Notes

1.0.3

Download this release

Release Info

Developer Magento Core Team
Extension Magazento_EasySlider
Version 1.0.3
Comparing to
See all releases


Code changes from version 1.0.2 to 1.0.3

app/code/community/Magazento/Firstslider/sql/firstslider_setup/mysql4-install-1.0.0.php CHANGED
@@ -14,7 +14,7 @@ $installer = $this;
14
  $installer->startSetup();
15
 
16
  $installer->run("
17
- CREATE TABLE IF NOT EXISTS `{$this->getTable('magazento_firstslider_category')}` (
18
  `category_id` smallint(6) NOT NULL AUTO_INCREMENT,
19
  `name` varchar(255) NOT NULL,
20
  `from_time` datetime DEFAULT NULL,
@@ -22,25 +22,25 @@ CREATE TABLE IF NOT EXISTS `{$this->getTable('magazento_firstslider_category')}
22
  `is_active` tinyint(1) NOT NULL DEFAULT '1',
23
  PRIMARY KEY (`category_id`)
24
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=6 ;
25
- INSERT INTO `{$this->getTable('magazento_firstslider_category')}` (`category_id`, `name`, `from_time`, `to_time`, `is_active`) VALUES
26
  (1, 'Category English', '2009-11-06 06:46:36', '2011-02-12 14:45:03', 1),
27
  (2, 'Category Russian', '2009-11-06 10:46:36', '2014-07-02 02:45:23', 1),
28
  (3, 'Category German', '2011-02-08 16:59:31', '2013-02-08 12:45:56', 1),
29
  (4, 'Category French', '2011-02-10 18:20:56', NULL, 1);
30
 
31
 
32
- CREATE TABLE IF NOT EXISTS `{$this->getTable('magazento_firstslider_category_store')}` (
33
  `category_id` smallint(6) unsigned DEFAULT NULL,
34
  `store_id` smallint(6) unsigned DEFAULT NULL
35
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
36
- INSERT INTO `{$this->getTable('magazento_firstslider_category_store')}` (`category_id`, `store_id`) VALUES
37
  (1, 0),
38
  (2, 0),
39
  (3, 0),
40
  (4, 0);
41
 
42
 
43
- CREATE TABLE IF NOT EXISTS `{$this->getTable('magazento_firstslider_slide')}` (
44
  `slide_id` smallint(6) NOT NULL AUTO_INCREMENT,
45
  `position` smallint(6) DEFAULT NULL,
46
  `title` varchar(255) NOT NULL,
@@ -50,7 +50,7 @@ CREATE TABLE IF NOT EXISTS `{$this->getTable('magazento_firstslider_slide')}` (
50
  `is_active` tinyint(1) NOT NULL DEFAULT '1',
51
  PRIMARY KEY (`slide_id`)
52
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=14 ;
53
- INSERT INTO `{$this->getTable('magazento_firstslider_slide')}` (`slide_id`, `position`, `title`, `content`, `from_time`, `to_time`, `is_active`) VALUES
54
  (2, 1, 'Slide #1', '<p><img style=\"vertical-align: middle; border: 0pt none;\" src=\"/media/magazento_firstslider/slider1.jpg\" alt=\"\" /></p>', '2009-06-11 06:46:36', NULL, 1),
55
  (3, 3, 'Slide #3', '<p><img style=\"vertical-align: middle; border: 0pt none;\" src=\"/media/magazento_firstslider/slider111.jpg\" /></p>', '2009-06-11 10:46:36', NULL, 1),
56
  (4, 2, 'Slide #2', '<p><img style=\"vertical-align: middle; border: 0pt none;\" src=\"/media/magazento_firstslider/slider11.jpg\" alt=\"\" width=\"150\" height=\"100\" /></p>', '2009-06-11 10:46:36', NULL, 1),
@@ -65,11 +65,11 @@ INSERT INTO `{$this->getTable('magazento_firstslider_slide')}` (`slide_id`, `pos
65
  (13, 12, 'Slide #12', '<p><img style=\"vertical-align: middle; border: 0pt none;\" src=\"/media/magazento_firstslider/slider333.jpg\" /></p>', '2011-10-02 18:24:15', NULL, 1);
66
 
67
 
68
- CREATE TABLE IF NOT EXISTS `{$this->getTable('magazento_firstslider_slide_category')}` (
69
  `slide_id` smallint(6) unsigned DEFAULT NULL,
70
  `category_id` smallint(6) unsigned DEFAULT NULL
71
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
72
- INSERT INTO `{$this->getTable('magazento_firstslider_slide_category')}` (`slide_id`, `category_id`) VALUES
73
  (8, 4),
74
  (12, 3),
75
  (5, 2),
@@ -90,14 +90,7 @@ INSERT INTO `cms_page` (`title`, `root_template`, `meta_keywords`, `meta_descrip
90
  INSERT INTO `cms_page_store` (`page_id`, `store_id`) VALUES
91
  ( (SELECT page_id FROM `cms_page` WHERE `identifier` = 'firstslider'), 0);
92
 
93
-
94
  ");
95
 
96
- //INSERT INTO `cms_page` (`page_id`, `title`, `root_template`, `meta_keywords`, `meta_description`, `identifier`, `content_heading`, `content`, `creation_time`, `update_time`, `is_active`, `sort_order`, `layout_update_xml`, `custom_theme`, `custom_root_template`, `custom_layout_update_xml`, `custom_theme_from`, `custom_theme_to`) VALUES
97
- //(9999, 'Firstslider demo page', 'one_column', '', '', 'firstslider', '', '<div class=\"firstsliderssamplecontainer\">\r\n<div class=\"firstsliderssample1\">{{block type=\"firstslider/firstslider\" name=\"firstslider\" categoryid=\"1\" sliderid=\"1\" topbuttons=\"1\" bottombuttons=\"0\" style=\"width:150px;height: 100px;\" duration=\"0.6\" frequency=\"5\" autoglide=\"true\"}}</div>\r\n<div class=\"firstsliderssample2\">{{block type=\"firstslider/firstslider\" name=\"firstslider\" categoryid=\"2\" sliderid=\"2\" topbuttons=\"1\" bottombuttons=\"0\" style=\"width:535px;height: 100px;\" duration=\"0.5\" frequency=\"5\" autoglide=\"true\"}}</div>\r\n<div class=\"firstsliderssample3\">{{block type=\"firstslider/firstslider\" name=\"firstslider\" categoryid=\"3\" sliderid=\"3\" topbuttons=\"1\" bottombuttons=\"0\" style=\"width:200px;height: 100px;\" duration=\"0.4\" frequency=\"5\" autoglide=\"true\"}}</div>\r\n</div>\r\n<div class=\"firstsliderssample4\">\r\n<p>{{block type=\"firstslider/firstslider\" name=\"firstslider\" categoryid=\"4\" sliderid=\"4\" topbuttons=\"0\" bottombuttons=\"1\" style=\"width:891px;height: 390px;\" duration=\"0.3\" frequency=\"5\" autoglide=\"true\"}}</p>\r\n</div>', '2011-02-10 06:43:51', '2011-02-10 20:43:36', 1, 0, '', '', '', '', NULL, NULL);
98
- //
99
- //
100
- //INSERT INTO `cms_page_store` (`page_id`, `store_id`) VALUES
101
- //(9999, 0);
102
  $installer->endSetup();
103
  ?>
14
  $installer->startSetup();
15
 
16
  $installer->run("
17
+ CREATE TABLE IF NOT EXISTS {$this->getTable('magazento_firstslider_category')} (
18
  `category_id` smallint(6) NOT NULL AUTO_INCREMENT,
19
  `name` varchar(255) NOT NULL,
20
  `from_time` datetime DEFAULT NULL,
22
  `is_active` tinyint(1) NOT NULL DEFAULT '1',
23
  PRIMARY KEY (`category_id`)
24
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=6 ;
25
+ INSERT INTO {$this->getTable('magazento_firstslider_category')} (`category_id`, `name`, `from_time`, `to_time`, `is_active`) VALUES
26
  (1, 'Category English', '2009-11-06 06:46:36', '2011-02-12 14:45:03', 1),
27
  (2, 'Category Russian', '2009-11-06 10:46:36', '2014-07-02 02:45:23', 1),
28
  (3, 'Category German', '2011-02-08 16:59:31', '2013-02-08 12:45:56', 1),
29
  (4, 'Category French', '2011-02-10 18:20:56', NULL, 1);
30
 
31
 
32
+ CREATE TABLE IF NOT EXISTS {$this->getTable('magazento_firstslider_category_store')} (
33
  `category_id` smallint(6) unsigned DEFAULT NULL,
34
  `store_id` smallint(6) unsigned DEFAULT NULL
35
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
36
+ INSERT INTO {$this->getTable('magazento_firstslider_category_store')} (`category_id`, `store_id`) VALUES
37
  (1, 0),
38
  (2, 0),
39
  (3, 0),
40
  (4, 0);
41
 
42
 
43
+ CREATE TABLE IF NOT EXISTS {$this->getTable('magazento_firstslider_slide')} (
44
  `slide_id` smallint(6) NOT NULL AUTO_INCREMENT,
45
  `position` smallint(6) DEFAULT NULL,
46
  `title` varchar(255) NOT NULL,
50
  `is_active` tinyint(1) NOT NULL DEFAULT '1',
51
  PRIMARY KEY (`slide_id`)
52
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=14 ;
53
+ INSERT INTO {$this->getTable('magazento_firstslider_slide')} (`slide_id`, `position`, `title`, `content`, `from_time`, `to_time`, `is_active`) VALUES
54
  (2, 1, 'Slide #1', '<p><img style=\"vertical-align: middle; border: 0pt none;\" src=\"/media/magazento_firstslider/slider1.jpg\" alt=\"\" /></p>', '2009-06-11 06:46:36', NULL, 1),
55
  (3, 3, 'Slide #3', '<p><img style=\"vertical-align: middle; border: 0pt none;\" src=\"/media/magazento_firstslider/slider111.jpg\" /></p>', '2009-06-11 10:46:36', NULL, 1),
56
  (4, 2, 'Slide #2', '<p><img style=\"vertical-align: middle; border: 0pt none;\" src=\"/media/magazento_firstslider/slider11.jpg\" alt=\"\" width=\"150\" height=\"100\" /></p>', '2009-06-11 10:46:36', NULL, 1),
65
  (13, 12, 'Slide #12', '<p><img style=\"vertical-align: middle; border: 0pt none;\" src=\"/media/magazento_firstslider/slider333.jpg\" /></p>', '2011-10-02 18:24:15', NULL, 1);
66
 
67
 
68
+ CREATE TABLE IF NOT EXISTS {$this->getTable('magazento_firstslider_slide_category')} (
69
  `slide_id` smallint(6) unsigned DEFAULT NULL,
70
  `category_id` smallint(6) unsigned DEFAULT NULL
71
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
72
+ INSERT INTO {$this->getTable('magazento_firstslider_slide_category')} (`slide_id`, `category_id`) VALUES
73
  (8, 4),
74
  (12, 3),
75
  (5, 2),
90
  INSERT INTO `cms_page_store` (`page_id`, `store_id`) VALUES
91
  ( (SELECT page_id FROM `cms_page` WHERE `identifier` = 'firstslider'), 0);
92
 
 
93
  ");
94
 
 
 
 
 
 
 
95
  $installer->endSetup();
96
  ?>
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Magazento_EasySlider</name>
4
- <version>1.0.2</version>
5
  <stability>stable</stability>
6
  <license>Single license</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Magazento_EasySlider</summary>
10
  <description>Magazento_EasySlider</description>
11
- <notes>1.0.2</notes>
12
  <authors><author><name>volgodark</name><user>auto-converted</user><email>volgodark@gmail.com</email></author></authors>
13
  <date>2011-03-22</date>
14
- <time>23:03:02</time>
15
- <contents><target name="magelocale"><dir name="en_US"><file name="Magazento_Firstslider.csv" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="magazento_firstslider.xml" hash="1f49105bad18b6ad2e53591fd3dcdc27"/></dir><dir name="template"><dir name="magazento"><dir name="firstslider"><file name="slider.phtml" hash="5d5d8bea0770a6218b3d855e18369861"/></dir></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="magazento"><dir name="fistslider"><file name="slider.css" hash="4bdefdce1038b232fc2d4e318bc6ecd7"/><file name="slider.js" hash="e9fd58dc968c5249e2d58144fa2ce854"/></dir></dir></dir></dir></dir></target><target name="magecommunity"><dir name="Magazento"><dir name="Firstslider"><dir name="Block"><dir name="Admin"><dir name="Category"><dir name="Edit"><dir name="Tab"><file name="Form.php" hash="9dceed08d60661946ce26ac60611bb75"/></dir><file name="Form.php" hash="f40530b462988c377dcc3162f3fd26ac"/><file name="Tabs.php" hash="72c0b2a8d13a1e89b8b03abaf150f270"/></dir><dir name="Grid"><dir name="Renderer"><file name="Action.php" hash="16f11dd61ed5a1d351aa3afc3c298151"/></dir></dir><file name="Edit.php" hash="6924efded6d94c1fe68a75c04ecbfdff"/><file name="Grid.php" hash="0790257c8297fd6aa69426ab3229436f"/></dir><dir name="Slide"><dir name="Edit"><dir name="Tab"><file name="Form.php" hash="da7d2b795fec1df03d875fef21c7986b"/><file name="Other.php" hash="8eccb569a3aac5d0d3c9908645a81d59"/></dir><file name="Form.php" hash="d72da4a206ec3cc35e453858f5592ee2"/><file name="Tabs.php" hash="aad8bc46dab8c8937ce0c6599b665c4d"/></dir><dir name="Grid"><dir name="Renderer"><file name="Action.php" hash="9dac1db324f25d2f56f5559341697bdb"/></dir></dir><file name="Edit.php" hash="8bdba1ed90c65741f8e5cb437289a38e"/><file name="Grid.php" hash="e7902ccc6fb6349a7ffb6f38f553d78c"/></dir><file name="Category.php" hash="8380f27391e3a01924f3e2f0d4b8a8f9"/><file name="Slide.php" hash="bc52e5db2930c902993e607a37e1965e"/></dir><file name="Firstslider.php" hash="ffc6a66bf93797c8558a5d4a37c7f808"/><file name="Info.php" hash="95f83c742169ac37772a9821374eb801"/></dir><dir name="controllers"><dir name="Admin"><file name="CategoryController.php" hash="1cc251c79879bdc9ffac142cc491ccc3"/><file name="SlideController.php" hash="a98f1e112640a5e587cc0d026510150d"/></dir></dir><dir name="etc"><file name="config.xml" hash="0b45f97f416148b587870a03856b2e69"/><file name="system.xml" hash="b351328f9c0c56a9f40206a13ef19230"/></dir><dir name="Helper"><file name="Data.php" hash="88a73c89d127991221c2ea524a25518c"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Category"><file name="Collection.php" hash="be53f7d61b001ef6ede396f8d32094db"/></dir><dir name="Slide"><file name="Collection.php" hash="af059d43b4bf62b297b54e62b1802421"/></dir><file name="Category.php" hash="5601806ba27047ae457323fa03891a2e"/><file name="Slide.php" hash="f129ba90e64dbea1b4c4747deeaff31b"/></dir><dir name="Wysiwyg"><file name="Config.php" hash="88dfb918a96b51994781203d70030628"/></dir><file name="Category.php" hash="95c1f1fb65ff0faa7ffb82e4d3ca9c6c"/><file name="Data.php" hash="f7a9aa773546e2653e4100cb73861a6e"/><file name="Slide.php" hash="bb06101596d4406c445ff357eca9a466"/></dir><dir name="sql"><dir name="firstslider_setup"><file name="mysql4-install-1.0.0.php" hash="dba51e2923526a9dcfa76af578df2466"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Magazento_Firstslider.xml" hash="54e4efef14128e50cbedb40895730485"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Magazento_EasySlider</name>
4
+ <version>1.0.3</version>
5
  <stability>stable</stability>
6
  <license>Single license</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Magazento_EasySlider</summary>
10
  <description>Magazento_EasySlider</description>
11
+ <notes>1.0.3</notes>
12
  <authors><author><name>volgodark</name><user>auto-converted</user><email>volgodark@gmail.com</email></author></authors>
13
  <date>2011-03-22</date>
14
+ <time>23:26:33</time>
15
+ <contents><target name="magelocale"><dir name="en_US"><file name="Magazento_Firstslider.csv" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="magazento_firstslider.xml" hash="1f49105bad18b6ad2e53591fd3dcdc27"/></dir><dir name="template"><dir name="magazento"><dir name="firstslider"><file name="slider.phtml" hash="5d5d8bea0770a6218b3d855e18369861"/></dir></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="magazento"><dir name="fistslider"><file name="slider.css" hash="4bdefdce1038b232fc2d4e318bc6ecd7"/><file name="slider.js" hash="e9fd58dc968c5249e2d58144fa2ce854"/></dir></dir></dir></dir></dir></target><target name="magecommunity"><dir name="Magazento"><dir name="Firstslider"><dir name="Block"><dir name="Admin"><dir name="Category"><dir name="Edit"><dir name="Tab"><file name="Form.php" hash="9dceed08d60661946ce26ac60611bb75"/></dir><file name="Form.php" hash="f40530b462988c377dcc3162f3fd26ac"/><file name="Tabs.php" hash="72c0b2a8d13a1e89b8b03abaf150f270"/></dir><dir name="Grid"><dir name="Renderer"><file name="Action.php" hash="16f11dd61ed5a1d351aa3afc3c298151"/></dir></dir><file name="Edit.php" hash="6924efded6d94c1fe68a75c04ecbfdff"/><file name="Grid.php" hash="0790257c8297fd6aa69426ab3229436f"/></dir><dir name="Slide"><dir name="Edit"><dir name="Tab"><file name="Form.php" hash="da7d2b795fec1df03d875fef21c7986b"/><file name="Other.php" hash="8eccb569a3aac5d0d3c9908645a81d59"/></dir><file name="Form.php" hash="d72da4a206ec3cc35e453858f5592ee2"/><file name="Tabs.php" hash="aad8bc46dab8c8937ce0c6599b665c4d"/></dir><dir name="Grid"><dir name="Renderer"><file name="Action.php" hash="9dac1db324f25d2f56f5559341697bdb"/></dir></dir><file name="Edit.php" hash="8bdba1ed90c65741f8e5cb437289a38e"/><file name="Grid.php" hash="e7902ccc6fb6349a7ffb6f38f553d78c"/></dir><file name="Category.php" hash="8380f27391e3a01924f3e2f0d4b8a8f9"/><file name="Slide.php" hash="bc52e5db2930c902993e607a37e1965e"/></dir><file name="Firstslider.php" hash="ffc6a66bf93797c8558a5d4a37c7f808"/><file name="Info.php" hash="95f83c742169ac37772a9821374eb801"/></dir><dir name="controllers"><dir name="Admin"><file name="CategoryController.php" hash="1cc251c79879bdc9ffac142cc491ccc3"/><file name="SlideController.php" hash="a98f1e112640a5e587cc0d026510150d"/></dir></dir><dir name="etc"><file name="config.xml" hash="0b45f97f416148b587870a03856b2e69"/><file name="system.xml" hash="b351328f9c0c56a9f40206a13ef19230"/></dir><dir name="Helper"><file name="Data.php" hash="88a73c89d127991221c2ea524a25518c"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Category"><file name="Collection.php" hash="be53f7d61b001ef6ede396f8d32094db"/></dir><dir name="Slide"><file name="Collection.php" hash="af059d43b4bf62b297b54e62b1802421"/></dir><file name="Category.php" hash="5601806ba27047ae457323fa03891a2e"/><file name="Slide.php" hash="f129ba90e64dbea1b4c4747deeaff31b"/></dir><dir name="Wysiwyg"><file name="Config.php" hash="88dfb918a96b51994781203d70030628"/></dir><file name="Category.php" hash="95c1f1fb65ff0faa7ffb82e4d3ca9c6c"/><file name="Data.php" hash="f7a9aa773546e2653e4100cb73861a6e"/><file name="Slide.php" hash="bb06101596d4406c445ff357eca9a466"/></dir><dir name="sql"><dir name="firstslider_setup"><file name="mysql4-install-1.0.0.php" hash="bf3605acef7f54e835c922a8a06d4215"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Magazento_Firstslider.xml" hash="54e4efef14128e50cbedb40895730485"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>