Miragedesign_Pinterest - Version 1.1.0

Version Notes

Upgraded Version for supporting Pinterest Feeds
- Allow you to show your Pins in your site from your Pinterest Account.
- Allow you to show your Pins in your site from your Pinterest Account combine with a Pin board slug.
- Or simply allow you to show popular Pins from Pinterest.
- Support you to config "Pinterest follow button" for promoting your Pinterest account to everybody visits your Magento site.

Download this release

Release Info

Developer Magento Core Team
Extension Miragedesign_Pinterest
Version 1.1.0
Comparing to
See all releases


Code changes from version 1.0.5 to 1.1.0

app/code/community/Miragedesign/Pinterest/Block/Base.php ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ class Miragedesign_Pinterest_Block_Base extends Mage_Core_Block_Template
11
+ {
12
+ protected $_isEnabled;
13
+ protected $_isVerticalScrollbarEnabled;
14
+
15
+ /**
16
+ * Constructor
17
+ * Set up private variables
18
+ */
19
+ protected function _construct()
20
+ {
21
+ $this->_isEnabled = Mage::getStoreConfig('miragedesign_pinterest/configuration/pinterest_enabled');
22
+ $this->_isVerticalScrollbarEnabled = Mage::getStoreConfig('miragedesign_pinterest/layout_option/vertical_scrollbar');
23
+ }
24
+
25
+ protected function getIsEnabled() {
26
+ return $this->_isEnabled;
27
+ }
28
+
29
+ protected function checkFacebookIsEnabled() {
30
+ $isEnabled = Mage::getStoreConfig('miragedesign_pinterest/other_social_config/facebook_enabled');
31
+ return $isEnabled;
32
+ }
33
+
34
+ protected function checkTwitterIsEnabled() {
35
+ $isEnabled = Mage::getStoreConfig('miragedesign_pinterest/other_social_config/twitter_enabled');
36
+ return $isEnabled;
37
+ }
38
+
39
+ protected function checkLinkedInIsEnabled() {
40
+ $isEnabled = Mage::getStoreConfig('miragedesign_pinterest/other_social_config/linkedin_enabled');
41
+ return $isEnabled;
42
+ }
43
+
44
+ protected function checkDiggIsEnabled() {
45
+ $isEnabled = Mage::getStoreConfig('miragedesign_pinterest/other_social_config/digg_enabled');
46
+ return $isEnabled;
47
+ }
48
+
49
+ protected function checkGooglePlusIsEnabled() {
50
+ $isEnabled = Mage::getStoreConfig('miragedesign_pinterest/other_social_config/google_plus_enabled');
51
+ return $isEnabled;
52
+ }
53
+
54
+ protected function getTwitterDataVia() {
55
+ $dataVia = Mage::getStoreConfig('miragedesign_pinterest/other_social_network/pinterest_twitter_account');
56
+ return $dataVia;
57
+ }
58
+
59
+ protected function getIsVerticalScrollbarEnabled() {
60
+ return $this->_isVerticalScrollbarEnabled;
61
+ }
62
+ }
63
+ ?>
app/code/community/Miragedesign/Pinterest/Block/Button.php CHANGED
@@ -7,7 +7,7 @@
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
- class Miragedesign_Pinterest_Block_Button extends Mage_Core_Block_Template
11
  {
12
  const DEFAULT_IMAGE_WIDTH = 300;
13
  const DEFAULT_PRICE_DECISION = 2;
@@ -18,8 +18,6 @@ class Miragedesign_Pinterest_Block_Button extends Mage_Core_Block_Template
18
  protected $_productImage;
19
  protected $_productDescription;
20
  protected $_pinterestCount;
21
- protected $_isEnabled;
22
- protected $_isVerticalScrollbarEnabled;
23
 
24
  /**
25
  * Constructor
@@ -27,10 +25,9 @@ class Miragedesign_Pinterest_Block_Button extends Mage_Core_Block_Template
27
  */
28
  protected function _construct()
29
  {
30
- $this->_isEnabled = Mage::getStoreConfig('miragedesign_pinterest/configuration/pinterest_enabled');
31
 
32
- if ($this->_isEnabled) {
33
- parent::_construct();
34
  $currencySymbol = Mage::app()->getLocale()->currency(Mage::app()->getStore()->getCurrentCurrencyCode())->getSymbol();
35
  $priceConfig = Mage::getStoreConfig('miragedesign_pinterest/configuration/pinterest_price');
36
  $priceDecision = Mage::getStoreConfig('miragedesign_pinterest/configuration/pinterest_price_decision');
@@ -38,7 +35,6 @@ class Miragedesign_Pinterest_Block_Button extends Mage_Core_Block_Template
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();
@@ -91,45 +87,6 @@ class Miragedesign_Pinterest_Block_Button extends Mage_Core_Block_Template
91
 
92
  protected function getPinterestCount() {
93
  return $this->_pinterestCount;
94
- }
95
-
96
- protected function getIsEnabled() {
97
- return $this->_isEnabled;
98
- }
99
-
100
- protected function checkFacebookIsEnabled() {
101
- $isEnabled = Mage::getStoreConfig('miragedesign_pinterest/other_social_config/facebook_enabled');
102
- return $isEnabled;
103
- }
104
-
105
- protected function checkTwitterIsEnabled() {
106
- $isEnabled = Mage::getStoreConfig('miragedesign_pinterest/other_social_config/twitter_enabled');
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;
123
- }
124
-
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
  ?>
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
+ class Miragedesign_Pinterest_Block_Button extends Miragedesign_Pinterest_Block_Base
11
  {
12
  const DEFAULT_IMAGE_WIDTH = 300;
13
  const DEFAULT_PRICE_DECISION = 2;
18
  protected $_productImage;
19
  protected $_productDescription;
20
  protected $_pinterestCount;
 
 
21
 
22
  /**
23
  * Constructor
25
  */
26
  protected function _construct()
27
  {
28
+ parent::_construct();
29
 
30
+ if ($this->getIsEnabled()) {
 
31
  $currencySymbol = Mage::app()->getLocale()->currency(Mage::app()->getStore()->getCurrentCurrencyCode())->getSymbol();
32
  $priceConfig = Mage::getStoreConfig('miragedesign_pinterest/configuration/pinterest_price');
33
  $priceDecision = Mage::getStoreConfig('miragedesign_pinterest/configuration/pinterest_price_decision');
35
  $imageSize = Mage::getStoreConfig('miragedesign_pinterest/configuration/pinterest_image_size');
36
  $imageSize = ($imageSize) ? self::DEFAULT_IMAGE_WIDTH : abs((int)$imageSize);
37
 
 
38
  $this->_pinterestCount = Mage::getStoreConfig('miragedesign_pinterest/configuration/pinterest_count');
39
  $this->_product = Mage::registry('current_product');
40
  $this->_productPrice = $this->_product->getPrice();
87
 
88
  protected function getPinterestCount() {
89
  return $this->_pinterestCount;
90
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
91
  }
92
  ?>
app/code/community/Miragedesign/Pinterest/Block/Feed.php ADDED
@@ -0,0 +1,133 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ require_once (Mage::getModuleDir('', 'Miragedesign_Pinterest') . DIRECTORY_SEPARATOR . 'Lib' . DIRECTORY_SEPARATOR . 'PinterestApi.php');
11
+
12
+ class Miragedesign_Pinterest_Block_Feed extends Miragedesign_Pinterest_Block_Base
13
+ {
14
+ protected $_isFeedsEnabled;
15
+ protected $_feedsPosition;
16
+ protected $_pinterestUsername;
17
+ protected $_pinterestBoardSlug;
18
+ protected $_pinMaximumNumber;
19
+ protected $_pinThumbnailWidth;
20
+ protected $_pinThumbnailHeight;
21
+ protected $_isPinterestButtonEnabled;
22
+ protected $_pinterestImageSrc;
23
+ protected $_pinterestImageAlt;
24
+
25
+ /**
26
+ * Constructor
27
+ * Set up private variables
28
+ */
29
+ protected function _construct()
30
+ {
31
+ parent::_construct();
32
+
33
+ if ($this->getIsEnabled()) {
34
+ $this->_isFeedsEnabled = Mage::getStoreConfig('miragedesign_pinterest/feeds_option/enable_feeds');
35
+ $this->_feedsPosition = Mage::getStoreConfig('miragedesign_pinterest/feeds_option/feeds_position');
36
+ $this->_feedsTitle = Mage::getStoreConfig('miragedesign_pinterest/feeds_option/feeds_title');
37
+ $this->_pinterestUsername = Mage::getStoreConfig('miragedesign_pinterest/feeds_option/pinterest_username');
38
+ $this->_pinterestBoardSlug = Mage::getStoreConfig('miragedesign_pinterest/feeds_option/pinterest_board_slug');
39
+ $this->_pinMaximumNumber = Mage::getStoreConfig('miragedesign_pinterest/feeds_option/pinterest_pins_number');
40
+ $this->_pinThumbnailWidth = Mage::getStoreConfig('miragedesign_pinterest/feeds_option/pinterest_thumbnail_width');
41
+ $this->_pinThumbnailHeight = Mage::getStoreConfig('miragedesign_pinterest/feeds_option/pinterest_thumbnail_height');
42
+ $this->_isPinterestButtonEnabled = Mage::getStoreConfig('miragedesign_pinterest/feeds_option/pinterest_button_enable');
43
+ $this->_pinterestImageSrc = Mage::getStoreConfig('miragedesign_pinterest/feeds_option/pinterest_follow_button');
44
+ $this->_pinterestImageAlt = Mage::getStoreConfig('miragedesign_pinterest/feeds_option/pinterest_button_alt');
45
+ }
46
+ }
47
+
48
+ protected function getFeedsPosition() {
49
+ return $this->_feedsPosition;
50
+ }
51
+
52
+ protected function getFeedsTitle() {
53
+ return $this->_feedsTitle;
54
+ }
55
+
56
+ protected function getPinterestUsername() {
57
+ return $this->_pinterestUsername;
58
+ }
59
+
60
+ protected function getPinterestBoardSlug() {
61
+ return $this->_pinterestBoardSlug;
62
+ }
63
+
64
+ protected function getPinMaximumNumber() {
65
+ return $this->_pinMaximumNumber;
66
+ }
67
+
68
+ protected function getPinThumbnailWidth() {
69
+ return $this->_pinThumbnailWidth;
70
+ }
71
+
72
+ protected function getPinThumbnailHeight() {
73
+ return $this->_pinThumbnailHeight;
74
+ }
75
+
76
+ protected function getIsFeedEnabled() {
77
+ return $this->_isFeedsEnabled;
78
+ }
79
+
80
+ protected function getIsPinterestButtonEnabled() {
81
+ return $this->_isPinterestButtonEnabled;
82
+ }
83
+
84
+ protected function getPinterestImageSrc() {
85
+ return $this->_pinterestImageSrc;
86
+ }
87
+
88
+ protected function getPinterestImageAlt() {
89
+ return $this->_pinterestImageAlt;
90
+ }
91
+
92
+ public function getPinUrl($pinId) {
93
+ return PinterestApi::getPinUrl($pinId);
94
+ }
95
+
96
+ public function getUserUrl($username = '') {
97
+ if ($username)
98
+ return PinterestApi::getUserUrl($username);
99
+ else {
100
+ if ($this->_pinterestUsername) {
101
+ return PinterestApi::getUserUrl($this->_pinterestUsername);
102
+ }
103
+ }
104
+
105
+ return PinterestApi::PINTEREST_UNSECURE_URL;
106
+ }
107
+
108
+ public function getRecentFeeds($username = '', $board = '', $maxiumNumber = 0, $page = 1) {
109
+ $maxiumNumber = ($maxiumNumber) ? $maxiumNumber : $this->_pinMaximumNumber;
110
+ $username = ($username) ? $username : $this->_pinterestUsername;
111
+ $boardSlug = ($board) ? $board : $this->_pinterestBoardSlug;
112
+ $params = array('limit' => $maxiumNumber,
113
+ 'page' => $page);
114
+
115
+ $objPApi = new PinterestApi();
116
+ $data = null;
117
+
118
+ if ($username) {
119
+ if ($boardSlug) {
120
+ $data = $objPApi->getBoardOf($username, $boardSlug, $params);
121
+ }
122
+ else {
123
+ $data = $objPApi->getPinsOf($username, $params);
124
+ }
125
+ }
126
+ else {
127
+ $data = $objPApi->popular($params);
128
+ }
129
+
130
+ return $data;
131
+ }
132
+ }
133
+ ?>
app/code/community/Miragedesign/Pinterest/Helper/Data.php CHANGED
@@ -7,7 +7,7 @@
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
- require_once('Mage/Core/Helper/Abstract.php');
11
 
12
  class Miragedesign_Pinterest_Helper_Data extends Mage_Core_Helper_Abstract {
13
 
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
+ #require_once('Mage/Core/Helper/Abstract.php');
11
 
12
  class Miragedesign_Pinterest_Helper_Data extends Mage_Core_Helper_Abstract {
13
 
app/code/community/Miragedesign/Pinterest/Lib/PinterestApi.php ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class PinterestApi {
3
+ const REQUIRED = 'Arg is required';
4
+ const RECORDS_PER_PAGE = 36;
5
+ const PINTEREST_SECURE_URL = 'https://pinterest.com';
6
+ const PINTEREST_UNSECURE_URL = 'http://pinterest.com';
7
+ const PINTEREST_API_URL = 'https://api.pinterest.com';
8
+
9
+ protected $_baseUrl;
10
+ protected $_accessToken;
11
+
12
+ public function __construct($accessToken='') {
13
+ $this->_baseUrl = self::PINTEREST_API_URL . '/v2';
14
+ $this->_accessToken = $accessToken;
15
+ }
16
+
17
+ public function getPinInfo($pin_id) {
18
+ $endpoint = '/pin/' . $pin_id . '/';
19
+
20
+ return $this->get($endpoint);
21
+ }
22
+
23
+ public function getPinsOf($username, $params = array()) {
24
+ $params = self::filterParams($params, array(
25
+ 'limit' => self::RECORDS_PER_PAGE,
26
+ 'page' => 1
27
+ ));
28
+
29
+ $endpoint = '/users/' . $username . '/pins/';
30
+
31
+ return $this->get($endpoint, $params);
32
+ }
33
+
34
+ public function popular($params = array()) {
35
+ $params = self::filterParams($params, array(
36
+ 'limit' => self::RECORDS_PER_PAGE,
37
+ 'page' => 1
38
+ ));
39
+
40
+ return $this->get('/popular/', $params);
41
+ }
42
+
43
+ public function getBoardOf($username, $board_slug, $params = array()) {
44
+ $params = self::filterParams($params, array(
45
+ 'limit' => self::RECORDS_PER_PAGE,
46
+ 'page' => 1
47
+ ));
48
+
49
+ $endpoint = '/boards/' . $username . '/' . $board_slug . '/';
50
+
51
+ return $this->get($endpoint, $params);
52
+ }
53
+
54
+ static function getUserUrl($username) {
55
+ return self::PINTEREST_UNSECURE_URL . '/' . $username;
56
+ }
57
+
58
+ static function getPinUrl($pinId) {
59
+ return self::PINTEREST_UNSECURE_URL . '/pin/' . $pinId;
60
+ }
61
+
62
+ public function get($endpoint, $params = array()) {
63
+ $ch=curl_init();
64
+
65
+ if ($this->_accessToken && !isset($params['access_token'])) {
66
+ $params['access_token'] = $this->_accessToken;
67
+ }
68
+
69
+ foreach ($params as $k => $v){
70
+ $encoded_params[] = urlencode($k).'='.urlencode($v);
71
+ }
72
+
73
+ $requestUrl = $this->_baseUrl . $endpoint . "?" . implode('&', $encoded_params);
74
+
75
+ curl_setopt($ch, CURLOPT_URL, $requestUrl);
76
+ curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
77
+ $resp=curl_exec($ch);
78
+ $info = curl_getinfo($ch);
79
+ curl_close($ch);
80
+
81
+ return $resp;
82
+ }
83
+
84
+ static function filterParams($params, $defaults) {
85
+ foreach ($defaults as $k => $v) {
86
+ if (!isset($params[$k])) {
87
+ if ($v === self::REQUIRED) {
88
+ $trace = debug_backtrace();
89
+ $function = $trace[1]['function'];
90
+ $caller = $trace[2]['function'].' in '.$trace[2]['file'].':'.$trace[2]['line'];
91
+ trigger_error(self::REQUIRED . ": $k (caller was $caller)");
92
+
93
+ } else {
94
+ $params[$k] = $v;
95
+ }
96
+ }
97
+ }
98
+
99
+ return $params;
100
+ }
101
+
102
+ } // end class Pinterest_API
app/code/community/Miragedesign/Pinterest/Model/Feedposition.php ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ class Miragedesign_Pinterest_Model_Feedposition
11
+ {
12
+ public function toOptionArray()
13
+ {
14
+ return array(
15
+ array('value' => 1, 'label' => Mage::helper('pinterest')->__('Left')),
16
+ array('value' => 2, 'label' => Mage::helper('pinterest')->__('Right')),
17
+ //array('value' => 0, 'label' => Mage::helper('pinterest')->__('Custom Position')),
18
+ );
19
+ }
20
+ }
21
+ ?>
app/code/community/Miragedesign/Pinterest/Model/Pindescription.php CHANGED
@@ -17,6 +17,5 @@ class Miragedesign_Pinterest_Model_Pindescription
17
  array('value' => 0, 'label' => Mage::helper('pinterest')->__('Product Short Description')),
18
  );
19
  }
20
-
21
  }
22
  ?>
17
  array('value' => 0, 'label' => Mage::helper('pinterest')->__('Product Short Description')),
18
  );
19
  }
 
20
  }
21
  ?>
app/code/community/Miragedesign/Pinterest/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Miragedesign_Pinterest>
5
- <version>1.0.5</version>
6
  </Miragedesign_Pinterest>
7
  </modules>
8
  <frontend>
@@ -67,6 +67,14 @@
67
  <pinterest_image_size>300</pinterest_image_size>
68
  <pinterest_price_decision>2</pinterest_price_decision>
69
  </configuration>
 
 
 
 
 
 
 
 
70
  <!-- <other_social_config>-->
71
  <!-- <pinterest_twitter_account>Pinteresttuto</pinterest_twitter_account> -->
72
  <!-- </other_social_config>-->
2
  <config>
3
  <modules>
4
  <Miragedesign_Pinterest>
5
+ <version>1.1.0</version>
6
  </Miragedesign_Pinterest>
7
  </modules>
8
  <frontend>
67
  <pinterest_image_size>300</pinterest_image_size>
68
  <pinterest_price_decision>2</pinterest_price_decision>
69
  </configuration>
70
+ <feeds_option>
71
+ <feeds_title>Pinterest Feeds</feeds_title>
72
+ <pinterest_pins_number>5</pinterest_pins_number>
73
+ <pinterest_thumbnail_width>75</pinterest_thumbnail_width>
74
+ <pinterest_thumbnail_height>75</pinterest_thumbnail_height>
75
+ <pinterest_follow_button>images/miragedesign/pinterest/follow-on-pinterest-button.png</pinterest_follow_button>
76
+ <pinterest_button_alt>Pinterest Follow Image</pinterest_button_alt>
77
+ </feeds_option>
78
  <!-- <other_social_config>-->
79
  <!-- <pinterest_twitter_account>Pinteresttuto</pinterest_twitter_account> -->
80
  <!-- </other_social_config>-->
app/code/community/Miragedesign/Pinterest/etc/system.xml CHANGED
@@ -164,7 +164,116 @@
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>
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
+ <feeds_option translate="label" module="pinterest">
169
+ <label>Feeds Options</label>
170
+ <frontend_type>text</frontend_type>
171
+ <sort_order>3</sort_order>
172
+ <show_in_default>1</show_in_default>
173
+ <show_in_website>1</show_in_website>
174
+ <show_in_store>1</show_in_store>
175
+ <fields>
176
+ <enable_feeds translate="label" module="pinterest">
177
+ <label>Enable Feeds</label>
178
+ <frontend_type>select</frontend_type>
179
+ <source_model>adminhtml/system_config_source_yesno</source_model>
180
+ <sort_order>1</sort_order>
181
+ <show_in_default>1</show_in_default>
182
+ <show_in_website>1</show_in_website>
183
+ <show_in_store>1</show_in_store>
184
+ <comment>Enable this option to get the feeds from Pinterest</comment>
185
+ </enable_feeds>
186
+ <feeds_title translate="label" module="pinterest">
187
+ <label>Feeds Title</label>
188
+ <frontend_type>text</frontend_type>
189
+ <sort_order>2</sort_order>
190
+ <show_in_default>1</show_in_default>
191
+ <show_in_website>1</show_in_website>
192
+ <show_in_store>1</show_in_store>
193
+ <comment>The title of the block feeds</comment>
194
+ </feeds_title>
195
+ <feeds_position translate="label" module="pinterest">
196
+ <label>Feeds Position</label>
197
+ <frontend_type>select</frontend_type>
198
+ <source_model>pinterest/feedposition</source_model>
199
+ <sort_order>3</sort_order>
200
+ <show_in_default>1</show_in_default>
201
+ <show_in_website>1</show_in_website>
202
+ <show_in_store>1</show_in_store>
203
+ <comment></comment>
204
+ </feeds_position>
205
+ <pinterest_username translate="label" module="pinterest">
206
+ <label>Pinterest Username</label>
207
+ <frontend_type>text</frontend_type>
208
+ <sort_order>4</sort_order>
209
+ <show_in_default>1</show_in_default>
210
+ <show_in_website>1</show_in_website>
211
+ <show_in_store>1</show_in_store>
212
+ <comment>Put your Pinterest Username here, if it is blank, then we will use latest popular pins</comment>
213
+ </pinterest_username>
214
+ <pinterest_board_slug translate="label" module="pinterest">
215
+ <label>Pinterest Board Slug</label>
216
+ <frontend_type>text</frontend_type>
217
+ <sort_order>5</sort_order>
218
+ <show_in_default>1</show_in_default>
219
+ <show_in_website>1</show_in_website>
220
+ <show_in_store>1</show_in_store>
221
+ <comment>If it is blank, we will use latest pins of Pinterest Username</comment>
222
+ </pinterest_board_slug>
223
+ <pinterest_pins_number translate="label" module="pinterest">
224
+ <label>Pins Maximum Number</label>
225
+ <frontend_type>text</frontend_type>
226
+ <sort_order>6</sort_order>
227
+ <show_in_default>1</show_in_default>
228
+ <show_in_website>1</show_in_website>
229
+ <show_in_store>1</show_in_store>
230
+ <comment>The maximum number of pins to display</comment>
231
+ </pinterest_pins_number>
232
+ <pinterest_thumbnail_width translate="label" module="pinterest">
233
+ <label>Pin's thumbnail width</label>
234
+ <frontend_type>text</frontend_type>
235
+ <sort_order>7</sort_order>
236
+ <show_in_default>1</show_in_default>
237
+ <show_in_website>1</show_in_website>
238
+ <show_in_store>1</show_in_store>
239
+ <comment>The number that will set the width in pixels of the Pin's thumbnail</comment>
240
+ </pinterest_thumbnail_width>
241
+ <pinterest_thumbnail_height translate="label" module="pinterest">
242
+ <label>Pin's Thumbnail height</label>
243
+ <frontend_type>text</frontend_type>
244
+ <sort_order>8</sort_order>
245
+ <show_in_default>1</show_in_default>
246
+ <show_in_website>1</show_in_website>
247
+ <show_in_store>1</show_in_store>
248
+ <comment>The number that will set the height in pixels of the Pin's thumbnail</comment>
249
+ </pinterest_thumbnail_height>
250
+ <pinterest_button_enable translate="label" module="pinterest">
251
+ <label>Enable Pinterest Follow Button</label>
252
+ <frontend_type>select</frontend_type>
253
+ <source_model>adminhtml/system_config_source_yesno</source_model>
254
+ <sort_order>9</sort_order>
255
+ <show_in_default>1</show_in_default>
256
+ <show_in_website>1</show_in_website>
257
+ <show_in_store>1</show_in_store>
258
+ </pinterest_button_enable>
259
+ <pinterest_follow_button translate="label" module="pinterest">
260
+ <label>Pinterest Follow Image Src</label>
261
+ <frontend_type>text</frontend_type>
262
+ <sort_order>10</sort_order>
263
+ <show_in_default>1</show_in_default>
264
+ <show_in_website>1</show_in_website>
265
+ <show_in_store>1</show_in_store>
266
+ </pinterest_follow_button>
267
+ <pinterest_button_alt translate="label" module="pinterest">
268
+ <label>Pinterest Follow Image Alt</label>
269
+ <frontend_type>text</frontend_type>
270
+ <sort_order>11</sort_order>
271
+ <show_in_default>1</show_in_default>
272
+ <show_in_website>1</show_in_website>
273
+ <show_in_store>1</show_in_store>
274
+ </pinterest_button_alt>
275
+ </fields>
276
+ </feeds_option>
277
  <author_information translate="label">
278
  <label>Author</label>
279
  <frontend_type>text</frontend_type>
app/design/frontend/base/default/layout/miragedesign/pinterest.xml CHANGED
@@ -8,4 +8,15 @@
8
  <block type="pinterest/button" name="pinterest_panel" template="miragedesign/pinterest_panel.phtml" />
9
  </reference>
10
  </catalog_product_view>
 
 
 
 
 
 
 
 
 
 
 
11
  </layout>
8
  <block type="pinterest/button" name="pinterest_panel" template="miragedesign/pinterest_panel.phtml" />
9
  </reference>
10
  </catalog_product_view>
11
+ <default>
12
+ <reference name="head">
13
+ <action method="addItem"><type>skin_css</type><name>css/miragedesign/pinterest.css</name><params/></action>
14
+ </reference>
15
+ <reference name="left">
16
+ <block type="pinterest/feed" name="pinterest_feed" template="miragedesign/pinterest_left_feed.phtml" before="left.permanent.callout" />
17
+ </reference>
18
+ <reference name="right">
19
+ <block type="pinterest/feed" name="pinterest_feed" template="miragedesign/pinterest_right_feed.phtml" before="right.permanent.callout" />
20
+ </reference>
21
+ </default>
22
  </layout>
app/design/frontend/base/default/template/miragedesign/pinterest_left_feed.phtml ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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->getIsFeedEnabled()) :?>
12
+ <?php if ($this->getFeedsPosition() == 1):?>
13
+ <?php
14
+ $thumbnailWidth = $this->getPinThumbnailWidth();
15
+ $thumbnailHeight = $this->getPinThumbnailHeight();
16
+
17
+ /*Get the current product count on Pinterest*/
18
+ $data = $this->getRecentFeeds();
19
+ $objPin = json_decode($data);
20
+ $arrPins = $objPin->pins;
21
+
22
+ if (count($arrPins)) {
23
+ ?>
24
+ <div class="block pin-feed">
25
+ <div class="block-title pin-title"><strong><?php echo $this->getFeedsTitle(); ?></strong></div>
26
+ <?php
27
+ foreach ($arrPins as $pin) {
28
+ $pinImage = $pin->images;
29
+ ?>
30
+ <div class="pin-wrap">
31
+ <div class="pin-image">
32
+ <a target="_blank" href="<?php echo $this->getPinUrl($pin->id); ?>"><img src="<?php echo $pinImage->thumbnail; ?>" alt="<?php echo $pin->description; ?>" style="width:<?php echo $thumbnailWidth?>px; height=<?php echo $thumbnailHeight; ?>px" /></a>
33
+ </div>
34
+ <div class="pin-desc">
35
+ <?php echo $pin->description; ?>
36
+ </div>
37
+ </div>
38
+ <?php
39
+ }
40
+ ?>
41
+ <?php if ($this->getIsPinterestButtonEnabled()) : ?>
42
+ <div class="pin-footer"><a target="_blank" hreflang="<?php echo $this->getUserUrl(); ?>"><img src="<?php echo $this->getSkinUrl($this->getPinterestImageSrc()); ?>" alt="<?php echo $this->getPinterestImageAlt(); ?>" /></a></div>
43
+ <?php endif; ?>
44
+ </div>
45
+ <?php
46
+ }
47
+ ?>
48
+ <?php endif; ?>
49
+ <?php endif; ?>
app/design/frontend/base/default/template/miragedesign/pinterest_right_feed.phtml ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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->getIsFeedEnabled()) :?>
12
+ <?php if ($this->getFeedsPosition() == 2):?>
13
+ <?php
14
+ $thumbnailWidth = $this->getPinThumbnailWidth();
15
+ $thumbnailHeight = $this->getPinThumbnailHeight();
16
+
17
+ /*Get the current product count on Pinterest*/
18
+ $data = $this->getRecentFeeds();
19
+ $objPin = json_decode($data);
20
+ $arrPins = $objPin->pins;
21
+
22
+ if (count($arrPins)) {
23
+ ?>
24
+ <div class="block pin-feed">
25
+ <div class="block-title pin-title"><strong><?php echo $this->getFeedsTitle(); ?></strong></div>
26
+ <?php
27
+ foreach ($arrPins as $pin) {
28
+ $pinImage = $pin->images;
29
+ ?>
30
+ <div class="pin-wrap">
31
+ <div class="pin-image">
32
+ <a target="_blank" href="<?php echo $this->getPinUrl($pin->id); ?>"><img src="<?php echo $pinImage->thumbnail; ?>" alt="<?php echo $pin->description; ?>" style="width:<?php echo $thumbnailWidth?>px; height=<?php echo $thumbnailHeight; ?>px" /></a>
33
+ </div>
34
+ <div class="pin-desc">
35
+ <?php echo $pin->description; ?>
36
+ </div>
37
+ </div>
38
+ <?php
39
+ }
40
+ ?>
41
+ <?php if ($this->getIsPinterestButtonEnabled()) : ?>
42
+ <div class="pin-footer"><a target="_blank" hreflang="<?php echo $this->getUserUrl(); ?>"><img src="<?php echo $this->getSkinUrl($this->getPinterestImageSrc()); ?>" alt="<?php echo $this->getPinterestImageAlt(); ?>" /></a></div>
43
+ <?php endif; ?>
44
+ </div>
45
+ <?php
46
+ }
47
+ ?>
48
+ <?php endif; ?>
49
+ <?php endif; ?>
package.xml CHANGED
@@ -1,32 +1,43 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Miragedesign_Pinterest</name>
4
- <version>1.0.5</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>
8
  <extends/>
