Social_Bookmarks_Icons_2_0 - Version 2.4

Version Notes

Inorder to display this extension, you have to call below given code on required template page.

<?php echo Mage::helper('network/data')->CUE_socialIcons(); ?>

Download this release

Release Info

Developer Magento Core Team
Extension Social_Bookmarks_Icons_2_0
Version 2.4
Comparing to
See all releases


Code changes from version 2.3 to 2.4

app/code/community/{SN → CueBlocks}/Network/Block/Adminhtml/Network.php RENAMED
@@ -1,5 +1,5 @@
1
  <?php
2
- class SN_Network_Block_Adminhtml_Network extends Mage_Adminhtml_Block_Widget_Grid_Container
3
  {
4
  public function __construct()
5
  {
1
  <?php
2
+ class CueBlocks_Network_Block_Adminhtml_Network extends Mage_Adminhtml_Block_Widget_Grid_Container
3
  {
4
  public function __construct()
5
  {
app/code/community/{SN → CueBlocks}/Network/Block/Adminhtml/Network/Edit.php RENAMED
@@ -1,5 +1,5 @@
1
  <?php
2
- class SN_Network_Block_Adminhtml_Network_Edit extends Mage_Adminhtml_Block_Widget_Form_Container
3
  {
4
  public function __construct()
5
  {
@@ -15,11 +15,11 @@ class SN_Network_Block_Adminhtml_Network_Edit extends Mage_Adminhtml_Block_Widge
15
  {
16
  if(Mage::registry('network_data') && Mage::registry('network_data')->getId())
17
  {
18
- return Mage::helper('network')->__("Edit Bookmark '%s'", $this->htmlEscape(Mage::registry('network_data')->getVch_icon_name()));
19
  }
20
  else
21
  {
22
- return Mage::helper('network')->__('Add Social Bookmark Icon');
23
  }
24
 
25
  }
1
  <?php
2
+ class CueBlocks_Network_Block_Adminhtml_Network_Edit extends Mage_Adminhtml_Block_Widget_Form_Container
3
  {
4
  public function __construct()
5
  {
15
  {
16
  if(Mage::registry('network_data') && Mage::registry('network_data')->getId())
17
  {
18
+ return Mage::helper('network')->__("Edit Bookmark '%s'", $this->htmlEscape(Mage::registry('network_data')->getVch_icon_name()));
19
  }
20
  else
21
  {
22
+ return Mage::helper('network')->__('Add Social Bookmark Icon');
23
  }
24
 
25
  }
app/code/community/{SN → CueBlocks}/Network/Block/Adminhtml/Network/Edit/Form.php RENAMED
@@ -1,5 +1,5 @@
1
  <?php
2
- class SN_Network_Block_Adminhtml_Network_Edit_Form extends Mage_Adminhtml_Block_Widget_Form
3
  {
4
  protected function _prepareForm()
5
  {
1
  <?php
2
+ class CueBlocks_Network_Block_Adminhtml_Network_Edit_Form extends Mage_Adminhtml_Block_Widget_Form
3
  {
4
  protected function _prepareForm()
5
  {
app/code/community/{SN → CueBlocks}/Network/Block/Adminhtml/Network/Edit/Tab/Form.php RENAMED
@@ -1,5 +1,5 @@
1
  <?php
2
- class SN_Network_Block_Adminhtml_Network_Edit_Tab_Form extends Mage_Adminhtml_Block_Widget_Form
3
  {
4
  protected function _prepareForm()
5
  {
1
  <?php
2
+ class CueBlocks_Network_Block_Adminhtml_Network_Edit_Tab_Form extends Mage_Adminhtml_Block_Widget_Form
3
  {
4
  protected function _prepareForm()
5
  {
app/code/community/{SN → CueBlocks}/Network/Block/Adminhtml/Network/Edit/Tabs.php RENAMED
@@ -1,5 +1,5 @@
1
  <?php
2
- class SN_Network_Block_Adminhtml_Network_Edit_Tabs extends Mage_Adminhtml_Block_Widget_Tabs
3
  {
4
  public function __construct()
5
  {
1
  <?php
2
+ class CueBlocks_Network_Block_Adminhtml_Network_Edit_Tabs extends Mage_Adminhtml_Block_Widget_Tabs
3
  {
4
  public function __construct()
5
  {
app/code/community/{SN → CueBlocks}/Network/Block/Adminhtml/Network/Grid.php RENAMED
@@ -1,5 +1,5 @@
1
  <?php
2
- class SN_Network_Block_Adminhtml_Network_Grid extends Mage_Adminhtml_Block_Widget_Grid
3
  {
4
  public function __construct()
5
  {
1
  <?php
2
+ class CueBlocks_Network_Block_Adminhtml_Network_Grid extends Mage_Adminhtml_Block_Widget_Grid
3
  {
4
  public function __construct()
5
  {
app/code/community/{SN → CueBlocks}/Network/Helper/Data.php RENAMED
@@ -1,5 +1,5 @@
1
  <?php
2
- class SN_Network_Helper_Data extends Mage_Core_Helper_Abstract
3
  {
4
  public function CUE_socialIcons()
5
  {
@@ -21,7 +21,7 @@ else
21
  if($status==1)
22
  {
23
  ?>
24
- <a href="<?=$cbCollection['vch_url'];?>" title="<?=$cbCollection['vch_icon_name']?>" target="_blank"><img alt="<?=$cbCollection['vch_icon_name']?>" src="<?=$imgPath?>" width="24px" height="24px"></a> &nbsp;
25
  <?php
26
  }
27
  }
1
  <?php
2
+ class CueBlocks_Network_Helper_Data extends Mage_Core_Helper_Abstract
3
  {
4
  public function CUE_socialIcons()
5
  {
21
  if($status==1)
22
  {
23
  ?>
24
+ <a href="<?php echo $cbCollection['vch_url'];?>" title="<?php echo $cbCollection['vch_icon_name'];?>" target="_blank"><img alt="<?php echo $cbCollection['vch_icon_name'];?>" src="<?php echo $imgPath;?>" width="24px" height="24px"></a> &nbsp;
25
  <?php
26
  }
27
  }
app/code/community/{SN → CueBlocks}/Network/Model/Mysql4/Network.php RENAMED
@@ -1,5 +1,5 @@
1
  <?php
2
- class SN_Network_Model_Mysql4_Network extends Mage_Core_Model_Mysql4_Abstract
3
  {
4
  public function _construct()
5
  {
1
  <?php
2
+ class CueBlocks_Network_Model_Mysql4_Network extends Mage_Core_Model_Mysql4_Abstract
3
  {
4
  public function _construct()
5
  {
app/code/community/{SN → CueBlocks}/Network/Model/Mysql4/Network/Collection.php RENAMED
@@ -1,5 +1,5 @@
1
  <?php
2
- class SN_Network_Model_Mysql4_Network_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
3
  {
4
  public function _construct()
5
  {
1
  <?php
2
+ class CueBlocks_Network_Model_Mysql4_Network_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
3
  {
4
  public function _construct()
5
  {
app/code/community/{SN → CueBlocks}/Network/Model/Network.php RENAMED
@@ -1,5 +1,5 @@
1
  <?php
2
- class SN_Network_Model_Network extends Mage_Core_Model_Abstract
3
  {
4
  public function _construct()
5
  {
1
  <?php
2
+ class CueBlocks_Network_Model_Network extends Mage_Core_Model_Abstract
3
  {
4
  public function _construct()
5
  {
app/code/community/{SN → CueBlocks}/Network/controllers/Adminhtml/NetworkController.php RENAMED
@@ -1,5 +1,5 @@
1
  <?php
2
- class SN_Network_Adminhtml_NetworkController extends Mage_Adminhtml_Controller_action
3
  {
4
  protected function _initAction()
5
 
1
  <?php
2
+ class CueBlocks_Network_Adminhtml_NetworkController extends Mage_Adminhtml_Controller_action
3
  {
4
  protected function _initAction()
5
 
app/code/community/{SN → CueBlocks}/Network/controllers/IndexController.php RENAMED
@@ -1,5 +1,5 @@
1
  <?php
2
- class SN_Network_IndexController extends Mage_Core_Controller_Front_Action
3
  {
4
  public function indexAction()
5
  {
1
  <?php
2
+ class CueBlocks_Network_IndexController extends Mage_Core_Controller_Front_Action
3
  {
4
  public function indexAction()
5
  {
app/code/community/{SN → CueBlocks}/Network/etc/config.xml RENAMED
@@ -1,16 +1,16 @@
1
  <?xml version="1.0"?>
2
  <config>
3
  <modules>
4
- <SN_Network>
5
  <version>0.1.0</version>
6
- </SN_Network>
7
  </modules>
8
  <frontend>
9
  <routers>
10
  <network>
11
  <use>standard</use>
12
  <args>
13
- <module>SN_Network</module>
14
  <frontName>network</frontName>
15
  </args>
16
  </network>
@@ -28,18 +28,18 @@
28
  <network>
29
  <use>standard</use>
30
  <args>
31
- <module>SN_Network</module>
32
  <frontName>network/list</frontName>
33
  </args>
34
  </network>
35
  </routers>
36
  <models>
37
  <network>
38
- <class>SN_Network_Model</class>
39
  <resourceModel>network_mysql4</resourceModel>
40
  </network>
41
  <network_mysql4>
42
- <class>SN_Network_Model_Mysql4</class>
43
  <entities>
44
  <network>
45
  <table>cb_social_network</table>
@@ -50,7 +50,7 @@
50
  <resources>
51
  <network_setup>
52
  <setup>
53
- <module>SN_Network</module>
54
  </setup>
55
  <connection>
56
  <use>core_setup</use>
@@ -69,12 +69,12 @@
69
  </resources>
70
  <blocks>
71
  <network>
72
- <class>SN_Network_Block</class>
73
  </network>
74
  </blocks>
75
  <helpers>
76
  <network>
77
- <class>SN_Network_Helper</class>
78
  </network>
79
  </helpers>
80
  </global>
@@ -85,7 +85,7 @@
85
  <network>
86
  <use>admin</use>
87
  <args>
88
- <module>SN_Network</module>
89
  <frontName>network</frontName>
90
  </args>
91
  </network>
@@ -94,19 +94,18 @@
94
  <adminhtml>
95
  <menu>
96
  <!-- Adding Main menu in admin -->
97
- <network module="network">
98
- <title>Social Icons</title>
99
- <sort_order>71</sort_order>
100
- <!-- Adding Sub menu in Admin-->
101
  <children>
102
- <items module="network">
103
  <title>Manage Icons</title>
104
  <sort_order>0</sort_order>
105
  <action>network/adminhtml_network</action>
106
- </items>
107
  </children>
108
 
109
- </network>
110
  </menu>
111
  <acl>
112
  <resources>
1
  <?xml version="1.0"?>
2
  <config>
3
  <modules>
4
+ <CueBlocks_Network>
5
  <version>0.1.0</version>
6
+ </CueBlocks_Network>
7
  </modules>
8
  <frontend>
9
  <routers>
10
  <network>
11
  <use>standard</use>
12
  <args>
13
+ <module>CueBlocks_Network</module>
14
  <frontName>network</frontName>
15
  </args>
16
  </network>
28
  <network>
29
  <use>standard</use>
30
  <args>
31
+ <module>CueBlocks_Network</module>
32
  <frontName>network/list</frontName>
33
  </args>
34
  </network>
35
  </routers>
36
  <models>
37
  <network>
38
+ <class>CueBlocks_Network_Model</class>
39
  <resourceModel>network_mysql4</resourceModel>
40
  </network>
41
  <network_mysql4>
42
+ <class>CueBlocks_Network_Model_Mysql4</class>
43
  <entities>
44
  <network>
45
  <table>cb_social_network</table>
50
  <resources>
51
  <network_setup>
52
  <setup>
53
+ <module>CueBlocks_Network</module>
54
  </setup>
55
  <connection>
56
  <use>core_setup</use>
69
  </resources>
70
  <blocks>
71
  <network>
72
+ <class>CueBlocks_Network_Block</class>
73
  </network>
74
  </blocks>
75
  <helpers>
76
  <network>
77
+ <class>CueBlocks_Network_Helper</class>
78
  </network>
79
  </helpers>
80
  </global>
85
  <network>
86
  <use>admin</use>
87
  <args>
88
+ <module>CueBlocks_Network</module>
89
  <frontName>network</frontName>
90
  </args>
91
  </network>
94
  <adminhtml>
95
  <menu>
96
  <!-- Adding Main menu in admin -->
97
+ <cueblocks module="network">
98
+ <title>CueBlocks</title>
99
+ <sort_order>71</sort_order>
 
100
  <children>
101
+ <itemsnetwork module="network">
102
  <title>Manage Icons</title>
103
  <sort_order>0</sort_order>
104
  <action>network/adminhtml_network</action>
105
+ </itemsnetwork>
106
  </children>
107
 
108
+ </cueblocks>
109
  </menu>
110
  <acl>
111
  <resources>
app/code/community/{SN → CueBlocks}/Network/sql/network_setup/mysql4-install-0.1.0.php RENAMED
File without changes
app/design/frontend/default/default/layout/network.xml CHANGED
@@ -2,8 +2,8 @@
2
  <!--
3
  /**
4
  *
5
- * Package :- CueBlocks_Zoom-1.0.tgz
6
- * Version :- 1.0
7
  * Edition :- Community
8
  * Developed By :- CueBlocks.com
9
  *
2
  <!--
3
  /**
4
  *
5
+ * Package :- Social_Bookmarks_Icons_2_0-2.4.tgz
6
+ * Version :- 2.4
7
  * Edition :- Community
8
  * Developed By :- CueBlocks.com
9
  *
app/etc/modules/{SN_Network.xml → CueBlocks_Network.xml} RENAMED
@@ -2,8 +2,8 @@
2
  <!--
3
  /**
4
  *
5
- * Package :- CueBlocks_Zoom-1.0.tgz
6
- * Version :- 1.0
7
  * Edition :- Community
8
  * Developed By :- CueBlocks.com
9
  *
@@ -11,12 +11,12 @@
11
  -->
12
  <config>
13
  <modules>
14
- <SN_Network>
15
  <active>true</active>
16
  <codePool>community</codePool>
17
  <depends>
18
  <Mage_Catalog />
19
  </depends>
20
- </SN_Network>
21
  </modules>
22
  </config>
2
  <!--
3
  /**
4
  *
5
+ * Package :- Social_Bookmarks_Icons_2_0-2.4.tgz
6
+ * Version :- 2.4
7
  * Edition :- Community
8
  * Developed By :- CueBlocks.com
9
  *
11
  -->
12
  <config>
13
  <modules>
14
+ <CueBlocks_Network>
15
  <active>true</active>
16
  <codePool>community</codePool>
17
  <depends>
18
  <Mage_Catalog />
19
  </depends>
20
+ </CueBlocks_Network>
21
  </modules>
22
  </config>
package.xml CHANGED
@@ -1,19 +1,20 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Social_Bookmarks_Icons_2_0</name>
4
- <version>2.3</version>
5
  <stability>stable</stability>
6
- <license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>This extension allows you to share products / page on various Social Networking sites as choosen by you. The highlighting point of this extension is flexibility to call social icons anywhere you wish to display.</summary>
10
  <description>This extension allows you to share products / page on various Social Networking sites as choosen by you. The highlighting point of this extension is flexibility to call social icons anywhere you wish to display.</description>
11
- <notes>inorder to display this extension, you have to call below given code on required template page.
12
- &lt;?php echo Mage::helper('network/data')-&gt;CUE_socialIcons(); ?&gt;</notes>
 
13
  <authors><author><name>Nitin Khullar</name><user>auto-converted</user><email>nitin.khullar@cueblocks.com</email></author></authors>
14
- <date>2010-12-20</date>
15
- <time>08:00:46</time>
16
- <contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="network.xml" hash="e53c67d4623cc024606160bd965b4fc7"/></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="network.xml" hash="9179e5afe72fe71ff551d5e5c7a82cc2"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="css"><file name="cb_sn.css" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir><dir name="images"><dir name="cb_social_icons"><file name="Facebook-icon.png" hash="41747a3796dce5f963fb2148d098449d"/><file name="Flickr-icon.png" hash="5c0aaf62c1b84d8347a482d953308e5c"/><file name="MySpace-icon.png" hash="cfc71f32acec27d3416da402bbaf01a3"/><file name="Twitter-icon.png" hash="c3ab6c65a4f6979cfd8aa1944eadd2dd"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="SN_Network.xml" hash="9b16689b5e618318cc8840734902bade"/></dir></target><target name="magecommunity"><dir name="SN"><dir name="Network"><dir name="Block"><dir name="Adminhtml"><dir name="Network"><dir name="Edit"><dir name="Tab"><file name="Form.php" hash="0a67d686b31f6a4dd38459d87b71f21a"/></dir><file name="Form.php" hash="263e0e54e8baed7a8262a9e062e383f4"/><file name="Tabs.php" hash="6147b0ce9918dff8ae383bcd527c1ea8"/></dir><file name="Edit.php" hash="fb73ad94cf3f5d6f6481f071f0b38e5e"/><file name="Grid.php" hash="65cd59b428235f0e731d7b6e60c63076"/></dir><file name="Network.php" hash="e926f1af478443690ad84f21cad854d3"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="NetworkController.php" hash="5229a1f162dfaa2fecc1c35a6274dbab"/></dir><file name="IndexController.php" hash="860a00351789c1184a302b72cab84ef6"/></dir><dir name="etc"><file name="config.xml" hash="ef4e5ce0f2d068a10eb04d7889cb27be"/></dir><dir name="Helper"><file name="Data.php" hash="9f55b04ad0fa8d4863183285576d1475"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Network"><file name="Collection.php" hash="229f02538c42f210cce82446829c19ab"/></dir><file name="Network.php" hash="882808ada9e5b11fc1abf12802414413"/></dir><file name="Network.php" hash="8d64e7727e81bf7814a71bef61f76b7e"/></dir><dir name="sql"><dir name="network_setup"><file name="mysql4-install-0.1.0.php" hash="42b600526b16fb0d072bda00f8b275f6"/></dir></dir></dir></dir></target></contents>
17
  <compatible/>
18
  <dependencies/>
19
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Social_Bookmarks_Icons_2_0</name>
4
+ <version>2.4</version>
5
  <stability>stable</stability>
6
+ <license>OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>This extension allows you to share products / page on various Social Networking sites as choosen by you. The highlighting point of this extension is flexibility to call social icons anywhere you wish to display.</summary>
10
  <description>This extension allows you to share products / page on various Social Networking sites as choosen by you. The highlighting point of this extension is flexibility to call social icons anywhere you wish to display.</description>
11
+ <notes>Inorder to display this extension, you have to call below given code on required template page.
12
+
13
+ &amp;lt;?php echo Mage::helper(&amp;apos;network/data&amp;apos;)-&amp;gt;CUE_socialIcons(); ?&amp;gt;</notes>
14
  <authors><author><name>Nitin Khullar</name><user>auto-converted</user><email>nitin.khullar@cueblocks.com</email></author></authors>
15
+ <date>2011-01-25</date>
16
+ <time>10:42:36</time>
17
+ <contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="network.xml" hash="e53c67d4623cc024606160bd965b4fc7"/></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="network.xml" hash="2e0f338b63dd6d9c70b432b0ddd72d51"/></dir></dir></dir></dir></target><target name="magecommunity"><dir name="CueBlocks"><dir name="Network"><dir name="Block"><dir name="Adminhtml"><dir name="Network"><dir name="Edit"><dir name="Tab"><file name="Form.php" hash="92ddf3dc1f879609691141270e32eac9"/></dir><file name="Form.php" hash="0d9230d6f4caeb727c3484f595d022c7"/><file name="Tabs.php" hash="f0a58cb81c3fcbe102cad9202b4a0985"/></dir><file name="Edit.php" hash="56b48d94a60436a933d335cd898a4492"/><file name="Grid.php" hash="50da5763bff70bd77736e0b8ad1a4b60"/></dir><file name="Network.php" hash="c480e0329c74e8f160dedecf1457df9d"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="NetworkController.php" hash="a7e22badeaf25cf297ef1d0a0f1a10f7"/></dir><file name="IndexController.php" hash="03c5f3adf1fda97b632b5228c11a4831"/></dir><dir name="etc"><file name="config.xml" hash="40bfb624b6af26c7078bb98d27c74b1f"/></dir><dir name="Helper"><file name="Data.php" hash="d1d893d77e6333aeaa810549ad5d381b"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Network"><file name="Collection.php" hash="6d0dcb1633c7b972a3295f3747594a41"/></dir><file name="Network.php" hash="a0777e95233a9165a27debfa2eee6cb9"/></dir><file name="Network.php" hash="c29e16d20bc8fc4380137eac562562b8"/></dir><dir name="sql"><dir name="network_setup"><file name="mysql4-install-0.1.0.php" hash="42b600526b16fb0d072bda00f8b275f6"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="CueBlocks_Network.xml" hash="70cbe86d9d9bac8b48817d3a8cdb2f3c"/></dir></target><target name="mage"><dir name="skin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="css"><file name="cb_sn.css" hash=""/></dir><dir name="images"><dir name="cb_social_icons"><file name="Facebook-icon.png" hash="41747a3796dce5f963fb2148d098449d"/><file name="Flickr-icon.png" hash="5c0aaf62c1b84d8347a482d953308e5c"/><file name="MySpace-icon.png" hash="cfc71f32acec27d3416da402bbaf01a3"/><file name="Twitter-icon.png" hash="c3ab6c65a4f6979cfd8aa1944eadd2dd"/></dir></dir></dir></dir></dir></dir></target></contents>
18
  <compatible/>
19
  <dependencies/>
20
  </package>
skin/frontend/default/default/css/cb_sn.css DELETED
File without changes