Version Notes
Some Height fixes
Download this release
Release Info
| Developer | Magento Core Team |
| Extension | BeeShopy_BeeSocial |
| Version | 0.5 |
| Comparing to | |
| See all releases | |
Code changes from version 0.4.3 to 0.5
app/code/community/BeeShopy/BeeSocial/Block/Iframe.php
CHANGED
|
@@ -10,7 +10,6 @@ class BeeShopy_BeeSocial_Block_Iframe
|
|
| 10 |
$domain = urlencode(Mage::getBaseURL());
|
| 11 |
$url = urlencode(Mage::helper('core/url')->getCurrentUrl());
|
| 12 |
$html = "";
|
| 13 |
-
|
| 14 |
if($product){
|
| 15 |
$html .= "<script type='text/javascript'>
|
| 16 |
// Resize iframe to full height
|
|
@@ -21,7 +20,7 @@ class BeeShopy_BeeSocial_Block_Iframe
|
|
| 21 |
document.getElementById('beesocial').height = parseInt(height)+10;
|
| 22 |
}
|
| 23 |
</script>";
|
| 24 |
-
$html.= '<div class="product-view" style ="margin-top:10px"><div class="product-collateral" style="background-color:#e9effe"><h2>Spread the word!</h2><iframe src="http://beeshopy.com/out?domain='.$domain.'&product_id='.$product->getId().'&url='.$url.'&width=600" width="100%" scrolling="auto" frameborder="0" id="beesocial"></iframe></div></div>';
|
| 25 |
}
|
| 26 |
return $html;
|
| 27 |
}
|
| 10 |
$domain = urlencode(Mage::getBaseURL());
|
| 11 |
$url = urlencode(Mage::helper('core/url')->getCurrentUrl());
|
| 12 |
$html = "";
|
|
|
|
| 13 |
if($product){
|
| 14 |
$html .= "<script type='text/javascript'>
|
| 15 |
// Resize iframe to full height
|
| 20 |
document.getElementById('beesocial').height = parseInt(height)+10;
|
| 21 |
}
|
| 22 |
</script>";
|
| 23 |
+
$html.= '<div class="product-view" style ="margin-top:10px"><div class="product-collateral" style="background-color:#e9effe"><h2>Spread the word!</h2><iframe src="http://beeshopy.com/out?domain='.$domain.'&product_id='.$product->getId().'&url='.$url.'&width=600" width="100%" height="230px" scrolling="auto" frameborder="0" id="beesocial"></iframe></div></div>';
|
| 24 |
}
|
| 25 |
return $html;
|
| 26 |
}
|
package.xml
CHANGED
|
@@ -1,18 +1,18 @@
|
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>BeeShopy_BeeSocial</name>
|
| 4 |
-
<version>0.
|
| 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>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>miguelangel@beeshopy.com</email></author><author><name>Juan Gallego</name><user>auto-converted</user><email>juan@beeshopy.com</email></author></authors>
|
| 13 |
<date>2011-01-11</date>
|
| 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>0.5</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>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>Some Height fixes</notes>
|
| 12 |
<authors><author><name>Miguel Ángel Martínez Triviño</name><user>auto-converted</user><email>miguelangel@beeshopy.com</email></author><author><name>Juan Gallego</name><user>auto-converted</user><email>juan@beeshopy.com</email></author></authors>
|
| 13 |
<date>2011-01-11</date>
|
| 14 |
+
<time>18:56:08</time>
|
| 15 |
+
<contents><target name="magecommunity"><dir name="BeeShopy"><dir name="BeeSocial"><dir name="Block"><file name="Iframe.php" hash="e07f96e0af061e2951435b7185b19ee4"/></dir><dir name="controllers"><file name="IndexController.php" hash="c296bff38d157d13c3d5705ea523bc68"/></dir><dir name="etc"><file name="config.xml" hash="0ae95b3831c399cb4e9ec321ee3a1c83"/><file name="widget.xml" hash="983dfa5d28418547ca7b636f246f5e98"/></dir><dir name="helper"><file name="Data.php" hash="7a9befef350fe2d362599b32620eb534"/></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>
|