9
- <summary>A Pinterest Magento linker that allows you to add "Pin It" button to your product page.</summary>
10
  <description>A Pinterest Magento linker that allows you to add "Pin It" button to your product page.&#xD;
11
- &#xD;
12
- Features:&#xD;
13
- 1. Provide Horizontal, vertical pin count or button only layout.&#xD;
14
- 2. Uses Product Name for the Pin Description.&#xD;
15
- 3. Provide an option allows you to display Price or Special Price with the Description.&#xD;
16
- 4. Support you to define the precision of price (how many decimal places for product prices)&#xD;
17
- 5. Uses the Products Base Image for the Pin image.&#xD;
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.&#xD;
19
- 7. Pin the Product URL&#xD;
20
- 8. Support locate file (currently only English, but other languages will be available soon)&#xD;
21
- 9. Allow you to enable / disable the extension.&#xD;
 
 
 
22
  And much more features are comming!&#xD;
23
- 10. Support other popular social network buttons like FB, G+, Tweet, LinkedIn and Digg.&#xD;
24
- 11. Support Vertical Scrollbar layout for buttons.</description>
25
- <notes>Re-package to support Magento Connect 1.0</notes>
26
- <authors><author><name>Mirage Design</name><user>auto-converted</user><email>ngocdbcn@gmail.com</email></author></authors>
27
- <date>2012-03-13</date>
28
- <time>03:46:22</time>
29
- <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="8100da981b13cbc53aa546b862031e98"/><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>
 
 
 
 
 
 
 
 
30
  <compatible/>
