Version Notes
Fifth release of Simplified Social Share extension
Download this release
Release Info
Developer | LoginRadius Team |
Extension | LoginRadiusShare |
Version | 2.1.0 |
Comparing to | |
See all releases |
Code changes from version 2.0.0 to 2.1.0
- app/code/community/Loginradius/Sharing/Block/Help.php +1 -1
- app/code/community/Loginradius/Sharing/Model/Observer.php +12 -0
- app/code/community/Loginradius/Sharing/Model/System/Config/Info.php +1 -1
- app/code/community/Loginradius/Sharing/etc/config.xml +12 -1
- app/design/adminhtml/default/default/layout/loginradius_sharing.xml +9 -8
- package.xml +6 -6
- skin/adminhtml/default/default/Loginradius/Sharing/js/jquery.js +0 -0
- skin/adminhtml/default/default/Loginradius/Sharing/js/jquery.noConflict.js +1 -0
app/code/community/Loginradius/Sharing/Block/Help.php
CHANGED
@@ -55,7 +55,7 @@ class Loginradius_Sharing_Block_Help extends Mage_Adminhtml_Block_System_Config_
|
|
55 |
<td><a target="_blank" href="http://ish.re/AEFD">How to get LoginRadius API Key</a></td></tr>
|
56 |
<tr><td><a target="_blank" href="http://ish.re/9WBZ">Magento Multisite Feature</a></td>
|
57 |
<td><a target="_blank" href="http://ish.re/5P2D">LoginRadius Products</a></td></tr>
|
58 |
-
<tr><td><a target="_blank" href="http://ish.re/
|
59 |
<td><a target="_blank" href="http://ish.re/8PFR">Social Plugins</a></td></tr>
|
60 |
<tr><td><a target="_blank" href="http://ish.re/C9F7">Social SDKs</a></td></tr>';
|
61 |
|
55 |
<td><a target="_blank" href="http://ish.re/AEFD">How to get LoginRadius API Key</a></td></tr>
|
56 |
<tr><td><a target="_blank" href="http://ish.re/9WBZ">Magento Multisite Feature</a></td>
|
57 |
<td><a target="_blank" href="http://ish.re/5P2D">LoginRadius Products</a></td></tr>
|
58 |
+
<tr><td><a target="_blank" href="http://ish.re/8PJ7">About LoginRadius</a></td>
|
59 |
<td><a target="_blank" href="http://ish.re/8PFR">Social Plugins</a></td></tr>
|
60 |
<tr><td><a target="_blank" href="http://ish.re/C9F7">Social SDKs</a></td></tr>';
|
61 |
|
app/code/community/Loginradius/Sharing/Model/Observer.php
CHANGED
@@ -64,6 +64,18 @@ class Loginradius_Sharing_Model_Observer extends Mage_Core_Helper_Abstract
|
|
64 |
}
|
65 |
}
|
66 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
/**
|
68 |
* Function for caalling appropriate method ex. curl, fsockopen or magento default varien to call LoginRadius api.
|
69 |
*
|
64 |
}
|
65 |
}
|
66 |
|
67 |
+
public function addCustomLayoutHandle(Varien_Event_Observer $observer)
|
68 |
+
{
|
69 |
+
$controllerAction = $observer->getEvent()->getAction();
|
70 |
+
$layout = $observer->getEvent()->getLayout();
|
71 |
+
if ($controllerAction && $layout && $controllerAction instanceof Mage_Adminhtml_System_ConfigController) {
|
72 |
+
if ($controllerAction->getRequest()->getParam('section') == 'sharing_options') {
|
73 |
+
$layout->getUpdate()->addHandle('sharing_custom_handle');
|
74 |
+
}
|
75 |
+
}
|
76 |
+
return $this;
|
77 |
+
}
|
78 |
+
|
79 |
/**
|
80 |
* Function for caalling appropriate method ex. curl, fsockopen or magento default varien to call LoginRadius api.
|
81 |
*
|
app/code/community/Loginradius/Sharing/Model/System/Config/Info.php
CHANGED
@@ -93,7 +93,7 @@ class Loginradius_Sharing_Model_System_Config_Info extends Mage_Adminhtml_Block_
|
|
93 |
<h4 class="lr_admin_fieldset_title"><strong><?php echo $this->__('Extension Information!') ?></strong></h4>
|
94 |
|
95 |
<div style="margin:5px 0">
|
96 |
-
<strong>Version: </strong>2.
|
97 |
<strong>Author:</strong> LoginRadius<br/>
|
98 |
<strong>Website:</strong> <a href="https://www.loginradius.com" target="_blank">www.loginradius.com</a>
|
99 |
<br/>
|
93 |
<h4 class="lr_admin_fieldset_title"><strong><?php echo $this->__('Extension Information!') ?></strong></h4>
|
94 |
|
95 |
<div style="margin:5px 0">
|
96 |
+
<strong>Version: </strong>2.1.0 <br/>
|
97 |
<strong>Author:</strong> LoginRadius<br/>
|
98 |
<strong>Website:</strong> <a href="https://www.loginradius.com" target="_blank">www.loginradius.com</a>
|
99 |
<br/>
|
app/code/community/Loginradius/Sharing/etc/config.xml
CHANGED
@@ -27,7 +27,7 @@
|
|
27 |
</default>
|
28 |
<modules>
|
29 |
<Loginradius_Sharing>
|
30 |
-
<version>
|
31 |
</Loginradius_Sharing>
|
32 |
</modules>
|
33 |
<frontend>
|
@@ -68,6 +68,7 @@
|
|
68 |
</sharing>
|
69 |
</routers>
|
70 |
</admin>
|
|
|
71 |
<adminhtml>
|
72 |
<acl>
|
73 |
<resources>
|
@@ -121,6 +122,16 @@
|
|
121 |
</observers>
|
122 |
</model_config_data_save_before>
|
123 |
</events>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
124 |
</adminhtml>
|
125 |
<global>
|
126 |
<models>
|
27 |
</default>
|
28 |
<modules>
|
29 |
<Loginradius_Sharing>
|
30 |
+
<version>2.1.0</version>
|
31 |
</Loginradius_Sharing>
|
32 |
</modules>
|
33 |
<frontend>
|
68 |
</sharing>
|
69 |
</routers>
|
70 |
</admin>
|
71 |
+
|
72 |
<adminhtml>
|
73 |
<acl>
|
74 |
<resources>
|
122 |
</observers>
|
123 |
</model_config_data_save_before>
|
124 |
</events>
|
125 |
+
<events>
|
126 |
+
<controller_action_layout_load_before>
|
127 |
+
<observers>
|
128 |
+
<sharing_observer>
|
129 |
+
<class>sharing/Observer</class>
|
130 |
+
<method>addCustomLayoutHandle</method>
|
131 |
+
</sharing_observer>
|
132 |
+
</observers>
|
133 |
+
</controller_action_layout_load_before>
|
134 |
+
</events>
|
135 |
</adminhtml>
|
136 |
<global>
|
137 |
<models>
|
app/design/adminhtml/default/default/layout/loginradius_sharing.xml
CHANGED
@@ -1,11 +1,12 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<layout version="1.0.0">
|
3 |
-
<
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
|
|
11 |
</layout>
|
1 |
<?xml version="1.0"?>
|
2 |
<layout version="1.0.0">
|
3 |
+
<sharing_custom_handle>
|
4 |
+
<reference name="head">
|
5 |
+
<action method="addItem"><type>skin_js</type><name>Loginradius/Sharing/js/jquery.js</name><params/></action>
|
6 |
+
<action method="addItem"><type>skin_js</type><name>Loginradius/Sharing/js/jquery.noConflict.js</name><params/></action>
|
7 |
+
<action method="addItem"><type>skin_js</type><name>Loginradius/Sharing/js/jquery.ui.sortable.min.js</name><params/></action>
|
8 |
+
<action method="addItem"><type>skin_js</type><name>Loginradius/Sharing/js/admin-ui.js</name><params/></action>
|
9 |
+
<action method="addItem"><type>skin_css</type><name>Loginradius/Sharing/css/admin-ui.css</name><params/></action>
|
10 |
+
</reference>
|
11 |
+
</sharing_custom_handle>
|
12 |
</layout>
|
package.xml
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>LoginRadiusShare</name>
|
4 |
-
<version>2.
|
5 |
<stability>stable</stability>
|
6 |
<license>GNU General Public License (GPL)</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Social Sharing for Magento</summary>
|
10 |
<description>Add Sharing to your Magento website</description>
|
11 |
-
<notes>
|
12 |
<authors><author><name>LoginRadius Team</name><user>LoginRadius</user><email>developers@loginradius.com</email></author></authors>
|
13 |
-
<date>2015-
|
14 |
-
<time>
|
15 |
-
<contents><target name="magecommunity"><dir name="Loginradius"><dir name="Sharing"><dir name="Block"><file name="Help.php" hash="
|
16 |
<compatible/>
|
17 |
-
<dependencies><required><php><min>5.1.0</min><max>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>LoginRadiusShare</name>
|
4 |
+
<version>2.1.0</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>GNU General Public License (GPL)</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Social Sharing for Magento</summary>
|
10 |
<description>Add Sharing to your Magento website</description>
|
11 |
+
<notes>Fifth release of Simplified Social Share extension</notes>
|
12 |
<authors><author><name>LoginRadius Team</name><user>LoginRadius</user><email>developers@loginradius.com</email></author></authors>
|
13 |
+
<date>2015-05-25</date>
|
14 |
+
<time>13:45:51</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="Loginradius"><dir name="Sharing"><dir name="Block"><file name="Help.php" hash="c8e5cafd1fdb0e483ec5aeeae66686a9"/><file name="Horizontalsharing.php" hash="35663b3b6e6f6cef0afe9a98a0755211"/><file name="Sharing.php" hash="5d9c9e2a83770739be0a5b1e55ec3e1a"/><file name="Verticalsharing.php" hash="439fa7142166729a68e7039ca4ff953f"/></dir><dir name="Helper"><file name="Data.php" hash="3872b2366517616d24125dda54462d00"/></dir><dir name="Model"><file name="Observer.php" hash="96bf28f2251231cc6db594d654e2afc5"/><dir name="Source"><file name="HorizontalSharing.php" hash="a7ea2aafaad55d8b472cc9d3374aee45"/><file name="SharingVerticalAlignment.php" hash="905d7e0d4a3878d4bb6a98614095b921"/><file name="VerticalSharing.php" hash="39d47e2500209afab6f3b51a9ca2861a"/></dir><dir name="System"><dir name="Config"><file name="Info.php" hash="fb839e0cb6a22ad1f2ec7e20c91c4a27"/></dir></dir></dir><dir name="etc"><file name="config.xml" hash="b444c52740621426733aa69022c9b819"/><file name="system.xml" hash="d65a3c444e55f08deb5fbec9e1937754"/><file name="widget.xml" hash="ca111c2e4529d2170aa6efb8bc6b1139"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Loginradius_sharing.xml" hash="0b94fa11070a3a05b1a01a0f3f5d9fc3"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="loginradius_sharing.xml" hash="22b2ca66f5ba5ec09a583a61e13faefc"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="sharing.xml" hash="64a5b0c70a83aa6e6a5dd3e62c8c5b33"/></dir><dir name="template"><dir name="sharing"><file name="socialshare_head.phtml" hash="76dbcd864552844a832bbab35603dc26"/><file name="socialshareproduct.phtml" hash="2f2639165db807c798c1715a758c1cce"/><file name="socialsharesuccess.phtml" hash="6ce81c57c03f8f7157b2b68ee61d33d2"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="Loginradius"><dir name="Sharing"><dir name="css"><file name="admin-ui.css" hash="6fc3050ff18dc4d50d365cc798e0372c"/><file name="lrshare_iconsprite32.png" hash="a016ded3f25653acf2fa9dfab8a38103"/></dir><dir name="images"><dir name="Sharing"><dir name="Horizontal"><file name="horizonSharing16.png" hash="0fad94b8e4a3e44a2e14f81a2ee04041"/><file name="horizonSharing32.png" hash="561208c81d7cd9d3500e3c460a8a5c49"/><file name="horizontal.png" hash="628fb90190ea3ded7b1f384662ce8153"/><file name="responsive-icons.png" hash="f792ba85bf94a6cf05329d5a9a4087b5"/><file name="single-image-theme-large.png" hash="e6ff4a26149b631639b601d95e2dc361"/><file name="single-image-theme-small.png" hash="8c2b20fa0f276e33f3876783eb2cbd74"/><file name="vertical.png" hash="81e8591ec1216ffaa22430e86431bf15"/></dir><dir name="Vertical"><file name="16VerticlewithBox.png" hash="73b3abf54889144e9188ffaa76cbb11f"/><file name="32VerticlewithBox.png" hash="37060e164ca4f7c00f430d5f1ab7eddd"/><file name="verticalhorizontal.png" hash="0f4729083e85894d126a7c5202b18465"/><file name="verticalvertical.png" hash="fbbcf59f5e1c121d34073e4769048ff4"/></dir></dir><dir name="media-pages"><file name="facebook.png" hash="a77fde5f83509192ad6827fc01502855"/><file name="google.png" hash="adaebd65b6f38ed79ef1598c88c30a0d"/><file name="linkedin.png" hash="b17944457a3654f1320d48de9c2fdcdc"/><file name="twitter.png" hash="11150d792156e123d4aace84ce5ab0fd"/><file name="youtube.png" hash="1496547f266f7b3c7634198eecf0e20a"/></dir></dir><dir name="js"><file name="admin-ui.js" hash="9b74430c66d473c482b96a16a996dbaf"/><file name="jquery.js" hash="d05a3f47f076f2e0d1fc948d8d94d58d"/><file name="jquery.noConflict.js" hash="3179f2255b046d5f2e9a71e365287bef"/><file name="jquery.ui.sortable.min.js" hash="b847eafb05bcc6ef0908ff07dcd2b0f1"/></dir></dir></dir></dir></dir></dir></target></contents>
|
16 |
<compatible/>
|
17 |
+
<dependencies><required><php><min>5.1.0</min><max>10.0.0</max></php></required></dependencies>
|
18 |
</package>
|
skin/adminhtml/default/default/Loginradius/Sharing/js/jquery.js
CHANGED
Binary file
|
skin/adminhtml/default/default/Loginradius/Sharing/js/jquery.noConflict.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
jQuery.noConflict();
|