Version Notes
First stable release
Download this release
Release Info
Developer | Magento Core Team |
Extension | Magmodules_Feedbackcompany |
Version | 1.2.0 |
Comparing to | |
See all releases |
Code changes from version 1.1.1 to 1.2.0
- app/code/local/Magmodules/Feedbackcompany/Block/Adminhtml/Widget/Form/Note.php +27 -0
- app/code/local/Magmodules/Feedbackcompany/Block/Custom.php +64 -14
- app/code/local/Magmodules/Feedbackcompany/Block/Snippets.php +0 -47
- app/code/local/Magmodules/Feedbackcompany/Helper/Data.php +180 -19
- app/code/local/Magmodules/Feedbackcompany/etc/config.xml +18 -7
- app/code/local/Magmodules/Feedbackcompany/etc/system.xml +208 -12
- app/design/frontend/base/default/layout/magmodules_feedbackcompany.xml +1 -2
- app/design/frontend/base/default/template/magmodules/feedbackcompany/index.phtml +1 -1
- app/design/frontend/base/default/template/magmodules/feedbackcompany/sidebar/left.phtml +2 -2
- app/design/frontend/base/default/template/magmodules/feedbackcompany/sidebar/right.phtml +2 -2
- app/design/frontend/base/default/template/magmodules/feedbackcompany/widget/custom.phtml +0 -38
- app/design/frontend/base/default/template/magmodules/feedbackcompany/widget/medium.phtml +47 -0
- app/design/frontend/base/default/template/magmodules/feedbackcompany/widget/richsnippets.phtml +0 -40
- app/design/frontend/base/default/template/magmodules/feedbackcompany/widget/sidebar.phtml +64 -0
- app/design/frontend/base/default/template/magmodules/feedbackcompany/widget/small.phtml +38 -0
- app/locale/en_US/Magmodules_Feedbackcompany.csv +5 -1
- app/locale/nl_NL/Magmodules_Feedbackcompany.csv +6 -2
- package.xml +4 -4
- skin/frontend/base/default/magmodules/feedbackcompany/images/bkg_rating.gif +0 -0
- skin/frontend/base/default/magmodules/feedbackcompany/images/bkg_rating2x.gif +0 -0
- skin/frontend/base/default/magmodules/feedbackcompany/images/small_fill.png +0 -0
- skin/frontend/base/default/magmodules/feedbackcompany/images/small_grey.png +0 -0
- skin/frontend/base/default/magmodules/feedbackcompany/richsnippets.css +0 -41
- skin/frontend/base/default/magmodules/feedbackcompany/sidebar.css +168 -20
- skin/frontend/base/default/magmodules/feedbackcompany/style.css +1 -1
app/code/local/Magmodules/Feedbackcompany/Block/Adminhtml/Widget/Form/Note.php
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magmodules.eu - http://www.magmodules.eu - info@magmodules.eu
|
4 |
+
* =============================================================
|
5 |
+
* NOTICE OF LICENSE [Single domain license]
|
6 |
+
* This source file is subject to the EULA that is
|
7 |
+
* available through the world-wide-web at:
|
8 |
+
* http://www.magmodules.eu/license-agreement/
|
9 |
+
* =============================================================
|
10 |
+
* @category Magmodules
|
11 |
+
* @package Magmodules_Feedbackcompany
|
12 |
+
* @author Magmodules <info@magmodules.eu>
|
13 |
+
* @copyright Copyright (c) 2015 (http://www.magmodules.eu)
|
14 |
+
* @license http://www.magmodules.eu/license-agreement/
|
15 |
+
* =============================================================
|
16 |
+
*/
|
17 |
+
|
18 |
+
class Magmodules_Feedbackcompany_Block_Adminhtml_Widget_Form_Note extends Mage_Adminhtml_Block_Abstract implements Varien_Data_Form_Element_Renderer_Interface {
|
19 |
+
|
20 |
+
public function render(Varien_Data_Form_Element_Abstract $element) {
|
21 |
+
$useContainerId = $element->getData('use_container_id');
|
22 |
+
return sprintf('<tr id="row_%s"><td colspan="5" class="label" style="margin-bottom: 10px;">%s</td></tr>',
|
23 |
+
$element->getHtmlId(), $element->getLabel()
|
24 |
+
);
|
25 |
+
}
|
26 |
+
|
27 |
+
}
|
app/code/local/Magmodules/Feedbackcompany/Block/Custom.php
CHANGED
@@ -12,28 +12,78 @@
|
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
* to info@magmodules.eu so we can send you a copy immediately.
|
14 |
*
|
15 |
-
* @category
|
16 |
-
* @package
|
17 |
-
* @author
|
18 |
-
* @copyright
|
19 |
-
* @license
|
20 |
*/
|
21 |
|
22 |
class Magmodules_Feedbackcompany_Block_Custom extends Mage_Core_Block_Template {
|
23 |
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
|
31 |
-
|
32 |
-
$this->
|
33 |
}
|
34 |
|
35 |
-
|
36 |
-
return $this->helper('feedbackcompany')->
|
|
|
|
|
|
|
|
|
37 |
}
|
38 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
}
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
* to info@magmodules.eu so we can send you a copy immediately.
|
14 |
*
|
15 |
+
* @category Magmodules
|
16 |
+
* @package Magmodules_Feedbackcompany
|
17 |
+
* @author Magmodules <info@magmodules.eu)
|
18 |
+
* @copyright Copyright (c) 2015 (http://www.magmodules.eu)
|
19 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
20 |
*/
|
21 |
|
22 |
class Magmodules_Feedbackcompany_Block_Custom extends Mage_Core_Block_Template {
|
23 |
|
24 |
+
protected function _construct() {
|
25 |
+
|
26 |
+
$blockType = $this->getData("blocktype");
|
27 |
+
$blockTypeTemplate = '';
|
28 |
+
|
29 |
+
if($blockType == 'sidebar') {
|
30 |
+
$total = $this->helper('feedbackcompany')->getTotalScore();
|
31 |
+
$enabled = $this->helper('feedbackcompany')->getBlockEnabled('sidebar');
|
32 |
+
$sidebarreviews = $this->helper('feedbackcompany')->getSidebarCollection('sidebar');
|
33 |
+
if($total && $enabled && $sidebarreviews) {
|
34 |
+
$this->setTotals($total);
|
35 |
+
$this->setReviews($sidebarreviews);
|
36 |
+
$blockTypeTemplate = 'magmodules/feedbackcompany/widget/sidebar.phtml';
|
37 |
+
}
|
38 |
}
|
39 |
+
|
40 |
+
if($blockType == 'medium') {
|
41 |
+
$total = $this->helper('feedbackcompany')->getTotalScore();
|
42 |
+
$enabled = $this->helper('feedbackcompany')->getBlockEnabled('medium');
|
43 |
+
if($total && $enabled) {
|
44 |
+
$this->setTotals($total);
|
45 |
+
$blockTypeTemplate = 'magmodules/feedbackcompany/widget/medium.phtml';
|
46 |
+
}
|
47 |
+
}
|
48 |
+
|
49 |
+
if($blockType == 'small') {
|
50 |
+
$total = $this->helper('feedbackcompany')->getTotalScore();
|
51 |
+
$enabled = $this->helper('feedbackcompany')->getBlockEnabled('small');
|
52 |
+
if($total && $enabled) {
|
53 |
+
$this->setTotals($total);
|
54 |
+
$blockTypeTemplate = 'magmodules/feedbackcompany/widget/small.phtml';
|
55 |
+
}
|
56 |
+
}
|
57 |
+
|
58 |
+
if($blockTypeTemplate) {
|
59 |
+
parent::_construct();
|
60 |
+
$this->setTemplate($blockTypeTemplate);
|
61 |
+
}
|
62 |
+
|
63 |
+
}
|
64 |
+
|
65 |
+
public function getFeedbackcompanyData() {
|
66 |
+
return $this->helper('feedbackcompany')->getTotalScore();
|
67 |
+
}
|
68 |
|
69 |
+
function formatContent($sidebarreview, $sidebar) {
|
70 |
+
return $this->helper('feedbackcompany')->formatContent($sidebarreview, $sidebar);
|
71 |
}
|
72 |
|
73 |
+
function getReviewsUrl($type) {
|
74 |
+
return $this->helper('feedbackcompany')->getReviewsUrl($type);
|
75 |
+
}
|
76 |
+
|
77 |
+
public function getSnippetsEnabled($sidebar) {
|
78 |
+
return $this->helper('feedbackcompany')->getSnippetsEnabled($sidebar);
|
79 |
}
|
80 |
|
81 |
+
public function getLatestReview() {
|
82 |
+
return $this->helper('feedbackcompany')->getLatestReview();
|
83 |
+
}
|
84 |
+
|
85 |
+
public function getHtmlStars($percentage, $type) {
|
86 |
+
return $this->helper('feedbackcompany')->getHtmlStars($percentage, $type);
|
87 |
+
}
|
88 |
+
|
89 |
}
|
app/code/local/Magmodules/Feedbackcompany/Block/Snippets.php
DELETED
@@ -1,47 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Magmodules.eu - http://www.magmodules.eu
|
4 |
-
*
|
5 |
-
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
-
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
-
* that is bundled with this package in the file LICENSE.txt.
|
9 |
-
* It is also available through the world-wide-web at this URL:
|
10 |
-
* http://opensource.org/licenses/osl-3.0.php
|
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 info@magmodules.eu so we can send you a copy immediately.
|
14 |
-
*
|
15 |
-
* @category Magmodules
|
16 |
-
* @package Magmodules_Feedbackcompany
|
17 |
-
* @author Magmodules <info@magmodules.eu)
|
18 |
-
* @copyright Copyright (c) 2015 (http://www.magmodules.eu)
|
19 |
-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
20 |
-
*/
|
21 |
-
|
22 |
-
class Magmodules_Feedbackcompany_Block_Snippets extends Mage_Core_Block_Template {
|
23 |
-
|
24 |
-
protected function _construct() {
|
25 |
-
if(Mage::getStoreConfig('feedbackcompany/general/enabled')) {
|
26 |
-
$this->setSnippetsEnabled(1);
|
27 |
-
} else {
|
28 |
-
$this->setSnippetsEnabled(0);
|
29 |
-
}
|
30 |
-
|
31 |
-
parent::_construct();
|
32 |
-
$this->setTemplate('magmodules/feedbackcompany/widget/richsnippets.phtml');
|
33 |
-
}
|
34 |
-
|
35 |
-
public function getSnippets() {
|
36 |
-
return $this->helper('feedbackcompany')->getTotalScore();
|
37 |
-
}
|
38 |
-
|
39 |
-
public function getHtmlStars($rating) {
|
40 |
-
return $this->helper('feedbackcompany')->getHtmlStars($rating);
|
41 |
-
}
|
42 |
-
|
43 |
-
public function getExternalLink() {
|
44 |
-
return $this->helper('feedbackcompany')->getExternalLink();
|
45 |
-
}
|
46 |
-
|
47 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/local/Magmodules/Feedbackcompany/Helper/Data.php
CHANGED
@@ -12,11 +12,11 @@
|
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
* to info@magmodules.eu so we can send you a copy immediately.
|
14 |
*
|
15 |
-
* @category
|
16 |
-
* @package
|
17 |
-
* @author
|
18 |
-
* @copyright
|
19 |
-
* @license
|
20 |
*/
|
21 |
|
22 |
class Magmodules_Feedbackcompany_Helper_Data extends Mage_Core_Helper_Abstract {
|
@@ -27,28 +27,189 @@ class Magmodules_Feedbackcompany_Helper_Data extends Mage_Core_Helper_Abstract {
|
|
27 |
$review_stats = Mage::getModel('feedbackcompany/stats')->load($shop_id, 'shop_id');
|
28 |
if($review_stats->getScore() > 0) {
|
29 |
$review_stats->setPercentage($review_stats->getScore() * 2);
|
30 |
-
$review_stats->setStarsQty(number_format(($review_stats->getScore() /
|
31 |
return $review_stats;
|
32 |
} else {
|
33 |
return false;
|
34 |
}
|
35 |
}
|
36 |
|
37 |
-
function
|
38 |
-
if(
|
39 |
-
return Mage::
|
40 |
-
}
|
41 |
-
|
42 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
}
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
* to info@magmodules.eu so we can send you a copy immediately.
|
14 |
*
|
15 |
+
* @category Magmodules
|
16 |
+
* @package Magmodules_Feedbackcompany
|
17 |
+
* @author Magmodules <info@magmodules.eu)
|
18 |
+
* @copyright Copyright (c) 2015 (http://www.magmodules.eu)
|
19 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
20 |
*/
|
21 |
|
22 |
class Magmodules_Feedbackcompany_Helper_Data extends Mage_Core_Helper_Abstract {
|
27 |
$review_stats = Mage::getModel('feedbackcompany/stats')->load($shop_id, 'shop_id');
|
28 |
if($review_stats->getScore() > 0) {
|
29 |
$review_stats->setPercentage($review_stats->getScore() * 2);
|
30 |
+
$review_stats->setStarsQty(number_format(($review_stats->getScore() / 5), 1, ',', ''));
|
31 |
return $review_stats;
|
32 |
} else {
|
33 |
return false;
|
34 |
}
|
35 |
}
|
36 |
|
37 |
+
public function getStyle($type = 'sidebar') {
|
38 |
+
if($type == 'left') {
|
39 |
+
return Mage::getStoreConfig('feedbackcompany/sidebar/left_style');
|
40 |
+
}
|
41 |
+
if($type == 'right') {
|
42 |
+
return Mage::getStoreConfig('feedbackcompany/sidebar/right_style');
|
43 |
+
}
|
44 |
+
if($type == 'sidebar') {
|
45 |
+
return Mage::getStoreConfig('feedbackcompany/block/sidebar_style');
|
46 |
+
}
|
47 |
+
}
|
48 |
+
|
49 |
+
public function getSnippetsEnabled($type = 'sidebar') {
|
50 |
+
switch ($type) {
|
51 |
+
case 'left':
|
52 |
+
return Mage::getStoreConfig('feedbackcompany/sidebar/left_snippets');
|
53 |
+
break;
|
54 |
+
case 'right':
|
55 |
+
return Mage::getStoreConfig('feedbackcompany/sidebar/right_snippets');
|
56 |
+
break;
|
57 |
+
case 'sidebar':
|
58 |
+
return Mage::getStoreConfig('feedbackcompany/block/sidebar_snippets');
|
59 |
+
break;
|
60 |
+
case 'small':
|
61 |
+
return Mage::getStoreConfig('feedbackcompany/block/small_snippets');
|
62 |
+
break;
|
63 |
+
case 'medium':
|
64 |
+
return Mage::getStoreConfig('feedbackcompany/block/medium_snippets');
|
65 |
+
break;
|
66 |
+
}
|
67 |
}
|
68 |
+
|
69 |
+
function getReviewsUrl($type) {
|
70 |
+
|
71 |
+
$link = '';
|
72 |
+
|
73 |
+
switch ($type) {
|
74 |
+
case 'left':
|
75 |
+
$link = Mage::getStoreConfig('feedbackcompany/sidebar/left_link');
|
76 |
+
break;
|
77 |
+
case 'right':
|
78 |
+
$link = Mage::getStoreConfig('feedbackcompany/sidebar/right_link');
|
79 |
+
break;
|
80 |
+
case 'sidebar':
|
81 |
+
$link = Mage::getStoreConfig('feedbackcompany/block/sidebar_link');
|
82 |
+
break;
|
83 |
+
case 'small':
|
84 |
+
$link = Mage::getStoreConfig('feedbackcompany/block/small_link');
|
85 |
+
break;
|
86 |
+
case 'medium':
|
87 |
+
$link = Mage::getStoreConfig('feedbackcompany/block/medium_link');
|
88 |
+
break;
|
89 |
+
}
|
90 |
+
if($link == 'internal') {
|
91 |
+
return Mage::getBaseUrl() . 'feedbackcompany';
|
92 |
+
}
|
93 |
+
if($link == 'external') {
|
94 |
+
return Mage::getStoreConfig('feedbackcompany/general/url');
|
95 |
+
}
|
96 |
+
return false;
|
97 |
+
}
|
98 |
+
|
99 |
+
function getSidebarCollection($sidebar) {
|
100 |
+
|
101 |
+
$enabled = ''; $qty = '5';
|
102 |
+
|
103 |
+
if(Mage::getStoreConfig('feedbackcompany/general/enabled')) {
|
104 |
+
if($sidebar == 'left') {
|
105 |
+
$qty = Mage::getStoreConfig('feedbackcompany/sidebar/left_qty');
|
106 |
+
$enabled = Mage::getStoreConfig('feedbackcompany/sidebar/left');
|
107 |
+
}
|
108 |
+
if($sidebar == 'right') {
|
109 |
+
$qty = Mage::getStoreConfig('feedbackcompany/sidebar/right_qty');
|
110 |
+
$enabled = Mage::getStoreConfig('feedbackcompany/sidebar/right');
|
111 |
+
}
|
112 |
+
if($sidebar == 'sidebar') {
|
113 |
+
$qty = Mage::getStoreConfig('feedbackcompany/block/sidebar_qty');
|
114 |
+
$enabled = Mage::getStoreConfig('feedbackcompany/block/sidebar');
|
115 |
+
}
|
116 |
+
}
|
117 |
+
|
118 |
+
if($enabled) {
|
119 |
+
$shop_id = Mage::getStoreConfig('feedbackcompany/general/api_id');
|
120 |
+
$reviews = Mage::getModel("feedbackcompany/reviews")->getCollection();
|
121 |
+
$reviews->setOrder('date_created', 'DESC');
|
122 |
+
$reviews->addFieldToFilter('status',1);
|
123 |
+
$reviews->addFieldToFilter('sidebar',1);
|
124 |
+
$reviews->addFieldToFilter('shop_id', array('eq'=> array($shop_id)));
|
125 |
+
$reviews->setPageSize($qty);
|
126 |
+
$reviews->load();
|
127 |
+
return $reviews;
|
128 |
+
}
|
129 |
+
|
130 |
+
return false;
|
131 |
+
}
|
132 |
|
133 |
+
function getLatestReview() {
|
134 |
+
if(Mage::getStoreConfig('feedbackcompany/block/medium_review')) {
|
135 |
+
$shop_id = Mage::getStoreConfig('feedbackcompany/general/api_id');
|
136 |
+
$review = Mage::getModel("feedbackcompany/reviews")->getCollection();
|
137 |
+
$review->setOrder('date_created', 'DESC');
|
138 |
+
$review->addFieldToFilter('status',1);
|
139 |
+
$review->addFieldToFilter('review_text', array('notnull' => true));
|
140 |
+
$review->addFieldToFilter('shop_id', array('eq'=> array($shop_id)));
|
141 |
+
return $review->getFirstItem();
|
142 |
+
}
|
143 |
+
return false;
|
144 |
+
}
|
145 |
+
|
146 |
+
function formatContent($sidebarreview, $sidebar = 'left') {
|
147 |
+
|
148 |
+
$content = $sidebarreview->getReviewText();
|
149 |
+
$char_limit = '';
|
150 |
+
|
151 |
+
if($sidebar == 'left') {
|
152 |
+
$char_limit = Mage::getStoreConfig('feedbackcompany/sidebar/left_lenght');
|
153 |
+
}
|
154 |
+
if($sidebar == 'right') {
|
155 |
+
$char_limit = Mage::getStoreConfig('feedbackcompany/sidebar/right_lenght');
|
156 |
+
}
|
157 |
+
if($sidebar == 'sidebar') {
|
158 |
+
$char_limit = Mage::getStoreConfig('feedbackcompany/block/sidebar_lenght');
|
159 |
+
}
|
160 |
+
if($sidebar == 'medium') {
|
161 |
+
$char_limit = Mage::getStoreConfig('feedbackcompany/block/medium_lenght');
|
162 |
+
}
|
163 |
+
|
164 |
+
if($char_limit > 1) {
|
165 |
+
$url = $this->getReviewsUrl($sidebar);
|
166 |
+
$content = Mage::helper('core/string')->truncate($content, $char_limit, ' ...', $_remainder, false);
|
167 |
+
$content .= ' <a href="' . $url . '" target="_blank">' . $this->__('Read More') . '</a>';
|
168 |
+
}
|
169 |
+
return $content;
|
170 |
}
|
171 |
+
|
172 |
+
public function getBlockEnabled($type) {
|
173 |
+
if(Mage::getStoreConfig('feedbackcompany/general/enabled')) {
|
174 |
+
switch ($type) {
|
175 |
+
case 'left':
|
176 |
+
return Mage::getStoreConfig('feedbackcompany/sidebar/left');
|
177 |
+
break;
|
178 |
+
case 'right':
|
179 |
+
return Mage::getStoreConfig('feedbackcompany/sidebar/right');
|
180 |
+
break;
|
181 |
+
case 'sidebar':
|
182 |
+
return Mage::getStoreConfig('feedbackcompany/block/sidebar');
|
183 |
+
break;
|
184 |
+
case 'small':
|
185 |
+
return Mage::getStoreConfig('feedbackcompany/block/small');
|
186 |
+
break;
|
187 |
+
case 'medium':
|
188 |
+
return Mage::getStoreConfig('feedbackcompany/block/medium');
|
189 |
+
break;
|
190 |
+
}
|
191 |
+
}
|
192 |
+
return false;
|
193 |
+
}
|
194 |
+
|
195 |
+
function getHtmlStars($rating, $type = 'small') {
|
196 |
+
$perc = $rating;
|
197 |
+
$show = '';
|
198 |
+
|
199 |
+
if($type == 'small') {
|
200 |
+
$show = Mage::getStoreConfig('feedbackcompany/block/small_stars');
|
201 |
+
}
|
202 |
+
if($type == 'medium') {
|
203 |
+
$show = Mage::getStoreConfig('feedbackcompany/block/medium_stars');
|
204 |
+
}
|
205 |
|
206 |
+
if($show) {
|
207 |
+
$html = '<div class="rating-box">';
|
208 |
+
$html .= ' <div class="rating" style="width:' . $perc . '%"></div>';
|
209 |
+
$html .= '</div>';
|
210 |
+
return $html;
|
211 |
+
}
|
212 |
+
return false;
|
213 |
+
}
|
214 |
+
|
215 |
}
|
app/code/local/Magmodules/Feedbackcompany/etc/config.xml
CHANGED
@@ -23,7 +23,7 @@
|
|
23 |
<config>
|
24 |
<modules>
|
25 |
<Magmodules_Feedbackcompany>
|
26 |
-
<version>1.
|
27 |
</Magmodules_Feedbackcompany>
|
28 |
</modules>
|
29 |
<global>
|
@@ -195,16 +195,27 @@
|
|
195 |
<right_lenght>150</right_lenght>
|
196 |
<right_link>external</right_link>
|
197 |
</sidebar>
|
198 |
-
<
|
199 |
-
<sidebar>
|
200 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
201 |
<overview>
|
202 |
<enabled>1</enabled>
|
203 |
<enable_paging>1</enable_paging>
|
204 |
<paging_settings>10,20,30</paging_settings>
|
205 |
-
<meta_title>
|
206 |
-
<meta_description>Feedbackcompany Reviews overview page</meta_description>
|
207 |
-
<meta_keywords>reviews,
|
208 |
</overview>
|
209 |
<invitation>
|
210 |
<enabled>0</enabled>
|
23 |
<config>
|
24 |
<modules>
|
25 |
<Magmodules_Feedbackcompany>
|
26 |
+
<version>1.2.0</version>
|
27 |
</Magmodules_Feedbackcompany>
|
28 |
</modules>
|
29 |
<global>
|
195 |
<right_lenght>150</right_lenght>
|
196 |
<right_link>external</right_link>
|
197 |
</sidebar>
|
198 |
+
<block>
|
199 |
+
<sidebar>0</sidebar>
|
200 |
+
<sidebar_qty>3</sidebar_qty>
|
201 |
+
<sidebar_lenght>150</sidebar_lenght>
|
202 |
+
<sidebar_link>external</sidebar_link>
|
203 |
+
<sidebar_snippets>0</sidebar_snippets>
|
204 |
+
<small>0</small>
|
205 |
+
<small_stars>1</small_stars>
|
206 |
+
<small_link>external</small_link>
|
207 |
+
<medium>0</medium>
|
208 |
+
<medium_stars>1</medium_stars>
|
209 |
+
<medium_link>external</medium_link>
|
210 |
+
<medium_lenght>150</medium_lenght>
|
211 |
+
</block>
|
212 |
<overview>
|
213 |
<enabled>1</enabled>
|
214 |
<enable_paging>1</enable_paging>
|
215 |
<paging_settings>10,20,30</paging_settings>
|
216 |
+
<meta_title>The Feedback Company Reviews</meta_title>
|
217 |
+
<meta_description>The Feedbackcompany Reviews overview page</meta_description>
|
218 |
+
<meta_keywords>reviews,feedbackcompany</meta_keywords>
|
219 |
</overview>
|
220 |
<invitation>
|
221 |
<enabled>0</enabled>
|
app/code/local/Magmodules/Feedbackcompany/etc/system.xml
CHANGED
@@ -78,7 +78,6 @@
|
|
78 |
<show_in_default>1</show_in_default>
|
79 |
<show_in_website>0</show_in_website>
|
80 |
<show_in_store>1</show_in_store>
|
81 |
-
<tooltip>You can find this information in your The Feedback Company account</tooltip>
|
82 |
</company>
|
83 |
<api_id translate="label">
|
84 |
<label>The Feedback Company ID</label>
|
@@ -87,6 +86,7 @@
|
|
87 |
<show_in_default>1</show_in_default>
|
88 |
<show_in_website>0</show_in_website>
|
89 |
<show_in_store>1</show_in_store>
|
|
|
90 |
</api_id>
|
91 |
</fields>
|
92 |
</general>
|
@@ -300,7 +300,213 @@
|
|
300 |
<comment>You can only activate the Rich Snippets when this block is shown on your Homepage only</comment>
|
301 |
</right_snippets>
|
302 |
</fields>
|
303 |
-
</sidebar>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
304 |
<overview translate="label">
|
305 |
<label>Feedbackcompany Overview Page</label>
|
306 |
<frontend_type>text</frontend_type>
|
@@ -570,16 +776,6 @@
|
|
570 |
</clean_days>
|
571 |
</fields>
|
572 |
</log>
|
573 |
-
<snippets translate="label">
|
574 |
-
<label>Feedbackcompany Custom Blocks</label>
|
575 |
-
<frontend_type>text</frontend_type>
|
576 |
-
<sort_order>10</sort_order>
|
577 |
-
<show_in_default>1</show_in_default>
|
578 |
-
<show_in_website>1</show_in_website>
|
579 |
-
<show_in_store>1</show_in_store>
|
580 |
-
<expanded>1</expanded>
|
581 |
-
<comment><![CDATA[<p>The extension comes with two coded blocks.<br/>With this blocks you can add your store rating in a Static block or CMS page.</p><br/><p><strong>The Rich Snippets Block.</strong><br/>Show your Store-rating with this block and generate results in the Google Search Engine Results better known as Rich Snippets.<br/>Paste the code below at the desired location using a Static Block or a CMS page.</p> <p>Code: {{block type="feedbackcompany/snippets" name="feedbackcompanysnippets"}}</p><br/><p><strong>Custom Block.</strong><br/>With this block you can create custom block for footer of header, you can paste the code below at the desired location using a Static Block or a CMS page.<br>To edit this block you need to edit the .phtml file located in the following path: app/design/frontend/base/default/template/magmodules/feedbackcompany/widget/custom.phtml</p> <p>Code: {{block type="feedbackcompany/custom" name="feedbackcompany"}}</p>]]></comment>
|
582 |
-
</snippets>
|
583 |
</groups>
|
584 |
</feedbackcompany>
|
585 |
</sections>
|
78 |
<show_in_default>1</show_in_default>
|
79 |
<show_in_website>0</show_in_website>
|
80 |
<show_in_store>1</show_in_store>
|
|
|
81 |
</company>
|
82 |
<api_id translate="label">
|
83 |
<label>The Feedback Company ID</label>
|
86 |
<show_in_default>1</show_in_default>
|
87 |
<show_in_website>0</show_in_website>
|
88 |
<show_in_store>1</show_in_store>
|
89 |
+
<tooltip>You can find this information in your The Feedback Company account</tooltip>
|
90 |
</api_id>
|
91 |
</fields>
|
92 |
</general>
|
300 |
<comment>You can only activate the Rich Snippets when this block is shown on your Homepage only</comment>
|
301 |
</right_snippets>
|
302 |
</fields>
|
303 |
+
</sidebar>
|
304 |
+
<block translate="label">
|
305 |
+
<label>The Feedbackcompany Blocks</label>
|
306 |
+
<frontend_type>text</frontend_type>
|
307 |
+
<sort_order>5</sort_order>
|
308 |
+
<show_in_default>1</show_in_default>
|
309 |
+
<show_in_website>1</show_in_website>
|
310 |
+
<show_in_store>1</show_in_store>
|
311 |
+
<expanded>1</expanded>
|
312 |
+
<fields>
|
313 |
+
<sidebar_heading translate="label">
|
314 |
+
<label>Sidebar Style Block</label>
|
315 |
+
<frontend_model>feedbackcompany/adminhtml_widget_form_heading</frontend_model>
|
316 |
+
<sort_order>10</sort_order>
|
317 |
+
<show_in_default>1</show_in_default>
|
318 |
+
<show_in_website>1</show_in_website>
|
319 |
+
<show_in_store>1</show_in_store>
|
320 |
+
</sidebar_heading>
|
321 |
+
<sidebar_note translate="label">
|
322 |
+
<label><![CDATA[You can add this custom block by pasting the following code in your CMS page or Static Block.<br/>{{block type="feedbackcompany/custom" name="feedbackcompany" blocktype="sidebar"}}]]></label>
|
323 |
+
<frontend_model>feedbackcompany/adminhtml_widget_form_note</frontend_model>
|
324 |
+
<sort_order>11</sort_order>
|
325 |
+
<show_in_default>1</show_in_default>
|
326 |
+
<show_in_website>1</show_in_website>
|
327 |
+
<show_in_store>1</show_in_store>
|
328 |
+
</sidebar_note>
|
329 |
+
<sidebar translate="label">
|
330 |
+
<label>Enabled</label>
|
331 |
+
<frontend_type>select</frontend_type>
|
332 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
333 |
+
<sort_order>12</sort_order>
|
334 |
+
<show_in_default>1</show_in_default>
|
335 |
+
<show_in_website>1</show_in_website>
|
336 |
+
<show_in_store>1</show_in_store>
|
337 |
+
</sidebar>
|
338 |
+
<sidebar_qty translate="label">
|
339 |
+
<label>Number of Reviews</label>
|
340 |
+
<validate>validate-number</validate>
|
341 |
+
<frontend_type>text</frontend_type>
|
342 |
+
<sort_order>13</sort_order>
|
343 |
+
<show_in_default>1</show_in_default>
|
344 |
+
<show_in_website>1</show_in_website>
|
345 |
+
<show_in_store>1</show_in_store>
|
346 |
+
<depends><sidebar>1</sidebar></depends>
|
347 |
+
</sidebar_qty>
|
348 |
+
<sidebar_lenght translate="label">
|
349 |
+
<label>Length of Reviews</label>
|
350 |
+
<validate>validate-number</validate>
|
351 |
+
<frontend_type>text</frontend_type>
|
352 |
+
<sort_order>14</sort_order>
|
353 |
+
<show_in_default>1</show_in_default>
|
354 |
+
<show_in_website>1</show_in_website>
|
355 |
+
<show_in_store>1</show_in_store>
|
356 |
+
<depends><sidebar>1</sidebar></depends>
|
357 |
+
</sidebar_lenght>
|
358 |
+
<sidebar_link translate="label">
|
359 |
+
<label>Link to</label>
|
360 |
+
<frontend_type>select</frontend_type>
|
361 |
+
<source_model>feedbackcompany/system_config_source_sidebarlink</source_model>
|
362 |
+
<sort_order>15</sort_order>
|
363 |
+
<show_in_default>1</show_in_default>
|
364 |
+
<show_in_website>1</show_in_website>
|
365 |
+
<show_in_store>1</show_in_store>
|
366 |
+
<depends><sidebar>1</sidebar></depends>
|
367 |
+
</sidebar_link>
|
368 |
+
<sidebar_snippets translate="label">
|
369 |
+
<label>Add Rich Snippets</label>
|
370 |
+
<frontend_type>select</frontend_type>
|
371 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
372 |
+
<sort_order>17</sort_order>
|
373 |
+
<show_in_default>1</show_in_default>
|
374 |
+
<show_in_website>1</show_in_website>
|
375 |
+
<show_in_store>1</show_in_store>
|
376 |
+
<depends><sidebar>1</sidebar></depends>
|
377 |
+
</sidebar_snippets>
|
378 |
+
<small_heading translate="label">
|
379 |
+
<label>Small Block</label>
|
380 |
+
<frontend_model>feedbackcompany/adminhtml_widget_form_heading</frontend_model>
|
381 |
+
<sort_order>20</sort_order>
|
382 |
+
<show_in_default>1</show_in_default>
|
383 |
+
<show_in_website>1</show_in_website>
|
384 |
+
<show_in_store>1</show_in_store>
|
385 |
+
</small_heading>
|
386 |
+
<small_note translate="label">
|
387 |
+
<label><![CDATA[You can add this custom block by pasting the following code in your CMS page or Static Block.<br/>{{block type="feedbackcompany/custom" name="feedbackcompany" blocktype="small"}}]]></label>
|
388 |
+
<frontend_model>feedbackcompany/adminhtml_widget_form_note</frontend_model>
|
389 |
+
<sort_order>21</sort_order>
|
390 |
+
<show_in_default>1</show_in_default>
|
391 |
+
<show_in_website>1</show_in_website>
|
392 |
+
<show_in_store>1</show_in_store>
|
393 |
+
</small_note>
|
394 |
+
<small translate="label">
|
395 |
+
<label>Enabled</label>
|
396 |
+
<frontend_type>select</frontend_type>
|
397 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
398 |
+
<sort_order>22</sort_order>
|
399 |
+
<show_in_default>1</show_in_default>
|
400 |
+
<show_in_website>1</show_in_website>
|
401 |
+
<show_in_store>1</show_in_store>
|
402 |
+
</small>
|
403 |
+
<small_stars translate="label">
|
404 |
+
<label>Show stars</label>
|
405 |
+
<frontend_type>select</frontend_type>
|
406 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
407 |
+
<sort_order>23</sort_order>
|
408 |
+
<show_in_default>1</show_in_default>
|
409 |
+
<show_in_website>1</show_in_website>
|
410 |
+
<show_in_store>1</show_in_store>
|
411 |
+
<depends><small>1</small></depends>
|
412 |
+
</small_stars>
|
413 |
+
<small_link translate="label">
|
414 |
+
<label>Link to</label>
|
415 |
+
<frontend_type>select</frontend_type>
|
416 |
+
<source_model>feedbackcompany/system_config_source_sidebarlink</source_model>
|
417 |
+
<sort_order>24</sort_order>
|
418 |
+
<show_in_default>1</show_in_default>
|
419 |
+
<show_in_website>1</show_in_website>
|
420 |
+
<show_in_store>1</show_in_store>
|
421 |
+
<depends><small>1</small></depends>
|
422 |
+
</small_link>
|
423 |
+
<small_snippets translate="label">
|
424 |
+
<label>Add Rich Snippets</label>
|
425 |
+
<frontend_type>select</frontend_type>
|
426 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
427 |
+
<sort_order>25</sort_order>
|
428 |
+
<show_in_default>1</show_in_default>
|
429 |
+
<show_in_website>1</show_in_website>
|
430 |
+
<show_in_store>1</show_in_store>
|
431 |
+
<depends><small>1</small></depends>
|
432 |
+
</small_snippets>
|
433 |
+
<medium_heading translate="label">
|
434 |
+
<label>Medium Block</label>
|
435 |
+
<frontend_model>feedbackcompany/adminhtml_widget_form_heading</frontend_model>
|
436 |
+
<sort_order>30</sort_order>
|
437 |
+
<show_in_default>1</show_in_default>
|
438 |
+
<show_in_website>1</show_in_website>
|
439 |
+
<show_in_store>1</show_in_store>
|
440 |
+
</medium_heading>
|
441 |
+
<medium_note translate="label">
|
442 |
+
<label><![CDATA[You can add this custom block by pasting the following code in your CMS page or Static Block.<br/>{{block type="feedbackcompany/custom" name="feedbackcompany" blocktype="medium"}}]]></label>
|
443 |
+
<frontend_model>feedbackcompany/adminhtml_widget_form_note</frontend_model>
|
444 |
+
<sort_order>31</sort_order>
|
445 |
+
<show_in_default>1</show_in_default>
|
446 |
+
<show_in_website>1</show_in_website>
|
447 |
+
<show_in_store>1</show_in_store>
|
448 |
+
</medium_note>
|
449 |
+
<medium translate="label">
|
450 |
+
<label>Enabled</label>
|
451 |
+
<frontend_type>select</frontend_type>
|
452 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
453 |
+
<sort_order>32</sort_order>
|
454 |
+
<show_in_default>1</show_in_default>
|
455 |
+
<show_in_website>1</show_in_website>
|
456 |
+
<show_in_store>1</show_in_store>
|
457 |
+
</medium>
|
458 |
+
<medium_stars translate="label">
|
459 |
+
<label>Show stars</label>
|
460 |
+
<frontend_type>select</frontend_type>
|
461 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
462 |
+
<sort_order>33</sort_order>
|
463 |
+
<show_in_default>1</show_in_default>
|
464 |
+
<show_in_website>1</show_in_website>
|
465 |
+
<show_in_store>1</show_in_store>
|
466 |
+
<depends><medium>1</medium></depends>
|
467 |
+
</medium_stars>
|
468 |
+
<medium_link translate="label">
|
469 |
+
<label>Link to</label>
|
470 |
+
<frontend_type>select</frontend_type>
|
471 |
+
<source_model>feedbackcompany/system_config_source_sidebarlink</source_model>
|
472 |
+
<sort_order>34</sort_order>
|
473 |
+
<show_in_default>1</show_in_default>
|
474 |
+
<show_in_website>1</show_in_website>
|
475 |
+
<show_in_store>1</show_in_store>
|
476 |
+
<depends><medium>1</medium></depends>
|
477 |
+
</medium_link>
|
478 |
+
<medium_review translate="label">
|
479 |
+
<label>Add latest review</label>
|
480 |
+
<frontend_type>select</frontend_type>
|
481 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
482 |
+
<sort_order>35</sort_order>
|
483 |
+
<show_in_default>1</show_in_default>
|
484 |
+
<show_in_website>1</show_in_website>
|
485 |
+
<show_in_store>1</show_in_store>
|
486 |
+
<depends><medium>1</medium></depends>
|
487 |
+
</medium_review>
|
488 |
+
<medium_lenght translate="label">
|
489 |
+
<label>Length of Reviews</label>
|
490 |
+
<validate>validate-number</validate>
|
491 |
+
<frontend_type>text</frontend_type>
|
492 |
+
<sort_order>36</sort_order>
|
493 |
+
<show_in_default>1</show_in_default>
|
494 |
+
<show_in_website>1</show_in_website>
|
495 |
+
<show_in_store>1</show_in_store>
|
496 |
+
<depends><medium>1</medium></depends>
|
497 |
+
</medium_lenght>
|
498 |
+
<medium_snippets translate="label">
|
499 |
+
<label>Add Rich Snippets</label>
|
500 |
+
<frontend_type>select</frontend_type>
|
501 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
502 |
+
<sort_order>37</sort_order>
|
503 |
+
<show_in_default>1</show_in_default>
|
504 |
+
<show_in_website>1</show_in_website>
|
505 |
+
<show_in_store>1</show_in_store>
|
506 |
+
<depends><medium>1</medium></depends>
|
507 |
+
</medium_snippets>
|
508 |
+
</fields>
|
509 |
+
</block>
|
510 |
<overview translate="label">
|
511 |
<label>Feedbackcompany Overview Page</label>
|
512 |
<frontend_type>text</frontend_type>
|
776 |
</clean_days>
|
777 |
</fields>
|
778 |
</log>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
779 |
</groups>
|
780 |
</feedbackcompany>
|
781 |
</sections>
|
app/design/frontend/base/default/layout/magmodules_feedbackcompany.xml
CHANGED
@@ -2,8 +2,7 @@
|
|
2 |
<layout version="0.1.0">
|
3 |
<default>
|
4 |
<reference name="head">
|
5 |
-
<action method="addCss"><stylesheet>magmodules/feedbackcompany/sidebar.css</stylesheet></action>
|
6 |
-
<action method="addCss"><stylesheet>magmodules/feedbackcompany/richsnippets.css</stylesheet></action>
|
7 |
</reference>
|
8 |
<reference name="left">
|
9 |
<block type="feedbackcompany/sidebar" name="left.feedbackcompany" template="magmodules/feedbackcompany/sidebar/left.phtml" />
|
2 |
<layout version="0.1.0">
|
3 |
<default>
|
4 |
<reference name="head">
|
5 |
+
<action method="addCss" ifconfig="feedbackcompany/general/enabled"><stylesheet>magmodules/feedbackcompany/sidebar.css</stylesheet></action>
|
|
|
6 |
</reference>
|
7 |
<reference name="left">
|
8 |
<block type="feedbackcompany/sidebar" name="left.feedbackcompany" template="magmodules/feedbackcompany/sidebar/left.phtml" />
|
app/design/frontend/base/default/template/magmodules/feedbackcompany/index.phtml
CHANGED
@@ -24,7 +24,7 @@
|
|
24 |
<div class="feedbackcompany">
|
25 |
|
26 |
<div class="page-title">
|
27 |
-
<h1><?php echo $this->__('
|
28 |
<?php if(Mage::getStoreConfig('feedbackcompany/general/url')): ?>
|
29 |
<button class="button" onclick="setLocation('<?php echo Mage::getStoreConfig('feedbackcompany/general/url'); ?>')">
|
30 |
<span>
|
24 |
<div class="feedbackcompany">
|
25 |
|
26 |
<div class="page-title">
|
27 |
+
<h1><?php echo $this->__('The Feedback Company'); ?></h1>
|
28 |
<?php if(Mage::getStoreConfig('feedbackcompany/general/url')): ?>
|
29 |
<button class="button" onclick="setLocation('<?php echo Mage::getStoreConfig('feedbackcompany/general/url'); ?>')">
|
30 |
<span>
|
app/design/frontend/base/default/template/magmodules/feedbackcompany/sidebar/left.phtml
CHANGED
@@ -32,7 +32,7 @@
|
|
32 |
<div class="block-content" itemscope itemtype="http://schema.org/WebPage">
|
33 |
<div class="total-block-stars"><span style="width: <?php echo $total->getPercentage(); ?>%"></span></div>
|
34 |
<div class="total-block-text" itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
|
35 |
-
<p><strong><span itemprop="ratingValue"><?php echo $total->getStarsQty(); ?></span> / <span itemprop="bestRating">
|
36 |
<p class="based-on"><?php echo $this->__('Based on %s reviews', '<span itemprop="ratingCount">' . $total->getVotes() . '</span>'); ?></p>
|
37 |
</div>
|
38 |
</div>
|
@@ -40,7 +40,7 @@
|
|
40 |
<div class="block-content">
|
41 |
<div class="total-block-stars"><span style="width: <?php echo $total->getPercentage(); ?>%"></span></div>
|
42 |
<div class="total-block-text">
|
43 |
-
<p><strong><?php echo $total->getStarsQty(); ?> /
|
44 |
<p class="based-on"><?php echo $this->__('Based on %s reviews', '<span itemprop="ratingCount">' . $total->getVotes() . '</span>'); ?></p>
|
45 |
</div>
|
46 |
</div>
|
32 |
<div class="block-content" itemscope itemtype="http://schema.org/WebPage">
|
33 |
<div class="total-block-stars"><span style="width: <?php echo $total->getPercentage(); ?>%"></span></div>
|
34 |
<div class="total-block-text" itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
|
35 |
+
<p><strong><span itemprop="ratingValue"><?php echo $total->getStarsQty(); ?></span> / <span itemprop="bestRating">10</span></strong></p>
|
36 |
<p class="based-on"><?php echo $this->__('Based on %s reviews', '<span itemprop="ratingCount">' . $total->getVotes() . '</span>'); ?></p>
|
37 |
</div>
|
38 |
</div>
|
40 |
<div class="block-content">
|
41 |
<div class="total-block-stars"><span style="width: <?php echo $total->getPercentage(); ?>%"></span></div>
|
42 |
<div class="total-block-text">
|
43 |
+
<p><strong><?php echo $total->getStarsQty(); ?> / 10</strong></p>
|
44 |
<p class="based-on"><?php echo $this->__('Based on %s reviews', '<span itemprop="ratingCount">' . $total->getVotes() . '</span>'); ?></p>
|
45 |
</div>
|
46 |
</div>
|
app/design/frontend/base/default/template/magmodules/feedbackcompany/sidebar/right.phtml
CHANGED
@@ -32,7 +32,7 @@
|
|
32 |
<div class="block-content" itemscope itemtype="http://schema.org/WebPage">
|
33 |
<div class="total-block-stars"><span style="width: <?php echo $total->getPercentage(); ?>%"></span></div>
|
34 |
<div class="total-block-text" itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
|
35 |
-
<p><strong><span itemprop="ratingValue"><?php echo $total->getStarsQty(); ?></span> / <span itemprop="bestRating">
|
36 |
<p class="based-on"><?php echo $this->__('Based on %s reviews', '<span itemprop="ratingCount">' . $total->getVotes() . '</span>'); ?></p>
|
37 |
</div>
|
38 |
</div>
|
@@ -40,7 +40,7 @@
|
|
40 |
<div class="block-content">
|
41 |
<div class="total-block-stars"><span style="width: <?php echo $total->getPercentage(); ?>%"></span></div>
|
42 |
<div class="total-block-text">
|
43 |
-
<p><strong><?php echo $total->getStarsQty(); ?> /
|
44 |
<p class="based-on"><?php echo $this->__('Based on %s reviews', '<span itemprop="ratingCount">' . $total->getVotes() . '</span>'); ?></p>
|
45 |
</div>
|
46 |
</div>
|
32 |
<div class="block-content" itemscope itemtype="http://schema.org/WebPage">
|
33 |
<div class="total-block-stars"><span style="width: <?php echo $total->getPercentage(); ?>%"></span></div>
|
34 |
<div class="total-block-text" itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
|
35 |
+
<p><strong><span itemprop="ratingValue"><?php echo $total->getStarsQty(); ?></span> / <span itemprop="bestRating">10</span></strong></p>
|
36 |
<p class="based-on"><?php echo $this->__('Based on %s reviews', '<span itemprop="ratingCount">' . $total->getVotes() . '</span>'); ?></p>
|
37 |
</div>
|
38 |
</div>
|
40 |
<div class="block-content">
|
41 |
<div class="total-block-stars"><span style="width: <?php echo $total->getPercentage(); ?>%"></span></div>
|
42 |
<div class="total-block-text">
|
43 |
+
<p><strong><?php echo $total->getStarsQty(); ?> / 10</strong></p>
|
44 |
<p class="based-on"><?php echo $this->__('Based on %s reviews', '<span itemprop="ratingCount">' . $total->getVotes() . '</span>'); ?></p>
|
45 |
</div>
|
46 |
</div>
|
app/design/frontend/base/default/template/magmodules/feedbackcompany/widget/custom.phtml
DELETED
@@ -1,38 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Magmodules.eu - http://www.magmodules.eu
|
4 |
-
*
|
5 |
-
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
-
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
-
* that is bundled with this package in the file LICENSE.txt.
|
9 |
-
* It is also available through the world-wide-web at this URL:
|
10 |
-
* http://opensource.org/licenses/osl-3.0.php
|
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 info@magmodules.eu so we can send you a copy immediately.
|
14 |
-
*
|
15 |
-
* @category Magmodules
|
16 |
-
* @package Magmodules_Feedbackcompany
|
17 |
-
* @author Magmodules <info@magmodules.eu)
|
18 |
-
* @copyright Copyright (c) 2015 (http://www.magmodules.eu)
|
19 |
-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
20 |
-
*/
|
21 |
-
|
22 |
-
// Load data
|
23 |
-
$enabled = $this->getFeedbackcompanyEnabled();
|
24 |
-
$data = $this->getFeedbackcompanyData();
|
25 |
-
|
26 |
-
// All available data
|
27 |
-
$company = $data->getCompany();
|
28 |
-
$percentage = $data->getPercentage();
|
29 |
-
|
30 |
-
?>
|
31 |
-
<?php if($enabled) { ?>
|
32 |
-
<div class="feedbackcompany-custom">
|
33 |
-
<div class="client">Customers like <?php echo $company; ?>!</div>
|
34 |
-
<div class="rating-box">
|
35 |
-
<div class="rating" style="width:<?php echo $percentage; ?>%"> </div>
|
36 |
-
</div>
|
37 |
-
</div>
|
38 |
-
<?php } ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/design/frontend/base/default/template/magmodules/feedbackcompany/widget/medium.phtml
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magmodules.eu - http://www.magmodules.eu
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
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 info@magmodules.eu so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* @category Magmodules
|
16 |
+
* @package Magmodules_Feedbackcompany
|
17 |
+
* @author Magmodules <info@magmodules.eu)
|
18 |
+
* @copyright Copyright (c) 2015 (http://www.magmodules.eu)
|
19 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
20 |
+
*/
|
21 |
+
$total = $this->getTotals();
|
22 |
+
?>
|
23 |
+
<div class="feedbackcompany-medium-widget">
|
24 |
+
<div class="feedbackcompany-medium-widget-content">
|
25 |
+
<?php if($this->getSnippetsEnabled('medium')) { ?>
|
26 |
+
<div itemscope itemtype="http://schema.org/WebPage">
|
27 |
+
<a href="<?php echo $this->getReviewsUrl('medium'); ?>"><img src="<?php echo $this->getSkinUrl('magmodules/feedbackcompany/images/logo.png'); ?>" class="feedbackcompany-medium-image"></a>
|
28 |
+
<div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
|
29 |
+
<?php echo $this->getHtmlStars($total->getPercentage(), 'medium'); ?>
|
30 |
+
<p class="feedbackcompany-text"><?php echo $this->__('Reviews from customers: %s - <a href="%s">%s reviews</a>', '<strong><span itemprop="ratingValue">' . $total->getStarsQty() . '</span> / <span itemprop="bestRating">10</span></strong>', $this->getReviewsUrl('medium'), '<span itemprop="ratingCount">' . $total->getVotes() . '</span>'); ?></p>
|
31 |
+
<?php if($review = $this->getLatestReview()) { ?>
|
32 |
+
<?php echo $this->formatContent($review, 'medium'); ?>
|
33 |
+
<p class="client-details"><?php echo $review->getCustomerName() . ', ' . Mage::helper('core')->formatDate($review->getDateCreated(), 'medium', false); ?></p>
|
34 |
+
<?php } ?>
|
35 |
+
</div>
|
36 |
+
</div>
|
37 |
+
<?php } else { ?>
|
38 |
+
<a href="<?php echo $link; ?>"><img src="<?php echo $this->getSkinUrl('magmodules/feedbackcompany/images/logo.png'); ?>" class="feedbackcompany-medium-image"></a>
|
39 |
+
<?php echo $this->getHtmlStars($total->getPercentage(), 'medium'); ?>
|
40 |
+
<p class="feedbackcompany-text"><?php echo $this->__('Reviews from customers: %s - <a href="%s">%s reviews</a>', '<strong>' . $total->getStarsQty() . ' / 10</strong>', $this->getReviewsUrl('medium'), $total->getVotes()); ?></p>
|
41 |
+
<?php if($review = $this->getLatestReview()) { ?>
|
42 |
+
<?php echo $this->formatContent($review, 'medium'); ?>
|
43 |
+
<p class="client-details"><?php echo $review->getCustomerName() . ', ' . Mage::helper('core')->formatDate($review->getDateCreated(), 'medium', false); ?></p>
|
44 |
+
<?php } ?>
|
45 |
+
<?php } ?>
|
46 |
+
</div>
|
47 |
+
</div>
|
app/design/frontend/base/default/template/magmodules/feedbackcompany/widget/richsnippets.phtml
DELETED
@@ -1,40 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Magmodules.eu
|
4 |
-
* http://www.magmodules.eu
|
5 |
-
*
|
6 |
-
* NOTICE OF LICENSE
|
7 |
-
*
|
8 |
-
* This source file is subject to the Open Software License (OSL 3.0)
|
9 |
-
* that is bundled with this package in the file LICENSE.txt.
|
10 |
-
* It is also available through the world-wide-web at this URL:
|
11 |
-
* http://opensource.org/licenses/osl-3.0.php
|
12 |
-
* If you did not receive a copy of the license and are unable to
|
13 |
-
* obtain it through the world-wide-web, please send an email
|
14 |
-
* to info@magmodules.eu so we can send you a copy immediately.
|
15 |
-
*
|
16 |
-
* @category Magmodules
|
17 |
-
* @package Magmodules_Feedbackcompany
|
18 |
-
* @author Magmodules <info@magmodules.eu)
|
19 |
-
* @copyright Copyright (c) 2015 (http://www.magmodules.eu)
|
20 |
-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
21 |
-
*/
|
22 |
-
?>
|
23 |
-
<?php if(($this->getSnippetsEnabled()) && ($snippets = $this->getSnippets())) { ?>
|
24 |
-
<?php if(Mage::getBlockSingleton('page/html_header')->getIsHomePage()) { ?>
|
25 |
-
<div class="feedbackcompany-snippets">
|
26 |
-
<?php echo $this->getHtmlStars($snippets->getPercentage()); ?>
|
27 |
-
<div class="block-content" itemscope itemtype="http://schema.org/WebPage">
|
28 |
-
<div itemprop="aggregateRating" itemscope="itemscope" itemtype="http://schema.org/AggregateRating">
|
29 |
-
<meta itemprop="bestRating" content="100">
|
30 |
-
<p><?php echo Mage::helper('feedbackcompany')->__('Rating %s based on %s customer reviews', '<span itemprop="ratingValue">' . $snippets->getPercentage() . '</span>%', '<span itemprop="ratingCount">' . $snippets->getVotes() . '</span>') ?> <?php echo $this->getExternalLink(); ?> </p>
|
31 |
-
</div>
|
32 |
-
</div>
|
33 |
-
</div>
|
34 |
-
<?php } else { ?>
|
35 |
-
<div class="feedbackcompany-snippets">
|
36 |
-
<?php echo $this->getHtmlStars($snippets->getPercentage()); ?>
|
37 |
-
<p><?php echo Mage::helper('feedbackcompany')->__('Rating %s based on %s customer reviews', '<span>' . $snippets->getPercentage() . '</span>%', '<span>' . $snippets->getVotes() . '</span>') ?> <?php echo $this->getExternalLink(); ?> </p>
|
38 |
-
</div>
|
39 |
-
<?php } ?>
|
40 |
-
<?php } ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/design/frontend/base/default/template/magmodules/feedbackcompany/widget/sidebar.phtml
ADDED
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magmodules.eu - http://www.magmodules.eu
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
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 info@magmodules.eu so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* @category Magmodules
|
16 |
+
* @package Magmodules_Feedbackcompany
|
17 |
+
* @author Magmodules <info@magmodules.eu)
|
18 |
+
* @copyright Copyright (c) 2015 (http://www.magmodules.eu)
|
19 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
20 |
+
*/
|
21 |
+
$sidebarreviews = $this->getReviews();
|
22 |
+
$total = $this->getTotals();
|
23 |
+
?>
|
24 |
+
<div>
|
25 |
+
<div class="block feedbackcompany-sidebar">
|
26 |
+
<div class="block-title">
|
27 |
+
<strong><span><?php echo $this->__('Feedbackcompany') ?></span></strong>
|
28 |
+
</div>
|
29 |
+
<?php if($total->getPercentage() > 0): ?>
|
30 |
+
<?php if($this->getSnippetsEnabled('block')): ?>
|
31 |
+
<div class="block-content" itemscope itemtype="http://schema.org/WebPage">
|
32 |
+
<div class="total-block-stars"><span style="width: <?php echo $total->getPercentage(); ?>%"></span></div>
|
33 |
+
<div class="total-block-text" itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
|
34 |
+
<p><strong><span itemprop="ratingValue"><?php echo $total->getStarsQty(); ?></span> / <span itemprop="bestRating">10</span></strong></p>
|
35 |
+
<p class="based-on"><?php echo $this->__('Based on %s reviews', '<span itemprop="ratingCount">' . $total->getVotes() . '</span>'); ?></p>
|
36 |
+
</div>
|
37 |
+
</div>
|
38 |
+
<?php else: ?>
|
39 |
+
<div class="block-content">
|
40 |
+
<div class="total-block-stars"><span style="width: <?php echo $total->getPercentage(); ?>%"></span></div>
|
41 |
+
<div class="total-block-text">
|
42 |
+
<p><strong><?php echo $total->getStarsQty(); ?> / 10</strong></p>
|
43 |
+
<p class="based-on"><?php echo $this->__('Based on %s reviews', '<span>' . $total->getVotes() . '</span>'); ?></p>
|
44 |
+
</div>
|
45 |
+
</div>
|
46 |
+
<?php endif; ?>
|
47 |
+
<?php endif; ?>
|
48 |
+
<?php $i=0; foreach($sidebarreviews as $sidebarreview): ?>
|
49 |
+
<?php $content = $this->formatContent($sidebarreview, 'block'); ?>
|
50 |
+
<div class="block-content">
|
51 |
+
<div class="feedbackcompany-sidebar-block">
|
52 |
+
<p><u><?php echo $sidebarreview->getCustomerName(); ?></u>: "<?php echo $content; ?>"</p>
|
53 |
+
<span class="rating-name"><?php echo Mage::helper('core')->formatDate($sidebarreview->getDateCreated(), 'medium', false) ; ?></span>
|
54 |
+
<?php if($sidebarreview->getScore()): ?>
|
55 |
+
<span class="rating-empty"><span class="rating-star-<?php echo $sidebarreview->getScore();?>"></span></span>
|
56 |
+
<?php endif; ?>
|
57 |
+
</div>
|
58 |
+
</div>
|
59 |
+
<?php endforeach; ?>
|
60 |
+
<div class="block-content">
|
61 |
+
<a href="<?php echo $this->getReviewsUrl('sidebar'); ?>"><img src="<?php echo $this->getSkinUrl('magmodules/feedbackcompany/images/logo.png'); ?>" class="feedbackcompany-logo"></a>
|
62 |
+
</div>
|
63 |
+
</div>
|
64 |
+
</div>
|
app/design/frontend/base/default/template/magmodules/feedbackcompany/widget/small.phtml
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magmodules.eu
|
4 |
+
* http://www.magmodules.eu
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
9 |
+
* that is bundled with this package in the file LICENSE.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/osl-3.0.php
|
12 |
+
* If you did not receive a copy of the license and are unable to
|
13 |
+
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to info@magmodules.eu so we can send you a copy immediately.
|
15 |
+
*
|
16 |
+
* @category Magmodules
|
17 |
+
* @package Magmodules_Feedbackcompany
|
18 |
+
* @author Magmodules <info@magmodules.eu)
|
19 |
+
* @copyright Copyright (c) 2015 (http://www.magmodules.eu)
|
20 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
21 |
+
*/
|
22 |
+
$total = $this->getTotals();
|
23 |
+
?>
|
24 |
+
<div class="feedbackcompany-small-widget">
|
25 |
+
<?php if($this->getSnippetsEnabled('small')) { ?>
|
26 |
+
<div itemscope itemtype="http://schema.org/WebPage">
|
27 |
+
<div class="feedbackcompany-small-score">
|
28 |
+
<div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
|
29 |
+
<?php echo $this->getHtmlStars($total->getPercentage(), 'small'); ?>
|
30 |
+
<p class="feedbackcompany-small-text"><?php echo $this->__('Reviews from customers: %s - <a href="%s">%s reviews</a>', '<span itemprop="ratingValue">' . $total->getStarsQty() . '</span> / <span itemprop="bestRating">10</span>', $this->getReviewsUrl('medium'), '<span itemprop="ratingCount">' . $total->getVotes() . '</span>'); ?></p>
|
31 |
+
</div>
|
32 |
+
</div>
|
33 |
+
</div>
|
34 |
+
<?php } else { ?>
|
35 |
+
<?php echo $this->getHtmlStars($total->getPercentage(), 'small'); ?>
|
36 |
+
<p class="feedbackcompany-small-text"><?php echo $this->__('Reviews from customers: %s - <a href="%s">%s reviews</a>', $total->getStarsQty() . ' / 10', $this->getReviewsUrl('medium'), $total->getVotes()); ?></p>
|
37 |
+
<?php } ?>
|
38 |
+
</div>
|
app/locale/en_US/Magmodules_Feedbackcompany.csv
CHANGED
@@ -17,7 +17,7 @@
|
|
17 |
"Below minimum order value","Below minimum order value"
|
18 |
"Category is excluded","Category is excluded"
|
19 |
"Can do better:","Can do better:"
|
20 |
-
"Can be obtained from the Feedbackcompany Dashboard","Can be obtained from
|
21 |
"Checkout process:","Checkout process:"
|
22 |
"Clean after Days","Clean After Days"
|
23 |
"Cleanup Log","Cleanup Log"
|
@@ -131,6 +131,7 @@
|
|
131 |
"To display the latest reviews in your store, you must import the reviews. <br/> This can be done automatically or manually.<br/><br/>","To display the latest reviews in your store, you must import the reviews. <br/> This can be done automatically or manually.<br/><br/>"
|
132 |
"Twice a Day","Twice a Day"
|
133 |
"Type","Type"
|
|
|
134 |
"Update Review History","Update Review History"
|
135 |
"Update Reviews","Update Reviews",
|
136 |
"Update Summary","Update Summary"
|
@@ -146,6 +147,9 @@
|
|
146 |
"You can invite your customers to write customer reviews.","You can invite your customers to write customer reviews."
|
147 |
"You can import your customer reviews and display them in your store as new content.<br>Link: http://www.mywebshop.com/<strong>feedbackcompany</strong><br><br>","You can import your customer reviews and display them in your store as new content.<br>Link: http://www.mywebshop.com/<strong>feedbackcompany</strong><br><br>"
|
148 |
"You can find the necessary information in your The Feedback Company dashboard.<br/> As addition next to the activation of this extension we also recommend you to place the appropriate The Feedback Company logo.<br/><br/>","You can find the necessary information in your The Feedback Company dashboard.<br/> As addition next to the activation of this extension we also recommend you to place the appropriate The Feedback Company logo.<br/><br/>"
|
|
|
|
|
|
|
149 |
"and total score updated.","and total score updated."
|
150 |
"on","on"
|
151 |
"total score updated","total score updated"
|
17 |
"Below minimum order value","Below minimum order value"
|
18 |
"Category is excluded","Category is excluded"
|
19 |
"Can do better:","Can do better:"
|
20 |
+
"Can be obtained from the Feedbackcompany Dashboard","Can be obtained from The Feedbackcompany Dashboard"
|
21 |
"Checkout process:","Checkout process:"
|
22 |
"Clean after Days","Clean After Days"
|
23 |
"Cleanup Log","Cleanup Log"
|
131 |
"To display the latest reviews in your store, you must import the reviews. <br/> This can be done automatically or manually.<br/><br/>","To display the latest reviews in your store, you must import the reviews. <br/> This can be done automatically or manually.<br/><br/>"
|
132 |
"Twice a Day","Twice a Day"
|
133 |
"Type","Type"
|
134 |
+
"The Feedbackcompany Blocks","The Feedbackcompany Blocks"
|
135 |
"Update Review History","Update Review History"
|
136 |
"Update Reviews","Update Reviews",
|
137 |
"Update Summary","Update Summary"
|
147 |
"You can invite your customers to write customer reviews.","You can invite your customers to write customer reviews."
|
148 |
"You can import your customer reviews and display them in your store as new content.<br>Link: http://www.mywebshop.com/<strong>feedbackcompany</strong><br><br>","You can import your customer reviews and display them in your store as new content.<br>Link: http://www.mywebshop.com/<strong>feedbackcompany</strong><br><br>"
|
149 |
"You can find the necessary information in your The Feedback Company dashboard.<br/> As addition next to the activation of this extension we also recommend you to place the appropriate The Feedback Company logo.<br/><br/>","You can find the necessary information in your The Feedback Company dashboard.<br/> As addition next to the activation of this extension we also recommend you to place the appropriate The Feedback Company logo.<br/><br/>"
|
150 |
+
"You can add this custom block by pasting the following code in your CMS page or Static Block.<br/>{{block type=""feedbackcompany/custom"" name=""feedbackcompany"" blocktype=""small""}}","You can add this custom block by pasting the following code in your CMS page or Static Block.<br/>{{block type=""feedbackcompany/custom"" name=""feedbackcompany"" blocktype=""small""}}"
|
151 |
+
"You can add this custom block by pasting the following code in your CMS page or Static Block.<br/>{{block type=""feedbackcompany/custom"" name=""feedbackcompany"" blocktype=""sidebar""}}","You can add this custom block by pasting the following code in your CMS page or Static Block. <br/>{{block type=""feedbackcompany/custom"" name=""feedbackcompany"" blocktype="sidebar""}}"
|
152 |
+
"You can add this custom block by pasting the following code in your CMS page or Static Block.<br/>{{block type=""feedbackcompany/custom"" name=""feedbackcompany"" blocktype=""medium""}}","You can add this custom block by pasting the following code in your CMS page or Static Block.<br/>{{block type=""feedbackcompany/custom"" name=""feedbackcompany"" blocktype=""medium""}}"
|
153 |
"and total score updated.","and total score updated."
|
154 |
"on","on"
|
155 |
"total score updated","total score updated"
|
app/locale/nl_NL/Magmodules_Feedbackcompany.csv
CHANGED
@@ -54,7 +54,7 @@
|
|
54 |
"Internal (/feedbackcompany)","Intern (/feedbackcompany)"
|
55 |
"Invitation","Herinnering"
|
56 |
"Invitation Call","Herinnering e-mail"
|
57 |
-
"Invitation to write the customer experience","
|
58 |
"Invitation e-mail is sent only for order above this value. Use 0 for no minimum.","De herinnering wordt alleen verstuurd boven deze orderwaarde. Gebruik 0 om geen minimum in te stellen."
|
59 |
"Last Update","Laatste Update"
|
60 |
"Leadtime:","Doorlooptijd:"
|
@@ -84,7 +84,7 @@
|
|
84 |
"Process Manually","Voer handmatig uit"
|
85 |
"Product(s)","Product(en)"
|
86 |
"Purchase","Aankoop"
|
87 |
-
"Rating %s based on %s customer reviews","voor %s positief
|
88 |
"Regularly","Regelmaat"
|
89 |
"Remind Delay","Vertraging"
|
90 |
"Remove from Sidebar","Verwijder van sidebar"
|
@@ -130,6 +130,7 @@
|
|
130 |
"To display the latest reviews in your store, you must import the reviews. <br/> This can be done automatically or manually.<br/><br/>","Om de laatste beoordelingen te tonen in de webwinkel dient u deze eerst te importeren.<br/>Dit kan volledig automatisch of handmatig.<br/><br/>"
|
131 |
"Twice a Day","Tweemaal per dag"
|
132 |
"Type","Type"
|
|
|
133 |
"Update Review History","Update Beoordeling historie"
|
134 |
"Update Reviews","Update beoordelingen",
|
135 |
"Update Summary","Update samenvatting"
|
@@ -144,6 +145,9 @@
|
|
144 |
"You can invite your customers to write customer reviews.","Het is mogelijk om automatisch een herinnering te sturen naar uw klanten voor het schrijven van een beoordeling.<br><br>"
|
145 |
"You can import your customer reviews and display them in your store as new content.<br>Link: http://www.mywebshop.com/<strong>feedbackcompany</strong><br><br>","Door beoordelingen te importeren is het mogelijk om deze weer te geven binnen de webwinkel.<br>Link: http://www.winkeldomeinnaam.nl/<strong>feedbackcompany</strong><br><br>"
|
146 |
"You can find the necessary information in your The Feedback Company dashboard.<br/> As addition next to the activation of this extension we also recommend you to place the appropriate The Feedback Company logo.<br/><br/>","U kunt de benodigde informatie vinden in uw The Feedback Company account.<br/>Naast het activeren van deze extensie wordt u aangeraden het The Feedback Company logo op uw webwinkel te tonen.<br/><br/>"
|
|
|
|
|
|
|
147 |
"Yes","Ja"
|
148 |
"and total score updated.","totaal score geüpdate."
|
149 |
"on","aan"
|
54 |
"Internal (/feedbackcompany)","Intern (/feedbackcompany)"
|
55 |
"Invitation","Herinnering"
|
56 |
"Invitation Call","Herinnering e-mail"
|
57 |
+
"Invitation to write the customer experience","Instellingen voor het verzenden van feedbackuitnodigingen"
|
58 |
"Invitation e-mail is sent only for order above this value. Use 0 for no minimum.","De herinnering wordt alleen verstuurd boven deze orderwaarde. Gebruik 0 om geen minimum in te stellen."
|
59 |
"Last Update","Laatste Update"
|
60 |
"Leadtime:","Doorlooptijd:"
|
84 |
"Process Manually","Voer handmatig uit"
|
85 |
"Product(s)","Product(en)"
|
86 |
"Purchase","Aankoop"
|
87 |
+
"Rating %s based on %s customer reviews","voor %s positief beoordeeld door %s klanten"
|
88 |
"Regularly","Regelmaat"
|
89 |
"Remind Delay","Vertraging"
|
90 |
"Remove from Sidebar","Verwijder van sidebar"
|
130 |
"To display the latest reviews in your store, you must import the reviews. <br/> This can be done automatically or manually.<br/><br/>","Om de laatste beoordelingen te tonen in de webwinkel dient u deze eerst te importeren.<br/>Dit kan volledig automatisch of handmatig.<br/><br/>"
|
131 |
"Twice a Day","Tweemaal per dag"
|
132 |
"Type","Type"
|
133 |
+
"The Feedbackcompany Blocks","The Feedbackcompany Blokken"
|
134 |
"Update Review History","Update Beoordeling historie"
|
135 |
"Update Reviews","Update beoordelingen",
|
136 |
"Update Summary","Update samenvatting"
|
145 |
"You can invite your customers to write customer reviews.","Het is mogelijk om automatisch een herinnering te sturen naar uw klanten voor het schrijven van een beoordeling.<br><br>"
|
146 |
"You can import your customer reviews and display them in your store as new content.<br>Link: http://www.mywebshop.com/<strong>feedbackcompany</strong><br><br>","Door beoordelingen te importeren is het mogelijk om deze weer te geven binnen de webwinkel.<br>Link: http://www.winkeldomeinnaam.nl/<strong>feedbackcompany</strong><br><br>"
|
147 |
"You can find the necessary information in your The Feedback Company dashboard.<br/> As addition next to the activation of this extension we also recommend you to place the appropriate The Feedback Company logo.<br/><br/>","U kunt de benodigde informatie vinden in uw The Feedback Company account.<br/>Naast het activeren van deze extensie wordt u aangeraden het The Feedback Company logo op uw webwinkel te tonen.<br/><br/>"
|
148 |
+
"You can add this custom block by pasting the following code in your CMS page or Static Block.<br/>{{block type=""feedbackcompany/custom"" name=""feedbackcompany"" blocktype=""small""}}","Het is mogelijk om dit blok te plaatsen in een pagina of statisch blok door de volgende code toe te voegen:<br/>{{block type=""feedbackcompany/custom"" name=""feedbackcompany"" blocktype=""small""}}"
|
149 |
+
"You can add this custom block by pasting the following code in your CMS page or Static Block.<br/>{{block type=""feedbackcompany/custom"" name=""feedbackcompany"" blocktype=""sidebar""}}","Het is mogelijk om dit blok te plaatsen in een pagina of statisch blok door de volgende code toe te voegen:<br/>{{block type=""feedbackcompany/custom"" name=""feedbackcompany"" blocktype=""sidebar""}}"
|
150 |
+
"You can add this custom block by pasting the following code in your CMS page or Static Block.<br/>{{block type=""feedbackcompany/custom"" name=""feedbackcompany"" blocktype=""medium""}}","Het is mogelijk om dit blok te plaatsen in een pagina of statisch blok door de volgende code toe te voegen:<br/>{{block type=""feedbackcompany/custom"" name=""feedbackcompany"" blocktype=""medium""}}"
|
151 |
"Yes","Ja"
|
152 |
"and total score updated.","totaal score geüpdate."
|
153 |
"on","aan"
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Magmodules_Feedbackcompany</name>
|
4 |
-
<version>1.
|
5 |
<stability>stable</stability>
|
6 |
<license/>
|
7 |
<channel>community</channel>
|
@@ -10,9 +10,9 @@
|
|
10 |
<description>Connect your Magento shop to The Feedback Company</description>
|
11 |
<notes>First stable release</notes>
|
12 |
<authors><author><name>Magmodules</name><user>auto-converted</user><email>info@magmodules.nl</email></author></authors>
|
13 |
-
<date>2015-
|
14 |
-
<time>14:
|
15 |
-
<contents><target name="magelocal"><dir name="Magmodules"><dir name="Feedbackcompany"><dir name="Block"><dir name="Adminhtml"><dir name="Feedbacklog"><file name="Grid.php" hash="1898d4df8746111e1a5404869226b26a"/></dir><dir name="Feedbackreviews"><dir name="Renderer"><file name="Experience.php" hash="b5fd639eea45b31779747da049b66a80"/></dir><file name="Grid.php" hash="e56fee3f655371a066e9f56ce5ae914d"/></dir><dir name="Widget"><dir name="Buttons"><file name="Process.php" hash="4d2bce798a5b9c2b5d62bfe35c27d720"/><file name="Test.php" hash="040ecb43856a68dca4699a63c1e9c9f8"/></dir><dir name="Form"><file name="Heading.php" hash="8f820fe2ad56e3c4be54f7f84bc47eca"/></dir><dir name="Grid"><file name="Log.php" hash="ceff6fe31ea786257d1fd1c5c7a4ef82"/><file name="Seconds.php" hash="a7e6db7624fee7717cba3048f3f5638b"/><file name="Stars.php" hash="8041613a13a202b0df1d376dc38c5e76"/></dir><dir name="Info"><file name="Info.php" hash="fe80bd3c99f8cd6c814ab2ae8ad4cffe"/></dir></dir><file name="Feedbacklog.php" hash="eb36920b105077ca572137ccb4a9345c"/><file name="Feedbackreviews.php" hash="d1cf617989422aa0533d354dfde0fdf1"/></dir><file name="Custom.php" hash="
|
16 |
<compatible/>
|
17 |
<dependencies/>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Magmodules_Feedbackcompany</name>
|
4 |
+
<version>1.2.0</version>
|
5 |
<stability>stable</stability>
|
6 |
<license/>
|
7 |
<channel>community</channel>
|
10 |
<description>Connect your Magento shop to The Feedback Company</description>
|
11 |
<notes>First stable release</notes>
|
12 |
<authors><author><name>Magmodules</name><user>auto-converted</user><email>info@magmodules.nl</email></author></authors>
|
13 |
+
<date>2015-04-09</date>
|
14 |
+
<time>14:31:45</time>
|
15 |
+
<contents><target name="magelocal"><dir name="Magmodules"><dir name="Feedbackcompany"><dir name="Block"><dir name="Adminhtml"><dir name="Feedbacklog"><file name="Grid.php" hash="1898d4df8746111e1a5404869226b26a"/></dir><dir name="Feedbackreviews"><dir name="Renderer"><file name="Experience.php" hash="b5fd639eea45b31779747da049b66a80"/></dir><file name="Grid.php" hash="e56fee3f655371a066e9f56ce5ae914d"/></dir><dir name="Widget"><dir name="Buttons"><file name="Process.php" hash="4d2bce798a5b9c2b5d62bfe35c27d720"/><file name="Test.php" hash="040ecb43856a68dca4699a63c1e9c9f8"/></dir><dir name="Form"><file name="Heading.php" hash="8f820fe2ad56e3c4be54f7f84bc47eca"/><file name="Note.php" hash="974eaf447da64ec78001cd91f3cc3827"/></dir><dir name="Grid"><file name="Log.php" hash="ceff6fe31ea786257d1fd1c5c7a4ef82"/><file name="Seconds.php" hash="a7e6db7624fee7717cba3048f3f5638b"/><file name="Stars.php" hash="8041613a13a202b0df1d376dc38c5e76"/></dir><dir name="Info"><file name="Info.php" hash="fe80bd3c99f8cd6c814ab2ae8ad4cffe"/></dir></dir><file name="Feedbacklog.php" hash="eb36920b105077ca572137ccb4a9345c"/><file name="Feedbackreviews.php" hash="d1cf617989422aa0533d354dfde0fdf1"/></dir><file name="Custom.php" hash="81c71fd897e67911da525be8e9e8d4a1"/><file name="Reviews.php" hash="9393b1ffb4f9514cad46a51db24e6ab4"/><file name="Sidebar.php" hash="bddc59a3ee516a8b529b5053aff57c16"/></dir><dir name="Helper"><file name="Data.php" hash="972515e4b733d3536b1ab0e81c45c754"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Log"><file name="Collection.php" hash="1c6f30ede26cadb9fd4c51f916cbfeb2"/></dir><dir name="Reviews"><file name="Collection.php" hash="17f3acddd0e184f923d137433aaa40ee"/></dir><dir name="Stats"><file name="Collection.php" hash="184fe402b66949e0d4fdb95fc6b4189d"/></dir><file name="Log.php" hash="542d942a56d159d5c1af65ed5c6de857"/><file name="Reviews.php" hash="5518780ad915f644ed9cc319def2da8c"/><file name="Stats.php" hash="268aed9ed09e83611b12c7bbbfca5076"/></dir><dir name="System"><dir name="Config"><dir name="Source"><file name="Attribute.php" hash="de511d86d47ae252e3097c335302c294"/><file name="Category.php" hash="43e5e5d69b764e9c93f9089e0ec64d26"/><file name="Cronfrequency.php" hash="0f0170d96c8807a440ab41fa6ccc1e13"/><file name="Orderstatus.php" hash="64429a1804e1bc5ec2f0ea89e7627fc8"/><file name="Position.php" hash="3c11a9fba6006528bb904036ca87f619"/><file name="Reviewlink.php" hash="87122c1414c49a24222288fe3e96216c"/><file name="Sidebarlink.php" hash="9e1a817b4253645b5632306ffd89dd03"/></dir></dir></dir><file name="Api.php" hash="4f22b8b40b9a1c0806f0699124a86d82"/><file name="Log.php" hash="e64de82f87f3830914240e24ccbfb402"/><file name="Observer.php" hash="19872684b325c4106a2da876e3a975e5"/><file name="Reviews.php" hash="d144787d65c37508296f731107841c84"/><file name="Stats.php" hash="48c0743e991800c4d8e04d417cc3a157"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="FeedbacklogController.php" hash="c1ac62ed05266768095a8c8603822c5f"/><file name="FeedbackreviewsController.php" hash="d557715248b5d3947b3ff1e01aff43bf"/></dir><file name="IndexController.php" hash="da1707d69452f5430305c20c083cba78"/></dir><dir name="etc"><file name="adminhtml.xml" hash="8d51e2aa74e51f8de79650776cff510e"/><file name="config.xml" hash="7451d87d0a8c89e341263e820ffeaedd"/><file name="system.xml" hash="204f5f0ca6eb32c69c924aabd3916995"/></dir><dir name="sql"><dir name="feedbackcompany_setup"><file name="mysql4-install-0.9.0.php" hash="c86ec8f3c3a12cda7dd750cbd21dfca7"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="magmodules_feedbackcompany.xml" hash="e602f5a1e7028f893a598e4b171e26b8"/></dir><dir name="template"><dir name="magmodules"><dir name="feedbackcompany"><dir name="sidebar"><file name="left.phtml" hash="ce6032051f6297d0d7754e209a2fe1fd"/><file name="right.phtml" hash="0033188b9d06524aa61dfd703a3b0f0a"/></dir><dir name="widget"><file name="medium.phtml" hash="edf9e443fc45beb84f78f2fb367ef9c3"/><file name="sidebar.phtml" hash="341178a631321f06658e59c591de54a6"/><file name="small.phtml" hash="c59e8ba15849b45bbbe3d63bc3badbd8"/></dir><file name="index.phtml" hash="5ece09fd9fb623aaf45773235f6632fc"/></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="magmodules_feedbackcompany.xml" hash="886af6aabcc892da5074c93ad0263006"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Magmodules_Feedbackcompany.xml" hash="89e30c33efd62d035f0d231968b471a5"/></dir></target><target name="magelocale"><dir name="en_US"><file name="Magmodules_Feedbackcompany.csv" hash="542187af746b3bfcfbea8261cac8adea"/></dir><dir name="nl_NL"><file name="Magmodules_Feedbackcompany.csv" hash="def51a37c09873793c7d01bdec7d07c3"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="magmodules"><dir name="feedbackcompany"><dir name="images"><file name="5-stars-empty.png" hash="799c499ca785331e7e69d892df52dd48"/><file name="5-stars-full.png" hash="1d06151a2c4da6bb71381538c8a903a5"/><file name="bkg_rating.gif" hash="83c843697e71cbe94ddd75bdedcbcf95"/><file name="bkg_rating2x.gif" hash="f71a52080752ca47b4c19810afd72e54"/><file name="greystar.png" hash="ab99888c7a8f47826ad7a83bcabf9130"/><file name="logo.png" hash="6c8d46ba30a7ae87dcb75db12830b33f"/><file name="small_fill.png" hash="2fa2ce516dddb74497ada0ae8be94380"/><file name="small_grey.png" hash="685735e666b7938f19ffe3b420152572"/><file name="star.png" hash="647c77f0ef881fb2a90a4f53f70d75fa"/></dir><file name="richsnippets.css" hash="d41d8cd98f00b204e9800998ecf8427e"/><file name="sidebar.css" hash="9dea068e7dc312d397403fa2e6a4ebb1"/><file name="style.css" hash="4e2db1d0aa075b49d1bf64774980cc48"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="magmodules"><dir name="feedbackcompany"><file name="grid.css" hash="ea7e85df839bf0eb7bc6882608da80b0"/><file name="star.png" hash="4beacfb62ebdd5feecd946494e895f4c"/></dir></dir></dir></dir></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies/>
|
18 |
</package>
|
skin/frontend/base/default/magmodules/feedbackcompany/images/bkg_rating.gif
ADDED
Binary file
|
skin/frontend/base/default/magmodules/feedbackcompany/images/bkg_rating2x.gif
ADDED
Binary file
|
skin/frontend/base/default/magmodules/feedbackcompany/images/small_fill.png
ADDED
Binary file
|
skin/frontend/base/default/magmodules/feedbackcompany/images/small_grey.png
ADDED
Binary file
|
skin/frontend/base/default/magmodules/feedbackcompany/richsnippets.css
CHANGED
@@ -1,41 +0,0 @@
|
|
1 |
-
/**
|
2 |
-
* Magmodules.eu
|
3 |
-
* http://www.magmodules.eu
|
4 |
-
*
|
5 |
-
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
-
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
-
* that is bundled with this package in the file LICENSE.txt.
|
9 |
-
* It is also available through the world-wide-web at this URL:
|
10 |
-
* http://opensource.org/licenses/osl-3.0.php
|
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 info@magmodules.eu so we can send you a copy immediately.
|
14 |
-
*
|
15 |
-
* @category Magmodules
|
16 |
-
* @package Magmodules_Feedbackcompany
|
17 |
-
* @author Magmodules <info@magmodules.eu)
|
18 |
-
* @copyright Copyright (c) 2014 (http://www.magmodules.eu)
|
19 |
-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
20 |
-
*/
|
21 |
-
|
22 |
-
.feedbackcompany-snippets .rating-box {
|
23 |
-
float: left;
|
24 |
-
margin-right: 4px;
|
25 |
-
margin-top: 0px;
|
26 |
-
width:69px;
|
27 |
-
height:13px;
|
28 |
-
font-size:0;
|
29 |
-
line-height:0;
|
30 |
-
background:url('images/bkg_rating.gif') 0 0 repeat-x;
|
31 |
-
text-indent:-999em;
|
32 |
-
overflow:hidden;
|
33 |
-
}
|
34 |
-
|
35 |
-
.feedbackcompany-snippets-snippets .rating {
|
36 |
-
float:left;
|
37 |
-
height:13px;
|
38 |
-
background:url('images/bkg_rating.gif') 0 100% repeat-x;
|
39 |
-
}
|
40 |
-
|
41 |
-
/** FOR DEFAULT USE OF RATING STARTS, REMOVE BOTH CLASSES FROM CSS **/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
skin/frontend/base/default/magmodules/feedbackcompany/sidebar.css
CHANGED
@@ -18,32 +18,180 @@
|
|
18 |
* @copyright Copyright (c) 2014 (http://www.magmodules.eu)
|
19 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
20 |
*/
|
21 |
-
|
22 |
.feedbackcompany-sidebar-block {
|
23 |
-
padding:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
}
|
25 |
|
26 |
-
.feedbackcompany-sidebar-block .rating-
|
27 |
-
|
28 |
-
|
|
|
|
|
|
|
|
|
29 |
}
|
30 |
|
31 |
-
|
32 |
-
|
33 |
-
|
|
|
|
|
|
|
|
|
34 |
}
|
35 |
|
36 |
-
.feedbackcompany-sidebar-block .rating-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
|
|
|
|
42 |
|
43 |
/** big review stars **/
|
44 |
-
.block-content p.company-name {
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
* @copyright Copyright (c) 2014 (http://www.magmodules.eu)
|
19 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
20 |
*/
|
|
|
21 |
.feedbackcompany-sidebar-block {
|
22 |
+
padding:10px
|
23 |
+
}
|
24 |
+
|
25 |
+
.feedbackcompany-sidebar-block .rating-name {
|
26 |
+
font-style:italic;
|
27 |
+
vertical-align:middle
|
28 |
+
}
|
29 |
+
|
30 |
+
img.feedbackcompany-logo {
|
31 |
+
display:block;
|
32 |
+
margin:0 auto
|
33 |
+
}
|
34 |
+
|
35 |
+
.feedbackcompany-sidebar-block .rating-empty {
|
36 |
+
float:right;
|
37 |
+
display:block;
|
38 |
+
width:80px;
|
39 |
+
height:16px;
|
40 |
+
background:url(./images/star.png) 0 -16px;
|
41 |
+
margin-right:5px
|
42 |
+
}
|
43 |
+
|
44 |
+
.feedbackcompany-sidebar-block .rating-star-1 {
|
45 |
+
float:left;
|
46 |
+
display:block;
|
47 |
+
width:16px;
|
48 |
+
height:16px;
|
49 |
+
background:url(./images/star.png) 0 0;
|
50 |
+
margin-right:5px
|
51 |
+
}
|
52 |
+
|
53 |
+
.feedbackcompany-sidebar-block .rating-star-2 {
|
54 |
+
float:left;
|
55 |
+
display:block;
|
56 |
+
width:32px;
|
57 |
+
height:16px;
|
58 |
+
background:url(./images/star.png) 0 0;
|
59 |
+
margin-right:5px
|
60 |
}
|
61 |
|
62 |
+
.feedbackcompany-sidebar-block .rating-star-3 {
|
63 |
+
float:left;
|
64 |
+
display:block;
|
65 |
+
width:48px;
|
66 |
+
height:16px;
|
67 |
+
background:url(./images/star.png) 0 0;
|
68 |
+
margin-right:5px
|
69 |
}
|
70 |
|
71 |
+
.feedbackcompany-sidebar-block .rating-star-4 {
|
72 |
+
float:left;
|
73 |
+
display:block;
|
74 |
+
width:64px;
|
75 |
+
height:16px;
|
76 |
+
background:url(./images/star.png) 0 0;
|
77 |
+
margin-right:5px
|
78 |
}
|
79 |
|
80 |
+
.feedbackcompany-sidebar-block .rating-star-5 {
|
81 |
+
float:left;
|
82 |
+
display:block;
|
83 |
+
width:80px;
|
84 |
+
height:16px;
|
85 |
+
background:url(./images/star.png) 0 0;
|
86 |
+
margin-right:5px
|
87 |
+
}
|
88 |
|
89 |
/** big review stars **/
|
90 |
+
.block-content p.company-name {
|
91 |
+
text-align:center;
|
92 |
+
margin:5px auto;
|
93 |
+
font-size:12px
|
94 |
+
}
|
95 |
+
|
96 |
+
.total-block-text {
|
97 |
+
border-bottom:1px solid #ccc;
|
98 |
+
padding-bottom:5px
|
99 |
+
}
|
100 |
+
|
101 |
+
.total-block-text p {
|
102 |
+
text-align:center;
|
103 |
+
padding-top:5px;
|
104 |
+
margin-bottom:2px;
|
105 |
+
font-size:18px
|
106 |
+
}
|
107 |
+
|
108 |
+
.total-block-text p.based-on {
|
109 |
+
text-align:center;
|
110 |
+
padding-top:0;
|
111 |
+
font-size:11px;
|
112 |
+
font-style:italic
|
113 |
+
}
|
114 |
+
|
115 |
+
.total-block-stars {
|
116 |
+
height:35px;
|
117 |
+
width:188px;
|
118 |
+
background:url(./images/5-stars-empty.png) no-repeat;
|
119 |
+
margin:5px auto
|
120 |
+
}
|
121 |
+
|
122 |
+
.total-block-stars span {
|
123 |
+
display:block;
|
124 |
+
height:50px;
|
125 |
+
background:url(./images/5-stars-full.png) no-repeat
|
126 |
+
}
|
127 |
+
|
128 |
+
.feedbackcompany-snippets .rating-box {
|
129 |
+
float:left;
|
130 |
+
margin-right:4px;
|
131 |
+
margin-top:0;
|
132 |
+
width:69px;
|
133 |
+
height:13px;
|
134 |
+
font-size:0;
|
135 |
+
line-height:0;
|
136 |
+
background:url(images/bkg_rating.gif) 0 0 repeat-x;
|
137 |
+
text-indent:-999em;
|
138 |
+
overflow:hidden
|
139 |
+
}
|
140 |
+
|
141 |
+
.feedbackcompany-snippets-snippets .rating {
|
142 |
+
float:left;
|
143 |
+
height:13px;
|
144 |
+
background:url(images/bkg_rating.gif) 0 100% repeat-x
|
145 |
+
}
|
146 |
+
|
147 |
+
.feedbackcompany-small-widget {
|
148 |
+
height:20px
|
149 |
+
}
|
150 |
+
|
151 |
+
.feedbackcompany-small-score {
|
152 |
+
float:left;
|
153 |
+
margin-right:10px
|
154 |
+
}
|
155 |
+
|
156 |
+
.feedbackcompany-small-text {
|
157 |
+
}
|
158 |
+
|
159 |
+
/* MEDIUM WIDGET */
|
160 |
+
.feedbackcompany-medium-widget {
|
161 |
+
background-color:#fff;
|
162 |
+
border-radius:5px;
|
163 |
+
border:1px solid #ECECEC;
|
164 |
+
width:100%;
|
165 |
+
height:100%
|
166 |
+
}
|
167 |
+
|
168 |
+
.feedbackcompany-medium-widget-content {
|
169 |
+
padding:5%
|
170 |
+
}
|
171 |
+
|
172 |
+
.feedbackcompany-medium-image {
|
173 |
+
float:right
|
174 |
+
}
|
175 |
+
|
176 |
+
.rating-box {
|
177 |
+
width:75px;
|
178 |
+
height:15px;
|
179 |
+
font-size:0;
|
180 |
+
line-height:0;
|
181 |
+
background:url(images/bkg_rating.gif) 0 0 repeat-x;
|
182 |
+
background-size:15px;
|
183 |
+
text-indent:-999em;
|
184 |
+
overflow:hidden
|
185 |
+
}
|
186 |
+
|
187 |
+
.rating-box .rating {
|
188 |
+
float:left;
|
189 |
+
height:15px;
|
190 |
+
background:url(images/bkg_rating.gif) 0 100% repeat-x;
|
191 |
+
background-size:15px
|
192 |
+
}
|
193 |
+
|
194 |
+
.ratings .rating-box {
|
195 |
+
float:left;
|
196 |
+
margin:2px 3px 0 0
|
197 |
+
}
|
skin/frontend/base/default/magmodules/feedbackcompany/style.css
CHANGED
@@ -120,4 +120,4 @@
|
|
120 |
.review-list .rating-greystar-2 { float: left; display: block; width: 32px; height: 16px; background: url('./images/greystar.png') 0 0; margin-right: 5px; }
|
121 |
.review-list .rating-greystar-3 { float: left; display: block; width: 48px; height: 16px; background: url('./images/greystar.png') 0 0; margin-right: 5px; }
|
122 |
.review-list .rating-greystar-4 { float: left; display: block; width: 64px; height: 16px; background: url('./images/greystar.png') 0 0; margin-right: 5px; }
|
123 |
-
.review-list .rating-greystar-5 { float: left; display: block; width: 80px; height: 16px; background: url('./images/greystar.png') 0 0; margin-right: 5px; }
|
120 |
.review-list .rating-greystar-2 { float: left; display: block; width: 32px; height: 16px; background: url('./images/greystar.png') 0 0; margin-right: 5px; }
|
121 |
.review-list .rating-greystar-3 { float: left; display: block; width: 48px; height: 16px; background: url('./images/greystar.png') 0 0; margin-right: 5px; }
|
122 |
.review-list .rating-greystar-4 { float: left; display: block; width: 64px; height: 16px; background: url('./images/greystar.png') 0 0; margin-right: 5px; }
|
123 |
+
.review-list .rating-greystar-5 { float: left; display: block; width: 80px; height: 16px; background: url('./images/greystar.png') 0 0; margin-right: 5px; }
|