31
  <dependencies/>
32
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Miragedesign_Pinterest</name>
4
+ <version>1.1.0</version>
5
  <stability>stable</stability>
6
+ <license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License</license>
7
  <channel>community</channel>
8
  <extends/>
9
+ <summary>A Pinterest Magento linker that allows you to interact with Pinterest from your Magento back office. It adds "Pin It" button to your product page with several options, also support you get Pinterest Feeds!</summary>
10
  <description>A Pinterest Magento linker that allows you to add "Pin It" button to your product page.&#xD;
11
+ &lt;br /&gt;&#xD;
12
+ &lt;strong&gt;Features:&lt;/strong&gt;&lt;br /&gt;&#xD;
13
+ 1. Provide Horizontal, vertical pin count or button only layout.&lt;br /&gt;&#xD;
14
+ 2. Uses Product Name for the Pin Description.&lt;br /&gt;&#xD;
15
+ 3. Provide an option allows you to display Price or Special Price with the Description. Auto-detect current currency to use for Price, for example $ &lt;br /&gt;&#xD;
16
+ 4. Support you to define the precision of price (how many decimal places for product prices) &lt;br /&gt;&#xD;
17
+ 5. Uses the Products Base Image for the Pin image. &lt;br /&gt;&#xD;
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. &lt;br /&gt;&#xD;
19
+ 7. Pin the Product URL &lt;br /&gt;&#xD;
20
+ 8. Support locate file (currently only English, but other languages will be available soon) &lt;br /&gt;&#xD;
21
+ 9. Allow you to enable / disable the extension. &lt;br /&gt;&#xD;
22
+ 10. Allow user to use Pin It with other social network buttons like Facebook, Twitter, Google+, LinkedIn and Digg&lt;br /&gt;&#xD;
23
+ 11. Support vertical scrollbar layout for sharing buttons &lt;br /&gt;&#xD;
24
+ &lt;strong&gt;12. Support you to show Pinterest Feeds on your site with several options&lt;/strong&gt; &#xD;
25
  And much more features are comming!&#xD;
