Facebook_Like_by_Vivacity - Version 1.0.2

Version Notes

Initial Release of Extension

Download this release

Release Info

Developer Team Vivacity
Extension Facebook_Like_by_Vivacity
Version 1.0.2
Comparing to
See all releases


Code changes from version 1.0.1 to 1.0.2

app/design/frontend/base/default/template/facebooklike/facebooklike.phtml CHANGED
@@ -23,12 +23,14 @@ if($fbface==1){
23
  $fbappid=($fbappid=='') ? '512993528731249' : $fbappid ;//If FB APP ID is not added
24
  $dbdatawidth=($dbdatawidth=='') ? '450' : $dbdatawidth ;//default button width
25
  ?>
 
26
  <script>(function(d, s, id) {
27
  var js, fjs = d.getElementsByTagName(s)[0];
28
  if (d.getElementById(id)) return;
29
  js = d.createElement(s); js.id = id;
30
- js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=<?php echo $fbappid;?>";
31
  fjs.parentNode.insertBefore(js, fjs);
32
- }(document, 'script', 'facebook-jssdk'));
33
- </script>
34
- <div id="fb-root"></div><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like layout="<?php echo $fblayout; ?>" show_faces="<?php echo $fbface; ?>" width="<?php echo $dbdatawidth;?>" color_scheme="<?php echo $fbcolorscheme;?>" ></fb:like>
 
23
  $fbappid=($fbappid=='') ? '512993528731249' : $fbappid ;//If FB APP ID is not added
24
  $dbdatawidth=($dbdatawidth=='') ? '450' : $dbdatawidth ;//default button width
25
  ?>
26
+ <div id="fb-root"></div>
27
  <script>(function(d, s, id) {
28
  var js, fjs = d.getElementsByTagName(s)[0];
29
  if (d.getElementById(id)) return;
30
  js = d.createElement(s); js.id = id;
31
+ js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&appId=<?php echo $fbappid;?>&version=v2.0";
32
  fjs.parentNode.insertBefore(js, fjs);
33
+ }(document, 'script', 'facebook-jssdk'));</script>
34
+ <?php /* ?><fb:like layout="<?php echo $fblayout; ?>" show_faces="<?php echo $fbface; ?>" width="<?php echo $dbdatawidth;?>" color_scheme="<?php echo $fbcolorscheme;?>" ></fb:like> <?php */ ?>
35
+
36
+ <div class="fb-like" data-width="<?php echo $dbdatawidth;?>" data-layout="<?php echo $fblayout; ?>" data-action="like" data-show-faces="<?php echo $fbface; ?>"></div>
app/design/frontend/base/default/template/facebooklike/head.phtml CHANGED
@@ -5,6 +5,7 @@
5
  <meta property="og:url" content="<?php echo $this->helper('core/url')->getCurrentUrl();?>"/>
6
  <meta property="og:type" content="product"/>
7
  <meta property="og:image" content="<?php echo $this->helper('catalog/image')->init($product, 'small_image')->resize(130, 110); ?>" />
8
- <?php endif; ?>
 
9
 
10
 
5
  <meta property="og:url" content="<?php echo $this->helper('core/url')->getCurrentUrl();?>"/>
6
  <meta property="og:type" content="product"/>
7
  <meta property="og:image" content="<?php echo $this->helper('catalog/image')->init($product, 'small_image')->resize(130, 110); ?>" />
8
+ <meta property="og:description" content="<?php echo $product->getShortDescription(); ?>" />
9
+ <?php endif; ?>
10
 
11
 
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Facebook_Like_by_Vivacity</name>
4
- <version>1.0.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.gnu.org/copyleft/gpl.html">GPL</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Adds "Facebook Like button" to your product detail page. </summary>
10
- <description>"Facebook Like Vivacity" extension provides users an easy &amp; simple way to like any of your store products which then is posted on user's Facebook account wall, thus telling your friends and FaceBook connections about that product and its description. </description>
11
  <notes>Initial Release of Extension</notes>
12
- <authors><author><name>Team Vivacity</name><user>vivacityinfotec</user><email>vivacityinfotech.jaipur@gmail.com</email></author></authors>
13
- <date>2014-05-12</date>
14
- <time>06:09:42</time>
15
- <contents><target name="magecommunity"><dir name="Vivacity"><dir name="FacebookLike"><dir name="Helper"><file name="Data.php" hash="ab7954778cebab04b849b2a7d2a26e8b"/></dir><dir name="Model"><file name="Fbcolorscheme.php" hash="6ca3976387c8c63c7f4a2bfa3bb91b25"/><file name="Layout.php" hash="ef6f038a3654e0238b19770327ec74f7"/></dir><dir name="etc"><file name="config.xml" hash="b27f6850d8b342570dcad233503b167b"/><file name="system.xml" hash="37c59acecb5c71584a58b1e527590d9f"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Vivacity_FacebookLike.xml" hash="e8869ea63f7c6305de39a294deef443a"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="facebooklike"><file name="facebooklike.phtml" hash="f639bbf6eacccb90ac1315a7ba5253ef"/><file name="head.phtml" hash="c200db758cc264bcf050f4b3b65906c2"/></dir></dir><dir name="layout"><file name="facebooklike.xml" hash="b5542dd8ea085b94c5f3bb68d3e1f7ef"/></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
- <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Facebook_Like_by_Vivacity</name>
4
+ <version>1.0.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.gnu.org/copyleft/gpl.html">GPL</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Adds "Facebook Like button" to your product detail page. </summary>
10
+ <description>"Facebook Like Vivacity" extension provides users an easy &amp;amp; simple way to like any of your store products which then is posted on user's Facebook account wall, thus telling your friends and FaceBook connections about that product and its description.</description>
11
  <notes>Initial Release of Extension</notes>
12
+ <authors><author><name>Team Vivacity</name><user>vivacityinfotech</user><email>vivacityinfotech.jaipur@gmail.com</email></author></authors>
13
+ <date>2014-12-31</date>
14
+ <time>17:50:48</time>
15
+ <contents><target name="mageetc"><dir name="modules"><file name="Vivacity_FacebookLike.xml" hash="e8869ea63f7c6305de39a294deef443a"/></dir></target><target name="magecommunity"><dir name="Vivacity"><dir name="FacebookLike"><dir><dir name="etc"><file name="config.xml" hash="b27f6850d8b342570dcad233503b167b"/><file name="system.xml" hash="37c59acecb5c71584a58b1e527590d9f"/></dir><dir name="Helper"><file name="Data.php" hash="ab7954778cebab04b849b2a7d2a26e8b"/></dir><dir name="Model"><file name="Fbcolorscheme.php" hash="6ca3976387c8c63c7f4a2bfa3bb91b25"/><file name="Layout.php" hash="ef6f038a3654e0238b19770327ec74f7"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="facebooklike.xml" hash="b5542dd8ea085b94c5f3bb68d3e1f7ef"/></dir><dir name="template"><dir name="facebooklike"><file name="facebooklike.phtml" hash="589864e7a4d8137fdcc699aff1a63941"/><file name="head.phtml" hash="8d95e6895e5aafabe531f93844e90465"/></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
+ <dependencies><required><php><min>2.0.1</min><max>6.0.0</max></php></required></dependencies>
18
  </package>