Easy_Topsellers - Version 1.1.0

Version Notes

1.1.0

Download this release

Release Info

Developer Magento Core Team
Extension Easy_Topsellers
Version 1.1.0
Comparing to
See all releases


Code changes from version 1.0.2 to 1.1.0

app/code/community/Magazento/Easytopsell/Block/Category.php CHANGED
@@ -1,4 +1,12 @@
1
  <?php
 
 
 
 
 
 
 
 
2
 
3
  class Magazento_Easytopsell_Block_Category extends Mage_Catalog_Block_Product_Abstract {
4
 
1
  <?php
2
+ /*
3
+ * Created on Mar 16, 2011
4
+ * Author Ivan Proskuryakov - volgodark@gmail.com - Magazento.com
5
+ * Copyright Proskuryakov Ivan. Magazento.com © 2011. All Rights Reserved.
6
+ * Single Use, Limited Licence and Single Use No Resale Licence ["Single Use"]
7
+ */
8
+ ?>
9
+ <?php
10
 
11
  class Magazento_Easytopsell_Block_Category extends Mage_Catalog_Block_Product_Abstract {
12
 
app/code/community/Magazento/Easytopsell/Block/Developer.php ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Magazento_Easytopsell_Block_Developer extends Mage_Adminhtml_Block_System_Config_Form_Fieldset {
4
+
5
+ public function render(Varien_Data_Form_Element_Abstract $element) {
6
+ $content = '<p></p>';
7
+ $content.= '<style>';
8
+ $content.= '.magazento {
9
+ background:#FAFAFA;
10
+ border: 1px solid #CCCCCC;
11
+ margin-bottom: 10px;
12
+ padding: 10px;
13
+ height:auto;
14
+
15
+ }
16
+ .magazento h3 {
17
+ color: #EA7601;
18
+ }
19
+ .contact-type {
20
+ color: #EA7601;
21
+ font-weight:bold;
22
+ }
23
+ .magazento img {
24
+ border: 1px solid #CCCCCC;
25
+ float:left;
26
+ height:235px;
27
+ }
28
+ .magazento .info {
29
+ border: 1px solid #CCCCCC;
30
+ background:#E7EFEF;
31
+ padding: 5px 10px 0 5px;
32
+ margin-left:210px;
33
+ height:230px;
34
+ }
35
+ ';
36
+ $content.= '</style>';
37
+
38
+
39
+ $content.= '<div class="magazento">';
40
+ $content.= '<a href="http://www.magazento.com/" target="_blank"><img src="'.Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_SKIN).'frontend/default/default/magazento/promo/magazento.jpg" alt="www.magazento.com" /></a>';
41
+ $content.= '<div class="info">';
42
+ $content.= '<h3>Magento extensions</h3>';
43
+ $content.= '<p><a href="http://www.magazento.com/" target="_blank">www.magazento.com</a> - experts are specializing in custom extension development for the world\'s fastest growing eCommerce platform - Magento. <br/>';
44
+ $content.= 'All extensions are designed for the Magento CMS archetecture, using native libraries and only the most efficient approaches to development.<br/>';
45
+ $content.= 'If you need Magento development or have a concept for an extension you\'d like developed for the Magento CMS platform, please contact us.</br></p>';
46
+ $content.= '--------------------------------------------------------<br>';
47
+ $content.= '<span class="contact-type">Company website:</span> <a href="http://www.magazento.com/" target="_blank">www.magazento.com</a> <br/>';
48
+ $content.= '<span class="contact-type">E-mail:</span> magazento@gmail.com <br/>';
49
+ $content.= '<span class="contact-type">Skype:</span> volgodark <br/>';
50
+ $content.= '<span class="contact-type">Phone:</span> +7 909389 2222 <br/>';
51
+ $content.= '<span class="contact-type">Magento:</span> <a href="http://www.magentocommerce.com/magento-connect/developer/Magazento" target="_blank">visit</a> <br/>';
52
+ $content.= '<span class="contact-type">Facebook:</span> <a href="http://www.facebook.com/ivan.proskuryakov" target="_blank">visit</a> <br/>';
53
+ // $content.= '<span class="contact-type">LinkedIn:</span> <a href="http://www.linkedin.com/pub/ivan-proskuryakov/31/200/316" target="_blank">visit</a> <br/>';
54
+
55
+ $content.= '</div>';
56
+
57
+ $content.= '</div>';
58
+
59
+ return $content;
60
+
61
+
62
+ }
63
+
64
+
65
+ }
app/code/community/Magazento/Easytopsell/Block/Home.php CHANGED
@@ -1,4 +1,12 @@
1
  <?php
 
 
 
 
 
 
 
 
2
 
