Version Notes
Adding canonical URL
Download this release
Release Info
Developer | Magento Core Team |
Extension | BeeShopy_BeeSocial |
Version | 1.1.0 |
Comparing to | |
See all releases |
Code changes from version 1.0.0 to 1.1.0
app/code/community/BeeShopy/BeeSocial/Block/.Iframe.php.swp
CHANGED
Binary file
|
app/code/community/BeeShopy/BeeSocial/Block/Iframe.php
CHANGED
@@ -8,9 +8,8 @@ class BeeShopy_BeeSocial_Block_Iframe
|
|
8 |
{
|
9 |
$product = Mage::registry('current_product');
|
10 |
$domain = urlencode(Mage::getBaseURL());
|
11 |
-
$url = urlencode(
|
12 |
if($product){
|
13 |
-
|
14 |
$html = "
|
15 |
<div id='beesocial' class='product-view' style='text-align:center;'".
|
16 |
" data-domain='".$domain.
|
@@ -25,7 +24,7 @@ class BeeShopy_BeeSocial_Block_Iframe
|
|
25 |
"' data-fb-comment-num-post='".Mage::getStoreConfig('beesocial_options/fb_comments/number').
|
26 |
"' data-comment-width='".Mage::getStoreConfig('beesocial_options/fb_comments/width').
|
27 |
"' data-twitter-text='".Mage::getStoreConfig('beesocial_options/twitter/text').
|
28 |
-
"' ></div> <script type='text/javascript' src='//www.beetailer.com/javascripts/beetailer.js'></script>
|
29 |
<style>#beesocial iframe{width:".(Mage::getStoreConfig('beesocial_options/fb_comments/width') + 10)."px;}</style>";
|
30 |
return $html;
|
31 |
}
|
8 |
{
|
9 |
$product = Mage::registry('current_product');
|
10 |
$domain = urlencode(Mage::getBaseURL());
|
11 |
+
$url = urlencode($product->getProductUrl());
|
12 |
if($product){
|
|
|
13 |
$html = "
|
14 |
<div id='beesocial' class='product-view' style='text-align:center;'".
|
15 |
" data-domain='".$domain.
|
24 |
"' data-fb-comment-num-post='".Mage::getStoreConfig('beesocial_options/fb_comments/number').
|
25 |
"' data-comment-width='".Mage::getStoreConfig('beesocial_options/fb_comments/width').
|
26 |
"' data-twitter-text='".Mage::getStoreConfig('beesocial_options/twitter/text').
|
27 |
+
"' ></div> <script type='text/javascript' src='//www.beetailer.com/javascripts/beetailer.js?v=110'></script>
|
28 |
<style>#beesocial iframe{width:".(Mage::getStoreConfig('beesocial_options/fb_comments/width') + 10)."px;}</style>";
|
29 |
return $html;
|
30 |
}
|
package.xml
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>BeeShopy_BeeSocial</name>
|
4 |
-
<version>1.
|
5 |
<stability>stable</stability>
|
6 |
<license>OSL v3.0</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>FB:Comments, FB:Like and Twitter Badget for your products.</summary>
|
10 |
<description>BeeSocial allows to your users comment and share your products in Facebook and Twitter.</description>
|
11 |
-
<notes>
|
12 |
<authors><author><name>Miguel Ángel Martínez Triviño</name><user>auto-converted</user><email>miguel@beetailer.com</email></author></authors>
|
13 |
-
<date>2011-07-
|
14 |
-
<time>
|
15 |
-
<contents><target name="magecommunity"><dir name="BeeShopy"><dir name="BeeSocial"><dir name="Block"><file name="Iframe.php" hash="
|
16 |
<compatible/>
|
17 |
<dependencies/>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>BeeShopy_BeeSocial</name>
|
4 |
+
<version>1.1.0</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>OSL v3.0</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>FB:Comments, FB:Like and Twitter Badget for your products.</summary>
|
10 |
<description>BeeSocial allows to your users comment and share your products in Facebook and Twitter.</description>
|
11 |
+
<notes>Adding canonical URL</notes>
|
12 |
<authors><author><name>Miguel Ángel Martínez Triviño</name><user>auto-converted</user><email>miguel@beetailer.com</email></author></authors>
|
13 |
+
<date>2011-07-26</date>
|
14 |
+
<time>12:16:00</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="BeeShopy"><dir name="BeeSocial"><dir name="Block"><file name="Iframe.php" hash="8c10603b5edf423d735dcceaabaae34b"/><file name=".Iframe.php.swp" hash="30cd526c5b3ed09d863cd82ed6d691ad"/></dir><dir name="Helper"><file name="Data.php" hash="756f44af9ad6bdc769ce65a87e3b1718"/></dir><dir name="Model"><file name="Themes.php" hash="4a76619575c942b8f3c58e6530fad1e5"/></dir><dir name="etc"><file name="config.xml" hash="9656407a881e0cf4e083b007126e6963"/><file name="system.xml" hash="ab438f1d573e15dc06d5de69a19a8263"/><file name="widget.xml" hash="983dfa5d28418547ca7b636f246f5e98"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="BeeShopy_BeeSocial.xml" hash="f24331c9435e13df6243bdf75e28b5b1"/></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies/>
|
18 |
</package>
|