Version Notes
Facebook Open Graph 2.0 extension is compatible with Magento Enterprise Edition and Professional Edition 1.8.0.0, and Magento Community Edition 1.3.0.0.
Download this release
Release Info
Developer | Magento Core Team |
Extension | Social_Facebook |
Version | 1.3.0.0 |
Comparing to | |
See all releases |
Code changes from version 1.4.0.0 to 1.3.0.0
- app/code/community/Social/Facebook/Block/Action.php +0 -1
- app/code/community/Social/Facebook/Block/Adminhtml/Facebuttons.php +36 -0
- app/code/community/Social/Facebook/Block/Adminhtml/Select.php +31 -0
- app/code/community/Social/Facebook/Block/Box.php +3 -3
- app/code/community/Social/Facebook/Block/Head.php +4 -4
- app/code/community/Social/Facebook/Block/Start.php +1 -1
- app/code/community/Social/Facebook/Helper/Data.php +1 -1
- app/code/community/Social/Facebook/Model/Facebuttons.php +6 -6
- app/code/community/Social/Facebook/controllers/IndexController.php +1 -1
- app/code/community/Social/Facebook/etc/config.xml +1 -1
- app/code/community/Social/Facebook/sql/social_facebook_setup/{mysql4-install-1.4.0.php → mysql4-install-1.3.0.php} +0 -0
- app/code/community/Social/Facebook/sql/social_facebook_setup/{mysql4-upgrade-1.4.0-1.4.0.1.php → mysql4-upgrade-1.3.0-1.3.0.1.php} +0 -0
- app/design/frontend/{base → default}/default/layout/facebook.xml +0 -0
- app/design/frontend/{base → default}/default/template/social/facebook/action.phtml +1 -1
- app/design/frontend/{base → default}/default/template/social/facebook/box.phtml +4 -4
- app/design/frontend/{base → default}/default/template/social/facebook/box.phtml~ +2 -2
- app/design/frontend/{base → default}/default/template/social/facebook/empty.phtml +0 -0
- app/design/frontend/{base → default}/default/template/social/facebook/page.phtml +1 -1
- package.xml +4 -4
- skin/frontend/{base → default}/default/css/facebook.css +1 -1
app/code/community/Social/Facebook/Block/Action.php
CHANGED
@@ -17,7 +17,6 @@
|
|
17 |
* @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
|
18 |
* @license http://www.magentocommerce.com/license/enterprise-edition
|
19 |
*/
|
20 |
-
|
21 |
class Social_Facebook_Block_Action extends Mage_Core_Block_Template
|
22 |
{
|
23 |
/**
|
17 |
* @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
|
18 |
* @license http://www.magentocommerce.com/license/enterprise-edition
|
19 |
*/
|
|
|
20 |
class Social_Facebook_Block_Action extends Mage_Core_Block_Template
|
21 |
{
|
22 |
/**
|
app/code/community/Social/Facebook/Block/Adminhtml/Facebuttons.php
CHANGED
@@ -38,6 +38,13 @@ class Social_Facebook_Block_Adminhtml_Facebuttons extends Mage_Adminhtml_Block_S
|
|
38 |
*/
|
39 |
protected $_selectRenderer;
|
40 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
/**
|
42 |
* Check if columns are defined, set template
|
43 |
*
|
@@ -113,6 +120,35 @@ class Social_Facebook_Block_Adminhtml_Facebuttons extends Mage_Adminhtml_Block_S
|
|
113 |
return parent::_toHtml();
|
114 |
}
|
115 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
116 |
/**
|
117 |
* Prepare existing row data object
|
118 |
*
|
38 |
*/
|
39 |
protected $_selectRenderer;
|
40 |
|
41 |
+
/**
|
42 |
+
* Rows cache
|
43 |
+
*
|
44 |
+
* @var array|null
|
45 |
+
*/
|
46 |
+
private $_arrayRowsCache;
|
47 |
+
|
48 |
/**
|
49 |
* Check if columns are defined, set template
|
50 |
*
|
120 |
return parent::_toHtml();
|
121 |
}
|
122 |
|
123 |
+
/**
|
124 |
+
* Obtain existing data from form element
|
125 |
+
*
|
126 |
+
* Each row will be instance of Varien_Object
|
127 |
+
*
|
128 |
+
* @return array
|
129 |
+
*/
|
130 |
+
public function getArrayRows()
|
131 |
+
{
|
132 |
+
if (null !== $this->_arrayRowsCache) {
|
133 |
+
return $this->_arrayRowsCache;
|
134 |
+
}
|
135 |
+
$result = array();
|
136 |
+
/** @var Varien_Data_Form_Element_Abstract */
|
137 |
+
$element = $this->getElement();
|
138 |
+
if ($element->getValue() && is_array($element->getValue())) {
|
139 |
+
foreach ($element->getValue() as $rowId => $row) {
|
140 |
+
foreach ($row as $key => $value) {
|
141 |
+
$row[$key] = $this->htmlEscape($value);
|
142 |
+
}
|
143 |
+
$row['_id'] = $rowId;
|
144 |
+
$result[$rowId] = new Varien_Object($row);
|
145 |
+
$this->_prepareArrayRow($result[$rowId]);
|
146 |
+
}
|
147 |
+
}
|
148 |
+
$this->_arrayRowsCache = $result;
|
149 |
+
return $this->_arrayRowsCache;
|
150 |
+
}
|
151 |
+
|
152 |
/**
|
153 |
* Prepare existing row data object
|
154 |
*
|
app/code/community/Social/Facebook/Block/Adminhtml/Select.php
CHANGED
@@ -51,4 +51,35 @@ class Social_Facebook_Block_Adminhtml_Select extends Mage_Core_Block_Html_Select
|
|
51 |
return parent::_toHtml();
|
52 |
}
|
53 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
}
|
51 |
return parent::_toHtml();
|
52 |
}
|
53 |
|
54 |
+
/**
|
55 |
+
* Return option HTML node
|
56 |
+
*
|
57 |
+
* @param array $option
|
58 |
+
* @param boolean $selected
|
59 |
+
* @return string
|
60 |
+
*/
|
61 |
+
protected function _optionToHtml($option, $selected = false)
|
62 |
+
{
|
63 |
+
$selectedHtml = $selected ? ' selected="selected"' : '';
|
64 |
+
if ($this->getIsRenderToJsTemplate() === true) {
|
65 |
+
$selectedHtml .= ' #{option_extra_attr_' . self::calcOptionHash($option['value']) . '}';
|
66 |
+
}
|
67 |
+
|
68 |
+
return sprintf('<option value="%s"%s>%s</option>',
|
69 |
+
$this->htmlEscape($option['value']),
|
70 |
+
$selectedHtml,
|
71 |
+
$this->htmlEscape($option['label']));
|
72 |
+
}
|
73 |
+
|
74 |
+
/**
|
75 |
+
* Calculate Option Hash
|
76 |
+
*
|
77 |
+
* @param $optionValue
|
78 |
+
* @return string
|
79 |
+
*/
|
80 |
+
public function calcOptionHash($optionValue)
|
81 |
+
{
|
82 |
+
return sprintf('%u', crc32($this->getName() . $this->getId() . $optionValue));
|
83 |
+
}
|
84 |
+
|
85 |
}
|
app/code/community/Social/Facebook/Block/Box.php
CHANGED
@@ -14,8 +14,8 @@
|
|
14 |
*
|
15 |
* @category Social
|
16 |
* @package Social_Facebook
|
17 |
-
* @copyright Copyright (c)
|
18 |
-
* @license http://
|
19 |
*/
|
20 |
|
21 |
class Social_Facebook_Block_Box extends Mage_Core_Block_Template
|
@@ -63,7 +63,7 @@ class Social_Facebook_Block_Box extends Mage_Core_Block_Template
|
|
63 |
public function getCountOfUsers($action)
|
64 |
{
|
65 |
return Mage::getModel('social_facebook/facebook')->getCountByActionProduct(
|
66 |
-
$this->
|
67 |
$this->getProductId()
|
68 |
);
|
69 |
}
|
14 |
*
|
15 |
* @category Social
|
16 |
* @package Social_Facebook
|
17 |
+
* @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
|
18 |
+
* @license http://www.magentocommerce.com/license/enterprise-edition
|
19 |
*/
|
20 |
|
21 |
class Social_Facebook_Block_Box extends Mage_Core_Block_Template
|
63 |
public function getCountOfUsers($action)
|
64 |
{
|
65 |
return Mage::getModel('social_facebook/facebook')->getCountByActionProduct(
|
66 |
+
$this->htmlEscape($action),
|
67 |
$this->getProductId()
|
68 |
);
|
69 |
}
|
app/code/community/Social/Facebook/Block/Head.php
CHANGED
@@ -53,15 +53,15 @@ class Social_Facebook_Block_Head extends Mage_Core_Block_Template
|
|
53 |
);
|
54 |
$tags[] = array(
|
55 |
'property' => 'og:title',
|
56 |
-
'content' => $this->
|
57 |
);
|
58 |
$tags[] = array(
|
59 |
'property' => 'og:image',
|
60 |
-
'content' => $this->
|
61 |
);
|
62 |
$tags[] = array(
|
63 |
'property' => 'og:description',
|
64 |
-
'content' => $this->
|
65 |
);
|
66 |
$tags[] = array(
|
67 |
'property' => $helper->getAppName(). ':price',
|
@@ -70,7 +70,7 @@ class Social_Facebook_Block_Head extends Mage_Core_Block_Template
|
|
70 |
|
71 |
$this->setMetaTags($tags);
|
72 |
|
73 |
-
$this->setRedirectUrl($product->getUrlModel()->
|
74 |
|
75 |
$this->setAppName($helper->getAppName());
|
76 |
}
|
53 |
);
|
54 |
$tags[] = array(
|
55 |
'property' => 'og:title',
|
56 |
+
'content' => $this->htmlEscape($product->getName())
|
57 |
);
|
58 |
$tags[] = array(
|
59 |
'property' => 'og:image',
|
60 |
+
'content' => $this->htmlEscape(Mage::helper('catalog/image')->init($product, 'image')->resize(256))
|
61 |
);
|
62 |
$tags[] = array(
|
63 |
'property' => 'og:description',
|
64 |
+
'content' => $this->htmlEscape($product->getShortDescription())
|
65 |
);
|
66 |
$tags[] = array(
|
67 |
'property' => $helper->getAppName(). ':price',
|
70 |
|
71 |
$this->setMetaTags($tags);
|
72 |
|
73 |
+
$this->setRedirectUrl($product->getUrlModel()->getProductUrl($product));
|
74 |
|
75 |
$this->setAppName($helper->getAppName());
|
76 |
}
|
app/code/community/Social/Facebook/Block/Start.php
CHANGED
@@ -44,7 +44,7 @@ class Social_Facebook_Block_Start extends Mage_Core_Block_Template
|
|
44 |
$product = Mage::registry('product');
|
45 |
$session = Mage::getSingleton('core/session');
|
46 |
$session->setData('product_id', $product->getId());
|
47 |
-
$session->setData('product_url', $product->getUrlModel()->
|
48 |
|
49 |
$accessToken = $session->getData('access_token');
|
50 |
$facebookId = $session->getData('facebook_id');
|
44 |
$product = Mage::registry('product');
|
45 |
$session = Mage::getSingleton('core/session');
|
46 |
$session->setData('product_id', $product->getId());
|
47 |
+
$session->setData('product_url', $product->getUrlModel()->getProductUrl($product));
|
48 |
|
49 |
$accessToken = $session->getData('access_token');
|
50 |
$facebookId = $session->getData('facebook_id');
|
app/code/community/Social/Facebook/Helper/Data.php
CHANGED
@@ -129,7 +129,7 @@ class Social_Facebook_Helper_Data extends Mage_Core_Helper_Abstract
|
|
129 |
{
|
130 |
return Social_Facebook_Model_Api::URL_GRAPH_DIALOG_OAUTH
|
131 |
. '?client_id=' . $this->getAppId()
|
132 |
-
. '&redirect_uri=' . urlencode($product->getUrlModel()->
|
133 |
. '&scope=publish_actions'
|
134 |
. '&response_type=code';
|
135 |
}
|
129 |
{
|
130 |
return Social_Facebook_Model_Api::URL_GRAPH_DIALOG_OAUTH
|
131 |
. '?client_id=' . $this->getAppId()
|
132 |
+
. '&redirect_uri=' . urlencode($product->getUrlModel()->getProductUrl($product))
|
133 |
. '&scope=publish_actions'
|
134 |
. '&response_type=code';
|
135 |
}
|
app/code/community/Social/Facebook/Model/Facebuttons.php
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Magento
|
4 |
*
|
5 |
* NOTICE OF LICENSE
|
6 |
*
|
7 |
-
* This source file is subject to the
|
8 |
-
* that is bundled with this package in the file
|
9 |
* It is also available through the world-wide-web at this URL:
|
10 |
-
* http://
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
* to license@magentocommerce.com so we can send you a copy immediately.
|
@@ -21,11 +21,11 @@
|
|
21 |
* @category Social
|
22 |
* @package Social_Facebook
|
23 |
* @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
|
24 |
-
* @license http://
|
25 |
*/
|
26 |
|
27 |
/**
|
28 |
-
*
|
29 |
*
|
30 |
* @category Social
|
31 |
* @package Social_Facebook
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Magento Enterprise Edition
|
4 |
*
|
5 |
* NOTICE OF LICENSE
|
6 |
*
|
7 |
+
* This source file is subject to the Magento Enterprise Edition License
|
8 |
+
* that is bundled with this package in the file LICENSE_EE.txt.
|
9 |
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://www.magentocommerce.com/license/enterprise-edition
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
* to license@magentocommerce.com so we can send you a copy immediately.
|
21 |
* @category Social
|
22 |
* @package Social_Facebook
|
23 |
* @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://www.magentocommerce.com/license/enterprise-edition
|
25 |
*/
|
26 |
|
27 |
/**
|
28 |
+
* Facebook model
|
29 |
*
|
30 |
* @category Social
|
31 |
* @package Social_Facebook
|
app/code/community/Social/Facebook/controllers/IndexController.php
CHANGED
@@ -51,7 +51,7 @@ class Social_Facebook_IndexController extends Mage_Core_Controller_Front_Action
|
|
51 |
$action = $this->getRequest()->getParam('action');
|
52 |
$productId = $this->getRequest()->getParam('productId');
|
53 |
$product = Mage::getModel('catalog/product')->load($productId);
|
54 |
-
$productUrl = $product->getUrlModel()->
|
55 |
|
56 |
$session->setData('product_id', $productId);
|
57 |
$session->setData('product_url', $productUrl);
|
51 |
$action = $this->getRequest()->getParam('action');
|
52 |
$productId = $this->getRequest()->getParam('productId');
|
53 |
$product = Mage::getModel('catalog/product')->load($productId);
|
54 |
+
$productUrl = $product->getUrlModel()->getProductUrl($product);
|
55 |
|
56 |
$session->setData('product_id', $productId);
|
57 |
$session->setData('product_url', $productUrl);
|
app/code/community/Social/Facebook/etc/config.xml
CHANGED
@@ -28,7 +28,7 @@
|
|
28 |
<config>
|
29 |
<modules>
|
30 |
<Social_Facebook>
|
31 |
-
<version>1.
|
32 |
</Social_Facebook>
|
33 |
</modules>
|
34 |
<global>
|
28 |
<config>
|
29 |
<modules>
|
30 |
<Social_Facebook>
|
31 |
+
<version>1.3.0.1</version>
|
32 |
</Social_Facebook>
|
33 |
</modules>
|
34 |
<global>
|
app/code/community/Social/Facebook/sql/social_facebook_setup/{mysql4-install-1.4.0.php → mysql4-install-1.3.0.php}
RENAMED
File without changes
|
app/code/community/Social/Facebook/sql/social_facebook_setup/{mysql4-upgrade-1.4.0-1.4.0.1.php → mysql4-upgrade-1.3.0-1.3.0.1.php}
RENAMED
File without changes
|
app/design/frontend/{base → default}/default/layout/facebook.xml
RENAMED
File without changes
|
app/design/frontend/{base → default}/default/template/social/facebook/action.phtml
RENAMED
@@ -29,7 +29,7 @@ $actions = $this->getAllActions();
|
|
29 |
?>
|
30 |
<?php if (!empty($actions)): ?>
|
31 |
<?php foreach ($actions as $action): ?>
|
32 |
-
<a class="facebookBtn" href="<?php echo $this->getFacebookUrl($action['action']) ?>"><?php echo $this->
|
33 |
<?php endforeach; ?>
|
34 |
<div style="clear:both;"></div>
|
35 |
<?php endif; ?>
|
29 |
?>
|
30 |
<?php if (!empty($actions)): ?>
|
31 |
<?php foreach ($actions as $action): ?>
|
32 |
+
<a class="facebookBtn" href="<?php echo $this->getFacebookUrl($action['action']) ?>"><?php echo $this->htmlEscape($action['title']) ?></a></button>
|
33 |
<?php endforeach; ?>
|
34 |
<div style="clear:both;"></div>
|
35 |
<?php endif; ?>
|
app/design/frontend/{base → default}/default/template/social/facebook/box.phtml
RENAMED
@@ -35,16 +35,16 @@ $actions = $this->getAllActions();
|
|
35 |
<div class="facebookFriendsBox">
|
36 |
<div>
|
37 |
<?php if ($this->getCountOfUsers($action['action']) == 1): ?>
|
38 |
-
<?php echo $this->__('1 user %ss this product', $this->
|
39 |
<?php else: ?>
|
40 |
-
<?php echo $this->__('%s users %s this product', $this->getCountOfUsers($action['action']), $this->
|
41 |
<?php endif; ?>
|
42 |
</div>
|
43 |
<div style="clear:both;"></div>
|
44 |
<?php foreach($this->getFriendBox($action['action']) as $facebookId => $facebookName): ?>
|
45 |
<div class="facebookUser">
|
46 |
-
<img border="0" src="http://graph.facebook.com/<?php echo $facebookId?>/picture" alt="<?php $this->
|
47 |
-
<span title="<?php echo $this->
|
48 |
</div>
|
49 |
<?php endforeach; ?>
|
50 |
<div style="clear:both;"></div>
|
35 |
<div class="facebookFriendsBox">
|
36 |
<div>
|
37 |
<?php if ($this->getCountOfUsers($action['action']) == 1): ?>
|
38 |
+
<?php echo $this->__('1 user %ss this product', $this->htmlEscape($action['action'])); ?>
|
39 |
<?php else: ?>
|
40 |
+
<?php echo $this->__('%s users %s this product', $this->getCountOfUsers($action['action']), $this->htmlEscape($action['action'])) ?>
|
41 |
<?php endif; ?>
|
42 |
</div>
|
43 |
<div style="clear:both;"></div>
|
44 |
<?php foreach($this->getFriendBox($action['action']) as $facebookId => $facebookName): ?>
|
45 |
<div class="facebookUser">
|
46 |
+
<img border="0" src="http://graph.facebook.com/<?php echo $facebookId?>/picture" alt="<?php $this->htmlEscape($facebookName)?>" title="<?php $this->htmlEscape($facebookName)?>">
|
47 |
+
<span title="<?php echo $this->htmlEscape($facebookName)?>"><?php echo $this->htmlEscape($facebookName)?></span>
|
48 |
</div>
|
49 |
<?php endforeach; ?>
|
50 |
<div style="clear:both;"></div>
|
app/design/frontend/{base → default}/default/template/social/facebook/box.phtml~
RENAMED
@@ -29,7 +29,7 @@ $actions = $this->getAllActions();
|
|
29 |
?>
|
30 |
<?php if (!empty($actions)): ?>
|
31 |
<?php foreach ($actions as $action): ?>
|
32 |
-
<?php if ($action['box'] == 0): ?>
|
33 |
<?php continue; ?>
|
34 |
<?php endif; ?>
|
35 |
<div class="facebookFriendsBox">
|
@@ -44,7 +44,7 @@ $actions = $this->getAllActions();
|
|
44 |
<?php foreach($this->getFriendBox($action['action']) as $user): ?>
|
45 |
<div class="facebookUser">
|
46 |
<img border="0" src="http://graph.facebook.com/<?php echo $user['facebook_id']?>/picture" alt="<?php $this->htmlEscape($user['facebook_name'])?>" title="<?php $this->htmlEscape($user['facebook_name'])?>">
|
47 |
-
<span title="<?php echo $this->
|
48 |
</div>
|
49 |
<?php endforeach; ?>
|
50 |
<div style="clear:both;"></div>
|
29 |
?>
|
30 |
<?php if (!empty($actions)): ?>
|
31 |
<?php foreach ($actions as $action): ?>
|
32 |
+
<?php if ($action['box'] == 0 || !$this->getFriendBox($action['action'])): ?>
|
33 |
<?php continue; ?>
|
34 |
<?php endif; ?>
|
35 |
<div class="facebookFriendsBox">
|
44 |
<?php foreach($this->getFriendBox($action['action']) as $user): ?>
|
45 |
<div class="facebookUser">
|
46 |
<img border="0" src="http://graph.facebook.com/<?php echo $user['facebook_id']?>/picture" alt="<?php $this->htmlEscape($user['facebook_name'])?>" title="<?php $this->htmlEscape($user['facebook_name'])?>">
|
47 |
+
<span title="<?php echo $this->htmlEscape($user['facebook_name'])?>"><?php echo $this->htmlEscape($user['facebook_name'])?></span>
|
48 |
</div>
|
49 |
<?php endforeach; ?>
|
50 |
<div style="clear:both;"></div>
|
app/design/frontend/{base → default}/default/template/social/facebook/empty.phtml
RENAMED
File without changes
|
app/design/frontend/{base → default}/default/template/social/facebook/page.phtml
RENAMED
@@ -30,7 +30,7 @@
|
|
30 |
<head prefix="og: http://ogp.me/ns# <?php echo $this->getAppName()?>: http://ogp.me/ns/apps/<?php echo $this->getAppName()?>#">
|
31 |
<?php if ($this->getMetaTags() && is_array($this->getMetaTags())): ?>
|
32 |
<?php foreach ($this->getMetaTags() as $tag): ?>
|
33 |
-
<meta<?php if (isset($tag['name'])): ?> name="<?php echo $this->
|
34 |
<?php endforeach; ?>
|
35 |
<?php endif; ?>
|
36 |
</head>
|
30 |
<head prefix="og: http://ogp.me/ns# <?php echo $this->getAppName()?>: http://ogp.me/ns/apps/<?php echo $this->getAppName()?>#">
|
31 |
<?php if ($this->getMetaTags() && is_array($this->getMetaTags())): ?>
|
32 |
<?php foreach ($this->getMetaTags() as $tag): ?>
|
33 |
+
<meta<?php if (isset($tag['name'])): ?> name="<?php echo $this->htmlEscape($tag['name']) ?>"<?php endif; ?><?php if (isset($tag['property'])): ?> property="<?php echo $this->htmlEscape($tag['property']) ?>"<?php endif; ?><?php if (isset($tag['content'])): ?> content="<?php echo $this->htmlEscape($tag['content']) ?>"<?php endif; ?> />
|
34 |
<?php endforeach; ?>
|
35 |
<?php endif; ?>
|
36 |
</head>
|
package.xml
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Social_Facebook</name>
|
4 |
-
<version>1.
|
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>Facebook Open Graph 2.0 Extension for Magento</summary>
|
10 |
<description>Facebook Open Graph 2.0 extension provides you with possibility to add new social buttons to your store. The extension uses the brand new Facebook Open Graph 2.0 protocol and allows adding the “Want” and “I own this” Facebook buttons on your product pages.</description>
|
11 |
-
<notes>Facebook Open Graph 2.0 extension is compatible with Magento Enterprise Edition and Professional Edition 1.
|
12 |
<authors><author><name>Magento Core Team</name><user>auto-converted</user><email>core@magentocommerce.com</email></author></authors>
|
13 |
<date>2011-10-19</date>
|
14 |
-
<time>
|
15 |
-
<contents><target name="mageskin"><dir name="frontend"><dir name="
|
16 |
<compatible/>
|
17 |
<dependencies/>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Social_Facebook</name>
|
4 |
+
<version>1.3.0.0</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>Facebook Open Graph 2.0 Extension for Magento</summary>
|
10 |
<description>Facebook Open Graph 2.0 extension provides you with possibility to add new social buttons to your store. The extension uses the brand new Facebook Open Graph 2.0 protocol and allows adding the “Want” and “I own this” Facebook buttons on your product pages.</description>
|
11 |
+
<notes>Facebook Open Graph 2.0 extension is compatible with Magento Enterprise Edition and Professional Edition 1.8.0.0, and Magento Community Edition 1.3.0.0.</notes>
|
12 |
<authors><author><name>Magento Core Team</name><user>auto-converted</user><email>core@magentocommerce.com</email></author></authors>
|
13 |
<date>2011-10-19</date>
|
14 |
+
<time>15:32:21</time>
|
15 |
+
<contents><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="default"><dir name="css"><file name="facebook.css" hash="1d4a752b772e02a6e2c75039298d84e8"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="facebook.xml" hash="f9ddf18c9f52d3fd7e0e131865a383c2"/></dir><dir name="template"><dir name="social"><dir name="facebook"><file name="action.phtml" hash="15a734f68c22c4b076b67428ea596ee9"/><file name="box.phtml" hash="b2fb6b759f3428a363242c2f1d4ef549"/><file name="box.phtml~" hash="86153f6ff8f90b9522496debf1135657"/><file name="empty.phtml" hash="9c3bd6e1a1361c0e64cac4c78426b069"/><file name="page.phtml" hash="3e5bb237f72f541f7f4fa138b35313e5"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Social_Facebook.xml" hash="b15af76b10945d00b8dbad23aebc0f50"/></dir></target><target name="magecommunity"><dir name="Social"><dir name="Facebook"><dir name="Block"><dir name="Adminhtml"><file name="Facebuttons.php" hash="8ad02bac61ff3a1f5c1612ff8f7e1e11"/><file name="Select.php" hash="7898b066f907c3d46ac383a573f949d5"/></dir><file name="Action.php" hash="cd6a217e691561a3b5dbff47d2d6905c"/><file name="Box.php" hash="7f2e3b8f8665d98b8e27d4787eed4f39"/><file name="Head.php" hash="7d7d49ebd0e88e5c8b22781375320129"/><file name="Like.php" hash="d7ace82dd95b99cd282ea99c16d10077"/><file name="Start.php" hash="cdccc3cec37ea9f8a9ef4ec3d557614f"/></dir><dir name="controllers"><file name="IndexController.php" hash="f27317bc49058864cb2c18f14fa837dd"/></dir><dir name="etc"><file name="config.xml" hash="10d241dd760f89d9a96d294eb5a6e579"/><file name="system.xml" hash="2717316adc05041cc7c9eaa36dfc6ef5"/></dir><dir name="Helper"><file name="Data.php" hash="8fa7881119486ee5e9bc9b3057df5199"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Facebook"><file name="Collection.php" hash="dc4fcda1d7c351876eeca1e439ba723d"/></dir><file name="Facebook.php" hash="f15b9ae8739da03fe6ab68cac466339f"/></dir><file name="Api.php" hash="52c453a2fe92e84efbbe63a3eea63d6a"/><file name="Facebook.php" hash="788881a98c74b692b75680689c52e6a5"/><file name="Facebuttons.php" hash="78f33d673a014a849608cf46cc2bf180"/><file name="Observer.php" hash="168c3c3a9ae234f7f491bbf654e83d91"/></dir><dir name="sql"><dir name="social_facebook_setup"><file name="mysql4-install-1.3.0.php" hash="ee195ec6e7b57830ced3f3c4a2a41233"/><file name="mysql4-upgrade-1.3.0-1.3.0.1.php" hash="63a0f7a199dd72e782d1f28dbfbbadb6"/></dir></dir></dir></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies/>
|
18 |
</package>
|
skin/frontend/{base → default}/default/css/facebook.css
RENAMED
@@ -18,7 +18,7 @@
|
|
18 |
* needs please refer to http://www.magentocommerce.com for more information.
|
19 |
*
|
20 |
* @category design
|
21 |
-
* @package
|
22 |
* @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
|
23 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
24 |
*/
|
18 |
* needs please refer to http://www.magentocommerce.com for more information.
|
19 |
*
|
20 |
* @category design
|
21 |
+
* @package default_default
|
22 |
* @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
|
23 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
24 |
*/
|