3
  class Magazento_Easytopsell_Block_Home extends Mage_Catalog_Block_Product_Abstract {
4
 
1
  <?php
2
+ /*
3
+ * Created on Mar 16, 2011
4
+ * Author Ivan Proskuryakov - volgodark@gmail.com - Magazento.com
5
+ * Copyright Proskuryakov Ivan. Magazento.com © 2011. All Rights Reserved.
6
+ * Single Use, Limited Licence and Single Use No Resale Licence ["Single Use"]
7
+ */
8
+ ?>
9
+ <?php
10
 
11
  class Magazento_Easytopsell_Block_Home extends Mage_Catalog_Block_Product_Abstract {
12
 
app/code/community/Magazento/Easytopsell/Block/Info.php DELETED
@@ -1,19 +0,0 @@
1
- <?php
2
-
3
- class Magazento_Easytopsell_Block_Info extends Mage_Adminhtml_Block_System_Config_Form_Fieldset {
4
-
5
- public function render(Varien_Data_Form_Element_Abstract $element) {
6
- $html = $this->_getHeaderHtml($element);
7
- $html.= $this->_getFieldHtml($element);
8
- $html .= $this->_getFooterHtml($element);
9
- return $html;
10
- }
11
-
12
- protected function _getFieldHtml($fieldset) {
13
- $content = 'This extension is developed by <a href="http://Magazento.com/" target="_blank">Magazento.com</a><br/>';
14
- $content.= 'Magento Store Setup, modules, data migration, templates, upgrades and much more!';
15
- return $content;
16
- }
17
-
18
-
19
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Magazento/Easytopsell/Helper/Data.php CHANGED
@@ -1,4 +1,12 @@
1
  <?php
 
 
 
 
 
 
 
 
2
 
3
  class Magazento_Easytopsell_Helper_Data extends Mage_Core_Helper_Abstract
4
  {
1
  <?php
2
+ /*
3
+ * Created on Mar 16, 2011
4
+ * Author Ivan Proskuryakov - volgodark@gmail.com - Magazento.com
5
+ * Copyright Proskuryakov Ivan. Magazento.com © 2011. All Rights Reserved.
6
+ * Single Use, Limited Licence and Single Use No Resale Licence ["Single Use"]
7
+ */
8
+ ?>
9
+ <?php
10
 
11
  class Magazento_Easytopsell_Helper_Data extends Mage_Core_Helper_Abstract
12
  {
app/code/community/Magazento/Easytopsell/Model/Data.php CHANGED
@@ -1,4 +1,12 @@
1
  <?php
 
 
 
 
 
 
 
 
2
  Class Magazento_Easytopsell_Model_Data {
3
 
4
 
1
  <?php
2
+ /*
3
+ * Created on Mar 16, 2011
4
+ * Author Ivan Proskuryakov - volgodark@gmail.com - Magazento.com
5
+ * Copyright Proskuryakov Ivan. Magazento.com © 2011. All Rights Reserved.
6
+ * Single Use, Limited Licence and Single Use No Resale Licence ["Single Use"]
7
+ */
8
+ ?>
9
+ <?php
10
  Class Magazento_Easytopsell_Model_Data {
11
 
12
 
app/code/community/Magazento/Easytopsell/etc/system.xml CHANGED
@@ -16,6 +16,13 @@
16
  <show_in_website>1</show_in_website>
17
  <show_in_store>1</show_in_store>
18
  <groups>
 
 
 
 
 
 
 
19
  <options translate="label">
20
  <label>Options</label>
21
  <frontend_type>text</frontend_type>
@@ -194,15 +201,6 @@
194
  </catactions>
195
  </fields>
196
  </catpageoptions>
197
- <info translate="label">
198
- <label>About</label>
199
- <frontend_type>text</frontend_type>
200
- <frontend_model>easytopsell/info</frontend_model>
201
- <sort_order>70</sort_order>
202
- <show_in_default>1</show_in_default>
203
- <show_in_website>1</show_in_website>
204
- <show_in_store>1</show_in_store>
205
- </info>
206
  </groups>
207
  </easytopsell>
208
  </sections>
16
  <show_in_website>1</show_in_website>
17
  <show_in_store>1</show_in_store>
18
  <groups>
19
+ <developer>
20
+ <frontend_model>easytopsell/developer</frontend_model>
21
+ <sort_order>999</sort_order>
22
+ <show_in_default>1</show_in_default>
23
+ <show_in_website>1</show_in_website>
24
+ <show_in_store>1</show_in_store>
25
+ </developer>
26
  <options translate="label">
27
  <label>Options</label>
28
  <frontend_type>text</frontend_type>
201
  </catactions>
202
  </fields>
203
  </catpageoptions>
 
 
 
 
 
 
 
 
 
204
  </groups>
205
  </easytopsell>
206
  </sections>
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Easy_Topsellers</name>
4
- <version>1.0.2</version>
5
  <stability>stable</stability>
6
  <license>GPL</license>
7
  <channel>community</channel>
8
  <extends/>
9
- <summary>Easy_Topsellers</summary>
10
- <description>Easy_Topsellers</description>
11
- <notes>Easy_Topsellers 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-16</date>
14
- <time>06:43:16</time>
15
- <contents><target name="magelocale"><dir name="en_US"><file name="Magazento_Easytopsell.csv" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="magazento_easytopsell.xml" hash="7f652db292d6564402fbe0c640041944"/></dir><dir name="template"><dir name="magazento"><dir name="easytopsell"><file name="category.phtml" hash="cbaea3d72a839fd48d70428a2e50d4da"/><file name="home.phtml" hash="b3cb0e7dba4c006bcd5503d4a2498004"/></dir></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="magazento"><dir name="easytopseller"><file name="style.css" hash="3d08de88cf731f45a66ea8fc6af5878e"/></dir></dir></dir></dir></dir></target><target name="magecommunity"><dir name="Magazento"><dir name="Easytopsell"><dir name="Block"><file name="Category.php" hash="53a0576f34c13d8129fc551dc440f30d"/><file name="Home.php" hash="e5c84d5f6c517459a5a7a3e1b0438295"/><file name="Info.php" hash="307e4b291bedbff98e92f49fa4f81b5e"/></dir><dir name="etc"><file name="config.xml" hash="1412aeb027d53e1d5e8ca566d1b1d34f"/><file name="system.xml" hash="ef106af954194674fbb31a4f058573e7"/></dir><dir name="Helper"><file name="Data.php" hash="7b08dbc1645274f7deafc996dc3677a9"/></dir><dir name="Model"><file name="Data.php" hash="d0f528c4a4116486afbbebf504e60119"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Magazento_Easytopsell.xml" hash="bcf1d8c496a3d7759a347cc782e934c6"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Easy_Topsellers</name>
4
+ <version>1.1.0</version>
5
  <stability>stable</stability>
6
  <license>GPL</license>
7
  <channel>community</channel>
8
  <extends/>
9
+ <summary>Magento module generates the list of your online store's best selling products and displays it in sidebars. Extension allows you fully configure your bestsellers on your store and of cource this extension fully configurable at backend.</summary>
10
+ <description>Magento module generates the list of your online store's best selling products and displays it in sidebars. Extension allows you fully configure your bestsellers on your store and of cource this extension fully configurable at backend.</description>
11
+ <notes>1.1.0</notes>
12
  <authors><author><name>volgodark</name><user>auto-converted</user><email>volgodark@gmail.com</email></author></authors>
13
+ <date>2011-04-20</date>
14
+ <time>09:09:51</time>
15
+ <contents><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="magazento"><dir name="promo"><file name="magazento.jpg" hash="88520d456df68c98130433b5184b8e7f"/></dir><dir name="easytopseller"><file name="style.css" hash="3d08de88cf731f45a66ea8fc6af5878e"/></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Magazento_Easytopsell.csv" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="magazento_easytopsell.xml" hash="7f652db292d6564402fbe0c640041944"/></dir><dir name="template"><dir name="magazento"><dir name="easytopsell"><file name="category.phtml" hash="cbaea3d72a839fd48d70428a2e50d4da"/><file name="home.phtml" hash="b3cb0e7dba4c006bcd5503d4a2498004"/></dir></dir></dir></dir></dir></dir></target><target name="magecommunity"><dir name="Magazento"><dir name="Easytopsell"><dir name="Block"><file name="Category.php" hash="ce7ad2c1c148d11632e313807d85a35c"/><file name="Developer.php" hash="8bb8ebd36d9fac6a752cfaaef60a0d10"/><file name="Home.php" hash="77e503ed8ac6a83cc708781cd9ada504"/></dir><dir name="etc"><file name="config.xml" hash="1412aeb027d53e1d5e8ca566d1b1d34f"/><file name="system.xml" hash="e20e824fb205752d3d3bdc96e35776b8"/></dir><dir name="Helper"><file name="Data.php" hash="9f977e8bb58ad496025983804d9460e8"/></dir><dir name="Model"><file name="Data.php" hash="3c5607e5a08b3ba8d8b45e25d0413c2c"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Magazento_Easytopsell.xml" hash="bcf1d8c496a3d7759a347cc782e934c6"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>
skin/frontend/default/default/magazento/promo/magazento.jpg ADDED
Binary file