26
+ &lt;br /&gt;&#xD;
27
+ Version Status: 1.0.5, Stable&#xD;
28
+ &lt;br /&gt;&lt;br /&gt;&#xD;
29
+ Developped by &lt;a href="http://miragedesign.net"&gt;Mirage Design&lt;/a&gt;&#xD;
30
+ &lt;br /&gt;&#xD;
31
+ Feel free to ask any question at &lt;a href="http://miragedesign.net/newss/pinterest-magento-linker/"&gt;our site&lt;/a&gt;</description>
32
+ <notes>Upgraded Version for supporting Pinterest Feeds&#xD;
33
+ - Allow you to show your Pins in your site from your Pinterest Account.&#xD;
34
+ - Allow you to show your Pins in your site from your Pinterest Account combine with a Pin board slug.&#xD;
35
+ - Or simply allow you to show popular Pins from Pinterest.&#xD;
36
+ - Support you to config "Pinterest follow button" for promoting your Pinterest account to everybody visits your Magento site.</notes>
37
+ <authors><author><name>Miragedesign</name><user>auto-converted</user><email>contact@miragedesign.net</email></author></authors>
38
+ <date>2012-03-23</date>
39
+ <time>15:14:49</time>
40
+ <contents><target name="magecommunity"><dir name="Miragedesign"><dir name="Pinterest"><dir name="Block"><file name="Base.php" hash="61144230f225ca43af104a763a8bc9af"/><file name="Button.php" hash="3dbc03daf9755dd71ccf3fd755b1134e"/><file name="Feed.php" hash="693338cb348e82882e8b259556c11af2"/></dir><dir name="Helper"><file name="Data.php" hash="b1e241f5a9fb4b875a401a999f9932cc"/></dir><dir name="Lib"><file name="PinterestApi.php" hash="bcd81d365750d56cf949ec819e8be0e3"/></dir><dir name="Model"><file name="Feedposition.php" hash="9ac67bac7b68ab739d7f5fb502b7668f"/><file name="Pincount.php" hash="e405b72545cabc196630ce099a82eb10"/><file name="Pindescription.php" hash="58779fe60953310bb82ff836d2ff390e"/><file name="Price.php" hash="c61c75334b6410649a92d33f22c60bd6"/></dir><dir name="etc"><file name="adminhtml.xml" hash="6ec7da759768d8ba1bceeffa15a5ff8d"/><file name="config.xml" hash="201b9897988a3774f44bfc987b99c383"/><file name="system.xml" hash="912fa8262f1ce8a7ecc07cd6e0501c60"/></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="6f5c639f4a09923a766ad13ab4284b46"/></dir></dir><dir name="template"><dir name="miragedesign"><file name="pinterest_button.phtml" hash="8c01113f3887ba3184fad3c7eccf2597"/><file name="pinterest_left_feed.phtml" hash="0d22feb8264dc96d74a30fb11d29f687"/><file name="pinterest_panel.phtml" hash="ecd8c45327c9b4d78cc930026a3c44c3"/><file name="pinterest_right_feed.phtml" hash="78ee40eced42ca5177c8835e4c6ec5cf"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="miragedesign"><file name="pinterest.css" hash="d279479b66cb5858e10a9af1fca84a4a"/></dir></dir><dir name="images"><dir name="miragedesign"><dir name="pinterest"><file name="feed-icon.png" hash="997d37ed0159ac43b2862af0d66c6770"/><file name="follow-on-pinterest-button.png" hash="6b3da71de3bb885a3b17f22af8fdecbb"/></dir></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>
41
  <compatible/>
42
  <dependencies/>
43
  </package>
skin/frontend/base/default/css/miragedesign/pinterest.css ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .pin-feed {
2
+ float:left;
3
+ }
4
+ .pin-feed .pin-title strong {
5
+ padding-left:21px;
6
+ background: url(../../images/miragedesign/pinterest/feed-icon.png) 0 0 no-repeat;
7
+ }
8
+ .pin-feed .pin-wrap {
9
+ clear:both;
10
+ }
11
+ .pin-feed .pin-wrap .pin-image {
12
+ float:left;
13
+ margin: 5px;
14
+ }
15
+ .pin-feed .pin-wrap .pin-image {
16
+ border: 1px solid #ccc;
17
+ }
18
+ .pin-feed .pin-wrap .pin-desc {
19
+ float:right;
20
+ margin-top:2px;
21
+ width: 106px;
22
+ }
23
+ .pin-feed .pin-footer {
24
+ clear: both;
25
+ border-top: 1px solid #CCC;
26
+ text-align: center;
27
+ padding: 5px 0;
28
+ }
skin/frontend/base/default/images/miragedesign/pinterest/feed-icon.png ADDED
Binary file
skin/frontend/base/default/images/miragedesign/pinterest/follow-on-pinterest-button.png ADDED
Binary file