Version Notes
Upgraded Version:
1. Support LinkedIn & Digg buttons
2. Support Vertical Scrollbar layout for sharing buttons.
Download this release
Release Info
Developer | Mirage Design |
Extension | Miragedesign_Pinterest |
Version | 1.0.4 |
Comparing to | |
See all releases |
Code changes from version 1.0.3 to 1.0.4
- app/code/community/Miragedesign/Pinterest/Block/Button.php +17 -0
- app/code/community/Miragedesign/Pinterest/etc/config.xml +1 -1
- app/code/community/Miragedesign/Pinterest/etc/system.xml +51 -4
- app/design/frontend/base/default/layout/miragedesign/pinterest.xml +3 -0
- app/design/frontend/base/default/template/miragedesign/pinterest_button.phtml +37 -1
- app/design/frontend/base/default/template/miragedesign/pinterest_panel.phtml +87 -0
- package.xml +11 -8
app/code/community/Miragedesign/Pinterest/Block/Button.php
CHANGED
@@ -19,6 +19,7 @@ class Miragedesign_Pinterest_Block_Button extends Mage_Core_Block_Template
|
|
19 |
protected $_productDescription;
|
20 |
protected $_pinterestCount;
|
21 |
protected $_isEnabled;
|
|
|
22 |
|
23 |
/**
|
24 |
* Constructor
|
@@ -37,6 +38,7 @@ class Miragedesign_Pinterest_Block_Button extends Mage_Core_Block_Template
|
|
37 |
$imageSize = Mage::getStoreConfig('miragedesign_pinterest/configuration/pinterest_image_size');
|
38 |
$imageSize = ($imageSize) ? self::DEFAULT_IMAGE_WIDTH : abs((int)$imageSize);
|
39 |
|
|
|
40 |
$this->_pinterestCount = Mage::getStoreConfig('miragedesign_pinterest/configuration/pinterest_count');
|
41 |
$this->_product = Mage::registry('current_product');
|
42 |
$this->_productPrice = $this->_product->getPrice();
|
@@ -105,6 +107,16 @@ class Miragedesign_Pinterest_Block_Button extends Mage_Core_Block_Template
|
|
105 |
return $isEnabled;
|
106 |
}
|
107 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
108 |
protected function checkGooglePlusIsEnabled() {
|
109 |
$isEnabled = Mage::getStoreConfig('miragedesign_pinterest/other_social_config/google_plus_enabled');
|
110 |
return $isEnabled;
|
@@ -113,6 +125,11 @@ class Miragedesign_Pinterest_Block_Button extends Mage_Core_Block_Template
|
|
113 |
protected function getTwitterDataVia() {
|
114 |
$dataVia = Mage::getStoreConfig('miragedesign_pinterest/other_social_network/pinterest_twitter_account');
|
115 |
return $dataVia;
|
|
|
|
|
|
|
|
|
116 |
}
|
|
|
117 |
}
|
118 |
?>
|
19 |
protected $_productDescription;
|
20 |
protected $_pinterestCount;
|
21 |
protected $_isEnabled;
|
22 |
+
protected $_isVerticalScrollbarEnabled;
|
23 |
|
24 |
/**
|
25 |
* Constructor
|
38 |
$imageSize = Mage::getStoreConfig('miragedesign_pinterest/configuration/pinterest_image_size');
|
39 |
$imageSize = ($imageSize) ? self::DEFAULT_IMAGE_WIDTH : abs((int)$imageSize);
|
40 |
|
41 |
+
$this->_isVerticalScrollbarEnabled = Mage::getStoreConfig('miragedesign_pinterest/layout_option/vertical_scrollbar');
|
42 |
$this->_pinterestCount = Mage::getStoreConfig('miragedesign_pinterest/configuration/pinterest_count');
|
43 |
$this->_product = Mage::registry('current_product');
|
44 |
$this->_productPrice = $this->_product->getPrice();
|
107 |
return $isEnabled;
|
108 |
}
|
109 |
|
110 |
+
protected function checkLinkedInIsEnabled() {
|
111 |
+
$isEnabled = Mage::getStoreConfig('miragedesign_pinterest/other_social_config/linkedin_enabled');
|
112 |
+
return $isEnabled;
|
113 |
+
}
|
114 |
+
|
115 |
+
protected function checkDiggIsEnabled() {
|
116 |
+
$isEnabled = Mage::getStoreConfig('miragedesign_pinterest/other_social_config/digg_enabled');
|
117 |
+
return $isEnabled;
|
118 |
+
}
|
119 |
+
|
120 |
protected function checkGooglePlusIsEnabled() {
|
121 |
$isEnabled = Mage::getStoreConfig('miragedesign_pinterest/other_social_config/google_plus_enabled');
|
122 |
return $isEnabled;
|
125 |
protected function getTwitterDataVia() {
|
126 |
$dataVia = Mage::getStoreConfig('miragedesign_pinterest/other_social_network/pinterest_twitter_account');
|
127 |
return $dataVia;
|
128 |
+
}
|
129 |
+
|
130 |
+
protected function getIsVerticalScrollbarEnabled() {
|
131 |
+
return $this->_isVerticalScrollbarEnabled;
|
132 |
}
|
133 |
+
|
134 |
}
|
135 |
?>
|
app/code/community/Miragedesign/Pinterest/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Miragedesign_Pinterest>
|
5 |
-
<version>1.0.
|
6 |
</Miragedesign_Pinterest>
|
7 |
</modules>
|
8 |
<frontend>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Miragedesign_Pinterest>
|
5 |
+
<version>1.0.4</version>
|
6 |
</Miragedesign_Pinterest>
|
7 |
</modules>
|
8 |
<frontend>
|
app/code/community/Miragedesign/Pinterest/etc/system.xml
CHANGED
@@ -93,7 +93,7 @@
|
|
93 |
<label>Enable Twitter</label>
|
94 |
<frontend_type>select</frontend_type>
|
95 |
<source_model>adminhtml/system_config_source_yesno</source_model>
|
96 |
-
<sort_order>
|
97 |
<show_in_default>1</show_in_default>
|
98 |
<show_in_website>1</show_in_website>
|
99 |
<show_in_store>1</show_in_store>
|
@@ -101,7 +101,7 @@
|
|
101 |
<pinterest_twitter_account translate="label" module="pinterest">
|
102 |
<label>Twitter Data Via</label>
|
103 |
<frontend_type>text</frontend_type>
|
104 |
-
<sort_order>
|
105 |
<show_in_default>1</show_in_default>
|
106 |
<show_in_website>1</show_in_website>
|
107 |
<show_in_store>1</show_in_store>
|
@@ -115,9 +115,56 @@
|
|
115 |
<show_in_default>1</show_in_default>
|
116 |
<show_in_website>1</show_in_website>
|
117 |
<show_in_store>1</show_in_store>
|
118 |
-
</google_plus_enabled>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
119 |
</fields>
|
120 |
-
</
|
121 |
<author_information translate="label">
|
122 |
<label>Author</label>
|
123 |
<frontend_type>text</frontend_type>
|
93 |
<label>Enable Twitter</label>
|
94 |
<frontend_type>select</frontend_type>
|
95 |
<source_model>adminhtml/system_config_source_yesno</source_model>
|
96 |
+
<sort_order>4</sort_order>
|
97 |
<show_in_default>1</show_in_default>
|
98 |
<show_in_website>1</show_in_website>
|
99 |
<show_in_store>1</show_in_store>
|
101 |
<pinterest_twitter_account translate="label" module="pinterest">
|
102 |
<label>Twitter Data Via</label>
|
103 |
<frontend_type>text</frontend_type>
|
104 |
+
<sort_order>5</sort_order>
|
105 |
<show_in_default>1</show_in_default>
|
106 |
<show_in_website>1</show_in_website>
|
107 |
<show_in_store>1</show_in_store>
|
115 |
<show_in_default>1</show_in_default>
|
116 |
<show_in_website>1</show_in_website>
|
117 |
<show_in_store>1</show_in_store>
|
118 |
+
</google_plus_enabled>
|
119 |
+
<linkedin_enabled translate="label" module="pinterest">
|
120 |
+
<label>Enable LinkedIn</label>
|
121 |
+
<frontend_type>select</frontend_type>
|
122 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
123 |
+
<sort_order>1</sort_order>
|
124 |
+
<show_in_default>1</show_in_default>
|
125 |
+
<show_in_website>1</show_in_website>
|
126 |
+
<show_in_store>1</show_in_store>
|
127 |
+
</linkedin_enabled>
|
128 |
+
<linkedin_enabled translate="label" module="pinterest">
|
129 |
+
<label>Enable LinkedIn</label>
|
130 |
+
<frontend_type>select</frontend_type>
|
131 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
132 |
+
<sort_order>2</sort_order>
|
133 |
+
<show_in_default>1</show_in_default>
|
134 |
+
<show_in_website>1</show_in_website>
|
135 |
+
<show_in_store>1</show_in_store>
|
136 |
+
</linkedin_enabled>
|
137 |
+
<digg_enabled translate="label" module="pinterest">
|
138 |
+
<label>Enable Digg</label>
|
139 |
+
<frontend_type>select</frontend_type>
|
140 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
141 |
+
<sort_order>3</sort_order>
|
142 |
+
<show_in_default>1</show_in_default>
|
143 |
+
<show_in_website>1</show_in_website>
|
144 |
+
<show_in_store>1</show_in_store>
|
145 |
+
</digg_enabled>
|
146 |
+
</fields>
|
147 |
+
</other_social_config>
|
148 |
+
<layout_option translate="label" module="pinterest">
|
149 |
+
<label>Layout Options</label>
|
150 |
+
<frontend_type>text</frontend_type>
|
151 |
+
<sort_order>3</sort_order>
|
152 |
+
<show_in_default>1</show_in_default>
|
153 |
+
<show_in_website>1</show_in_website>
|
154 |
+
<show_in_store>1</show_in_store>
|
155 |
+
<fields>
|
156 |
+
<vertical_scrollbar translate="label" module="pinterest">
|
157 |
+
<label>Vertical Scrollbar</label>
|
158 |
+
<frontend_type>select</frontend_type>
|
159 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
160 |
+
<sort_order>1</sort_order>
|
161 |
+
<show_in_default>1</show_in_default>
|
162 |
+
<show_in_website>1</show_in_website>
|
163 |
+
<show_in_store>1</show_in_store>
|
164 |
+
<comment>Enable this option to get the vertical scrollbar layout for social network buttons</comment>
|
165 |
+
</vertical_scrollbar>
|
166 |
</fields>
|
167 |
+
</layout_option>
|
168 |
<author_information translate="label">
|
169 |
<label>Author</label>
|
170 |
<frontend_type>text</frontend_type>
|
app/design/frontend/base/default/layout/miragedesign/pinterest.xml
CHANGED
@@ -4,5 +4,8 @@
|
|
4 |
<reference name="product.info.extrahint">
|
5 |
<block type="pinterest/button" name="pinterest_button" template="miragedesign/pinterest_button.phtml" />
|
6 |
</reference>
|
|
|
|
|
|
|
7 |
</catalog_product_view>
|
8 |
</layout>
|
4 |
<reference name="product.info.extrahint">
|
5 |
<block type="pinterest/button" name="pinterest_button" template="miragedesign/pinterest_button.phtml" />
|
6 |
</reference>
|
7 |
+
<reference name="before_body_end">
|
8 |
+
<block type="pinterest/button" name="pinterest_panel" template="miragedesign/pinterest_panel.phtml" />
|
9 |
+
</reference>
|
10 |
</catalog_product_view>
|
11 |
</layout>
|
app/design/frontend/base/default/template/miragedesign/pinterest_button.phtml
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
9 |
*/
|
10 |
?>
|
11 |
-
<?php if ($this->getIsEnabled()) :?>
|
12 |
<?php
|
13 |
$productUrl = $this->getProductUrl();
|
14 |
$productImage = $this->getProductImage();
|
@@ -52,6 +52,24 @@
|
|
52 |
<div class="fb-like" data-href="<?php echo $productUrl; ?>" data-send="false" data-layout="button_count" data-width="100" data-show-faces="false"></div>
|
53 |
<?php endif; ?>
|
54 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
<?php elseif ($pinterestCount == 'vertical') :?>
|
56 |
|
57 |
<?php if ($this->checkFacebookIsEnabled()) :?>
|
@@ -84,5 +102,23 @@
|
|
84 |
</script>
|
85 |
<?php endif; ?>
|
86 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
87 |
<?php endif; ?>
|
88 |
<?php endif; ?>
|
8 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
9 |
*/
|
10 |
?>
|
11 |
+
<?php if ($this->getIsEnabled() && !$this->getIsVerticalScrollbarEnabled()) :?>
|
12 |
<?php
|
13 |
$productUrl = $this->getProductUrl();
|
14 |
$productImage = $this->getProductImage();
|
52 |
<div class="fb-like" data-href="<?php echo $productUrl; ?>" data-send="false" data-layout="button_count" data-width="100" data-show-faces="false"></div>
|
53 |
<?php endif; ?>
|
54 |
|
55 |
+
<?php if ($this->checkLinkedInIsEnabled()) :?>
|
56 |
+
<script src="//platform.linkedin.com/in.js" type="text/javascript"></script>
|
57 |
+
<script type="IN/Share" data-counter="right"></script>
|
58 |
+
<?php endif; ?>
|
59 |
+
|
60 |
+
<?php if ($this->checkDiggIsEnabled()) :?>
|
61 |
+
<script type="text/javascript">
|
62 |
+
(function() {
|
63 |
+
var s = document.createElement('SCRIPT'), s1 = document.getElementsByTagName('SCRIPT')[0];
|
64 |
+
s.type = 'text/javascript';
|
65 |
+
s.async = true;
|
66 |
+
s.src = 'http://widgets.digg.com/buttons.js';
|
67 |
+
s1.parentNode.insertBefore(s, s1);
|
68 |
+
})();
|
69 |
+
</script>
|
70 |
+
<a class="DiggThisButton DiggCompact"></a>
|
71 |
+
<?php endif; ?>
|
72 |
+
|
73 |
<?php elseif ($pinterestCount == 'vertical') :?>
|
74 |
|
75 |
<?php if ($this->checkFacebookIsEnabled()) :?>
|
102 |
</script>
|
103 |
<?php endif; ?>
|
104 |
|
105 |
+
<?php if ($this->checkLinkedInIsEnabled()) :?>
|
106 |
+
<script src="//platform.linkedin.com/in.js" type="text/javascript"></script>
|
107 |
+
<script type="IN/Share" data-counter="top"></script>
|
108 |
+
<?php endif; ?>
|
109 |
+
|
110 |
+
<?php if ($this->checkDiggIsEnabled()) :?>
|
111 |
+
<script type="text/javascript">
|
112 |
+
(function() {
|
113 |
+
var s = document.createElement('SCRIPT'), s1 = document.getElementsByTagName('SCRIPT')[0];
|
114 |
+
s.type = 'text/javascript';
|
115 |
+
s.async = true;
|
116 |
+
s.src = 'http://widgets.digg.com/buttons.js';
|
117 |
+
s1.parentNode.insertBefore(s, s1);
|
118 |
+
})();
|
119 |
+
</script>
|
120 |
+
<a class="DiggThisButton DiggMedium"></a>
|
121 |
+
<?php endif; ?>
|
122 |
+
|
123 |
<?php endif; ?>
|
124 |
<?php endif; ?>
|
app/design/frontend/base/default/template/miragedesign/pinterest_panel.phtml
ADDED
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Miragedesign Web Development
|
4 |
+
*
|
5 |
+
* @category Miragedesign
|
6 |
+
* @package Miragedesign_Pinterest
|
7 |
+
* @copyright Copyright (c) 2011 Mirage Design (http://miragedesign.net)
|
8 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
9 |
+
*/
|
10 |
+
?>
|
11 |
+
<?php if ($this->getIsEnabled() && $this->getIsVerticalScrollbarEnabled()) :?>
|
12 |
+
<?php
|
13 |
+
$productUrl = $this->getProductUrl();
|
14 |
+
$productImage = $this->getProductImage();
|
15 |
+
$productDescription = $this->getProductDescription();
|
16 |
+
|
17 |
+
/*Get the current product count on Pinterest*/
|
18 |
+
$pinterestCount = $this->getPinterestCount();
|
19 |
+
?>
|
20 |
+
<style type="text/css">
|
21 |
+
ul.vertical-social-bar {width: 90px; display: block; position: fixed; top: 100px; left: 115px;}
|
22 |
+
ul.vertical-social-bar li {text-align:center;}
|
23 |
+
ul.vertical-social-bar li div.fb-like {width:48px;}
|
24 |
+
</style>
|
25 |
+
<ul class="vertical-social-bar">
|
26 |
+
<li>
|
27 |
+
<a href="http://pinterest.com/pin/create/button/?url=<?php echo $productUrl; ?>&media=<?php echo $productImage; ?>&description=<?php echo $productDescription; ?>" class="pin-it-button" count-layout="<?php echo $pinterestCount; ?>"><?php echo $this->helper('pinterest')->__('Pin It'); ?></a>
|
28 |
+
<script type="text/javascript" src="http://assets.pinterest.com/js/pinit.js"></script>
|
29 |
+
</li>
|
30 |
+
<?php if ($this->checkFacebookIsEnabled()) :?>
|
31 |
+
<li>
|
32 |
+
<script>(function(d, s, id) {
|
33 |
+
var js, fjs = d.getElementsByTagName(s)[0];
|
34 |
+
if (d.getElementById(id)) return;
|
35 |
+
js = d.createElement(s); js.id = id;
|
36 |
+
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
|
37 |
+
fjs.parentNode.insertBefore(js, fjs);
|
38 |
+
}(document, 'script', 'facebook-jssdk'));</script>
|
39 |
+
|
40 |
+
<div class="fb-like" data-href="<?php echo $productUrl ?>" data-send="false" data-layout="box_count" data-width="50" data-show-faces="false"></div>
|
41 |
+
</li>
|
42 |
+
<?php endif; ?>
|
43 |
+
|
44 |
+
<?php if ($this->checkTwitterIsEnabled()) :?>
|
45 |
+
<li>
|
46 |
+
<a href="https://twitter.com/share" class="twitter-share-button" data-url="<?php echo $productUrl ?>" data-via="Pinteresttuto" data-count="vertical">Tweet</a>
|
47 |
+
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
|
48 |
+
</li>
|
49 |
+
<?php endif; ?>
|
50 |
+
|
51 |
+
<?php if ($this->checkGooglePlusIsEnabled()) :?>
|
52 |
+
<li>
|
53 |
+
<!-- Place this tag where you want the +1 button to render -->
|
54 |
+
<g:plusone size="tall" href="<?php echo $productUrl; ?>"></g:plusone>
|
55 |
+
<!-- Place this render call where appropriate -->
|
56 |
+
<script type="text/javascript">
|
57 |
+
(function() {
|
58 |
+
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
|
59 |
+
po.src = 'https://apis.google.com/js/plusone.js';
|
60 |
+
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
|
61 |
+
})();
|
62 |
+
</script>
|
63 |
+
</li>
|
64 |
+
<?php endif; ?>
|
65 |
+
<?php if ($this->checkLinkedInIsEnabled()) :?>
|
66 |
+
<script src="//platform.linkedin.com/in.js" type="text/javascript"></script>
|
67 |
+
<li>
|
68 |
+
<script type="IN/Share" data-counter="top"></script>
|
69 |
+
</li>
|
70 |
+
<?php endif; ?>
|
71 |
+
|
72 |
+
<?php if ($this->checkDiggIsEnabled()) :?>
|
73 |
+
<script type="text/javascript">
|
74 |
+
(function() {
|
75 |
+
var s = document.createElement('SCRIPT'), s1 = document.getElementsByTagName('SCRIPT')[0];
|
76 |
+
s.type = 'text/javascript';
|
77 |
+
s.async = true;
|
78 |
+
s.src = 'http://widgets.digg.com/buttons.js';
|
79 |
+
s1.parentNode.insertBefore(s, s1);
|
80 |
+
})();
|
81 |
+
</script>
|
82 |
+
<li><a class="DiggThisButton DiggMedium"></a></li>
|
83 |
+
<?php endif; ?>
|
84 |
+
|
85 |
+
|
86 |
+
</ul>
|
87 |
+
<?php endif; ?>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Miragedesign_Pinterest</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
@@ -11,23 +11,26 @@
|
|
11 |

|
12 |
Features:
|
13 |
1. Provide Horizontal, vertical pin count or button only layout.
|
14 |
-
2. Uses
|
15 |
3. Provide an option allows you to display Price or Special Price with the Description.
|
16 |
4. Support you to define the precision of price (how many decimal places for product prices)
|
17 |
5. Uses the Products Base Image for the Pin image.
|
18 |
6. Support you to config the width of the product image that will be displayed in Pin. The height of the image will vary based on the width automatically.
|
19 |
7. Pin the Product URL
|
20 |
8. Support locate file (currently only English, but other languages will be available soon)
|
21 |
-
|
22 |
And much more features are comming!
|
23 |
-
|
24 |
-
|
|
|
|
|
|
|
25 |

|
26 |
</notes>
|
27 |
<authors><author><name>Mirage Design</name><user>ngocdb</user><email>ngocdbcn@gmail.com</email></author></authors>
|
28 |
-
<date>2012-03-
|
29 |
-
<time>
|
30 |
-
<contents><target name="magecommunity"><dir name="Miragedesign"><dir name="Pinterest"><dir name="Block"><file name="Button.php" hash="
|
31 |
<compatible/>
|
32 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
33 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Miragedesign_Pinterest</name>
|
4 |
+
<version>1.0.4</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
11 |

|
12 |
Features:
|
13 |
1. Provide Horizontal, vertical pin count or button only layout.
|
14 |
+
2. Uses Product Name for the Pin Description.
|
15 |
3. Provide an option allows you to display Price or Special Price with the Description.
|
16 |
4. Support you to define the precision of price (how many decimal places for product prices)
|
17 |
5. Uses the Products Base Image for the Pin image.
|
18 |
6. Support you to config the width of the product image that will be displayed in Pin. The height of the image will vary based on the width automatically.
|
19 |
7. Pin the Product URL
|
20 |
8. Support locate file (currently only English, but other languages will be available soon)
|
21 |
+
9. Allow you to enable / disable the extension.
|
22 |
And much more features are comming!
|
23 |
+
10. Support other popular social network buttons like FB, G+, Tweet, LinkedIn and Digg.
|
24 |
+
11. Support Vertical Scrollbar layout for buttons.</description>
|
25 |
+
<notes>Upgraded Version: 
|
26 |
+
1. Support LinkedIn & Digg buttons
|
27 |
+
2. Support Vertical Scrollbar layout for sharing buttons.
|
28 |

|
29 |
</notes>
|
30 |
<authors><author><name>Mirage Design</name><user>ngocdb</user><email>ngocdbcn@gmail.com</email></author></authors>
|
31 |
+
<date>2012-03-12</date>
|
32 |
+
<time>17:03:27</time>
|
33 |
+
<contents><target name="magecommunity"><dir name="Miragedesign"><dir name="Pinterest"><dir name="Block"><file name="Button.php" hash="04b8d8064416bd77ce5c4cb51458ac06"/></dir><dir name="Helper"><file name="Data.php" hash="0f3173f571a8dbeabf3e55a70ae57c95"/></dir><dir name="Model"><file name="Pincount.php" hash="e405b72545cabc196630ce099a82eb10"/><file name="Pindescription.php" hash="127c90d48a17d4b20bf494a799f3b753"/><file name="Price.php" hash="c61c75334b6410649a92d33f22c60bd6"/></dir><dir name="etc"><file name="adminhtml.xml" hash="6ec7da759768d8ba1bceeffa15a5ff8d"/><file name="config.xml" hash="62b9ced60d22b7105be08331c4adecf6"/><file name="system.xml" hash="576884bf3e17cc9e099c7c39fc848bcb"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><dir name="miragedesign"><file name="pinterest.xml" hash="2649798cecc81f07191a301569a73999"/></dir></dir><dir name="template"><dir name="miragedesign"><file name="pinterest_button.phtml" hash="8c01113f3887ba3184fad3c7eccf2597"/><file name="pinterest_panel.phtml" hash="ecd8c45327c9b4d78cc930026a3c44c3"/></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Miragedesign_Pinterest.csv" hash="f80229646ce5a4bf8951f4d9243cad2e"/></dir></target><target name="mageetc"><dir name="modules"><file name="Miragedesign_Pinterest.xml" hash="3448b63aef6988ef012fecfec37c6c53"/></dir></target></contents>
|
34 |
<compatible/>
|
35 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
36 |
</package>
|