Version Notes
First stable release
Download this release
Release Info
Developer | Magento Core Team |
Extension | Magmodules_Feedbackcompany |
Version | 1.4.1 |
Comparing to | |
See all releases |
Code changes from version 1.4.0 to 1.4.1
- app/code/community/Magmodules/Feedbackcompany/Model/Api.php +14 -8
- app/code/community/Magmodules/Feedbackcompany/Model/Observer.php +12 -0
- app/code/community/Magmodules/Feedbackcompany/Model/Productreviews.php +27 -24
- app/code/community/Magmodules/Feedbackcompany/Model/System/Config/Source/Cronfrequency.php +4 -2
- app/code/community/Magmodules/Feedbackcompany/Model/System/Config/Source/Cronfrequencylong.php +34 -0
- app/code/community/Magmodules/Feedbackcompany/etc/config.xml +13 -3
- app/code/community/Magmodules/Feedbackcompany/etc/system.xml +2 -2
- app/locale/nl_NL/Magmodules_Feedbackcompany.csv +1 -0
- package.xml +4 -4
- skin/frontend/base/default/magmodules/feedbackcompany/sidebar.css +30 -18
- skin/frontend/base/default/magmodules/feedbackcompany/style.css +11 -35
app/code/community/Magmodules/Feedbackcompany/Model/Api.php
CHANGED
@@ -139,23 +139,29 @@ class Magmodules_Feedbackcompany_Model_Api extends Mage_Core_Model_Abstract {
|
|
139 |
|
140 |
// Get all Products
|
141 |
$filtercode = array(); $i = 1;
|
142 |
-
$
|
|
|
143 |
|
144 |
foreach($order->getAllVisibleItems() as $item) {
|
145 |
-
$filtercode[] = urlencode($item->getSku());
|
146 |
-
$filtercode[] = urlencode($item->getName());
|
147 |
if($productreviews) {
|
148 |
$product = Mage::getModel('catalog/product')->setStoreId($store_id)->load($item->getProductId());
|
149 |
if(($product->getStatus() == '1') && ($product->getVisibility() != '1')) {
|
150 |
$var_url = urlencode('product_url[' .$i. ']');
|
151 |
$var_text = urlencode('product_text[' .$i. ']');
|
152 |
$var_id = urlencode('product_ids[' .$i. ']');
|
|
|
153 |
if($product->getUrlPath()) {
|
154 |
-
$deeplink = $
|
|
|
|
|
|
|
|
|
155 |
$request[$var_url] = urlencode($deeplink);
|
156 |
-
$
|
157 |
-
$request[$
|
158 |
-
$request[$
|
159 |
$i++;
|
160 |
}
|
161 |
}
|
@@ -222,7 +228,7 @@ class Magmodules_Feedbackcompany_Model_Api extends Mage_Core_Model_Abstract {
|
|
222 |
$post .= '&' . $key . '=' . trim($value);
|
223 |
}
|
224 |
$post = trim($post, '&');
|
225 |
-
|
226 |
// Connect to API
|
227 |
$url = 'https://connect.feedbackcompany.nl/feedback/';
|
228 |
$feedbackconnect = curl_init($url . '?' . $post);
|
139 |
|
140 |
// Get all Products
|
141 |
$filtercode = array(); $i = 1;
|
142 |
+
$website_url = Mage::app()->getStore($store_id)->getBaseUrl(Mage_Core_Model_Store::URL_TYPE_LINK);
|
143 |
+
$media_url = Mage::app()->getStore($store_id)->getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA) . 'catalog' . DS . 'product';
|
144 |
|
145 |
foreach($order->getAllVisibleItems() as $item) {
|
146 |
+
$filtercode[] = urlencode(trim($item->getSku()));
|
147 |
+
$filtercode[] = urlencode(trim($item->getName()));
|
148 |
if($productreviews) {
|
149 |
$product = Mage::getModel('catalog/product')->setStoreId($store_id)->load($item->getProductId());
|
150 |
if(($product->getStatus() == '1') && ($product->getVisibility() != '1')) {
|
151 |
$var_url = urlencode('product_url[' .$i. ']');
|
152 |
$var_text = urlencode('product_text[' .$i. ']');
|
153 |
$var_id = urlencode('product_ids[' .$i. ']');
|
154 |
+
$var_photo = urlencode('product_photo[' .$i. ']');
|
155 |
if($product->getUrlPath()) {
|
156 |
+
$deeplink = $website_url . $product->getUrlPath();
|
157 |
+
$image_url = '';
|
158 |
+
if($product->getImage() && ($product->getImage() != 'no_selection')) {
|
159 |
+
$image_url = $media_url . $product->getImage();
|
160 |
+
}
|
161 |
$request[$var_url] = urlencode($deeplink);
|
162 |
+
$request[$var_text] = urlencode(trim($product->getName()));
|
163 |
+
$request[$var_id] = urlencode('SKU=' . trim($item->getSku()));
|
164 |
+
$request[$var_photo] = urlencode($image_url);
|
165 |
$i++;
|
166 |
}
|
167 |
}
|
228 |
$post .= '&' . $key . '=' . trim($value);
|
229 |
}
|
230 |
$post = trim($post, '&');
|
231 |
+
|
232 |
// Connect to API
|
233 |
$url = 'https://connect.feedbackcompany.nl/feedback/';
|
234 |
$feedbackconnect = curl_init($url . '?' . $post);
|
app/code/community/Magmodules/Feedbackcompany/Model/Observer.php
CHANGED
@@ -158,4 +158,16 @@ class Magmodules_Feedbackcompany_Model_Observer {
|
|
158 |
endif;
|
159 |
}
|
160 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
161 |
}
|
158 |
endif;
|
159 |
}
|
160 |
|
161 |
+
|
162 |
+
public function addExportOption($observer)
|
163 |
+
{
|
164 |
+
$block = $observer->getEvent()->getBlock();
|
165 |
+
if(get_class($block) == 'Mage_Adminhtml_Block_Widget_Grid_Massaction' && $block->getRequest()->getControllerName() == 'catalog_product_review') {
|
166 |
+
// $block->addItem('reviewsexport', array(
|
167 |
+
// 'label' => Mage::helper('feedbackcompany')->__('Export Reviews'),
|
168 |
+
// 'url' => Mage::app()->getStore()->getUrl('*/feedbackcompany/exportreviews'),
|
169 |
+
// ));
|
170 |
+
}
|
171 |
+
}
|
172 |
+
|
173 |
}
|
app/code/community/Magmodules/Feedbackcompany/Model/Productreviews.php
CHANGED
@@ -35,33 +35,36 @@ class Magmodules_Feedbackcompany_Model_Productreviews extends Mage_Core_Model_Ab
|
|
35 |
$_product = Mage::getModel('catalog/product')->loadByAttribute('sku', $review->product_sku);
|
36 |
if($_product->getId()) {
|
37 |
$content = $review->review;
|
38 |
-
if(strlen($content) > 0) {
|
39 |
try {
|
40 |
$title = $this->getFirstSentence($content);
|
41 |
-
$
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
|
|
|
|
63 |
} catch (Exception $e) {
|
64 |
-
Mage::
|
|
|
65 |
}
|
66 |
}
|
67 |
}
|
35 |
$_product = Mage::getModel('catalog/product')->loadByAttribute('sku', $review->product_sku);
|
36 |
if($_product->getId()) {
|
37 |
$content = $review->review;
|
38 |
+
if((strlen($content) > 0) && ($review->rating > 0)) {
|
39 |
try {
|
40 |
$title = $this->getFirstSentence($content);
|
41 |
+
if(strlen($title) > 0) {
|
42 |
+
$created_at = date_create_from_format('F, j Y H:i:s', $review->date_created);
|
43 |
+
$created_at = date_format($created_at, 'Y-m-d H:i:s');
|
44 |
+
$_review = Mage::getModel('review/review');
|
45 |
+
$_review->setEntityPkValue($_product->getId());
|
46 |
+
$_review->setCreatedAt($created_at);
|
47 |
+
$_review->setTitle($title);
|
48 |
+
$_review->setFeedbackcompanyId($feedback_id);
|
49 |
+
$_review->setDetail($content);
|
50 |
+
$_review->setEntityId(1);
|
51 |
+
$_review->setStoreId(0);
|
52 |
+
$_review->setStatusId($status_id);
|
53 |
+
$_review->setCustomerId(null);
|
54 |
+
$_review->setNickname($review->client->name);
|
55 |
+
$_review->setStores($this->getAllStoreViews($storeid));
|
56 |
+
$_review->save();
|
57 |
+
$_rating = Mage::getModel('rating/rating');
|
58 |
+
$_rating->setRatingId($rating_id);
|
59 |
+
$_rating->setReviewId($_review->getId());
|
60 |
+
$_rating->setCustomerId(null);
|
61 |
+
$_rating->addOptionVote($review->rating, $_product->getId());
|
62 |
+
$_review->aggregate();
|
63 |
+
$new++;
|
64 |
+
}
|
65 |
} catch (Exception $e) {
|
66 |
+
Mage::log($e->getMessage(), null, 'feedbackcompany.log');
|
67 |
+
Mage::getSingleton('adminhtml/session')->addError(Mage::helper('feedbackcompany')->__('There has been an error, please check var/log/feedbackcompany.log'));
|
68 |
}
|
69 |
}
|
70 |
}
|
app/code/community/Magmodules/Feedbackcompany/Model/System/Config/Source/Cronfrequency.php
CHANGED
@@ -29,8 +29,10 @@ class Magmodules_Feedbackcompany_Model_System_Config_Source_Cronfrequency {
|
|
29 |
'0 */2 * * *' => Mage::helper('feedbackcompany')->__('Every other Hour'),
|
30 |
'0 8,20 * * *' => Mage::helper('feedbackcompany')->__('Twice a Day'),
|
31 |
'0 2 * * *' => Mage::helper('feedbackcompany')->__('Once a Day'),
|
32 |
-
'0 2
|
|
|
|
|
33 |
);
|
34 |
}
|
35 |
|
36 |
-
}
|
29 |
'0 */2 * * *' => Mage::helper('feedbackcompany')->__('Every other Hour'),
|
30 |
'0 8,20 * * *' => Mage::helper('feedbackcompany')->__('Twice a Day'),
|
31 |
'0 2 * * *' => Mage::helper('feedbackcompany')->__('Once a Day'),
|
32 |
+
'0 2 * * 0' => Mage::helper('feedbackcompany')->__('Once a Week'),
|
33 |
+
'0 2 1 * *' => Mage::helper('feedbackcompany')->__('Once a Month'),
|
34 |
+
'' => Mage::helper('feedbackcompany')->__('Never'),
|
35 |
);
|
36 |
}
|
37 |
|
38 |
+
}
|
app/code/community/Magmodules/Feedbackcompany/Model/System/Config/Source/Cronfrequencylong.php
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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) 2016 (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_Model_System_Config_Source_Cronfrequencylong {
|
23 |
+
|
24 |
+
public function toOptionArray()
|
25 |
+
{
|
26 |
+
return array(
|
27 |
+
'0 2 * * *' => Mage::helper('feedbackcompany')->__('Once a Day'),
|
28 |
+
'0 2 * * 0' => Mage::helper('feedbackcompany')->__('Once a Week'),
|
29 |
+
'0 2 1 * *' => Mage::helper('feedbackcompany')->__('Once a Month'),
|
30 |
+
'' => Mage::helper('feedbackcompany')->__('Never'),
|
31 |
+
);
|
32 |
+
}
|
33 |
+
|
34 |
+
}
|
app/code/community/Magmodules/Feedbackcompany/etc/config.xml
CHANGED
@@ -23,7 +23,7 @@
|
|
23 |
<config>
|
24 |
<modules>
|
25 |
<Magmodules_Feedbackcompany>
|
26 |
-
<version>1.4.
|
27 |
</Magmodules_Feedbackcompany>
|
28 |
</modules>
|
29 |
<global>
|
@@ -143,6 +143,16 @@
|
|
143 |
</magmodules_feedbackcompany>
|
144 |
</modules>
|
145 |
</translate>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
146 |
</adminhtml>
|
147 |
<admin>
|
148 |
<routers>
|
@@ -187,8 +197,8 @@
|
|
187 |
<reviews>
|
188 |
<cron>0</cron>
|
189 |
<cron_stats>*/15 * * * *</cron_stats>
|
190 |
-
<cron_reviews>0
|
191 |
-
<cron_all>0
|
192 |
</reviews>
|
193 |
<sidebar>
|
194 |
<left>0</left>
|
23 |
<config>
|
24 |
<modules>
|
25 |
<Magmodules_Feedbackcompany>
|
26 |
+
<version>1.4.1</version>
|
27 |
</Magmodules_Feedbackcompany>
|
28 |
</modules>
|
29 |
<global>
|
143 |
</magmodules_feedbackcompany>
|
144 |
</modules>
|
145 |
</translate>
|
146 |
+
<events>
|
147 |
+
<core_block_abstract_prepare_layout_before>
|
148 |
+
<observers>
|
149 |
+
<magmodules_feedbackcompany_review_add_exportoption>
|
150 |
+
<class>Magmodules_Feedbackcompany_Model_Observer</class>
|
151 |
+
<method>addExportOption</method>
|
152 |
+
</magmodules_feedbackcompany_review_add_exportoption>
|
153 |
+
</observers>
|
154 |
+
</core_block_abstract_prepare_layout_before>
|
155 |
+
</events>
|
156 |
</adminhtml>
|
157 |
<admin>
|
158 |
<routers>
|
197 |
<reviews>
|
198 |
<cron>0</cron>
|
199 |
<cron_stats>*/15 * * * *</cron_stats>
|
200 |
+
<cron_reviews>0 8,20 * * *</cron_reviews>
|
201 |
+
<cron_all>0 2 1 * *</cron_all>
|
202 |
</reviews>
|
203 |
<sidebar>
|
204 |
<left>0</left>
|
app/code/community/Magmodules/Feedbackcompany/etc/system.xml
CHANGED
@@ -155,7 +155,7 @@
|
|
155 |
<cron_all translate="label">
|
156 |
<label>Update Review History</label>
|
157 |
<frontend_type>select</frontend_type>
|
158 |
-
<source_model>feedbackcompany/
|
159 |
<sort_order>4</sort_order>
|
160 |
<show_in_default>1</show_in_default>
|
161 |
<show_in_website>0</show_in_website>
|
@@ -336,7 +336,7 @@
|
|
336 |
<show_in_store>1</show_in_store>
|
337 |
</sidebar_heading>
|
338 |
<sidebar_note translate="label">
|
339 |
-
<label><![CDATA[You can add this custom block by pasting the following code
|
340 |
<frontend_model>feedbackcompany/adminhtml_widget_form_note</frontend_model>
|
341 |
<sort_order>11</sort_order>
|
342 |
<show_in_default>1</show_in_default>
|
155 |
<cron_all translate="label">
|
156 |
<label>Update Review History</label>
|
157 |
<frontend_type>select</frontend_type>
|
158 |
+
<source_model>feedbackcompany/system_config_source_cronfrequencylong</source_model>
|
159 |
<sort_order>4</sort_order>
|
160 |
<show_in_default>1</show_in_default>
|
161 |
<show_in_website>0</show_in_website>
|
336 |
<show_in_store>1</show_in_store>
|
337 |
</sidebar_heading>
|
338 |
<sidebar_note translate="label">
|
339 |
+
<label><![CDATA[You can add this custom block by pasting the following code into your CMS page or Static Block.<br/>{{block type="feedbackcompany/custom" name="feedbackcompany" blocktype="sidebar"}}]]></label>
|
340 |
<frontend_model>feedbackcompany/adminhtml_widget_form_note</frontend_model>
|
341 |
<sort_order>11</sort_order>
|
342 |
<show_in_default>1</show_in_default>
|
app/locale/nl_NL/Magmodules_Feedbackcompany.csv
CHANGED
@@ -83,6 +83,7 @@
|
|
83 |
"Often","Regelmaat"
|
84 |
"Once a Day","Eens per dag"
|
85 |
"Once a Week","Eens per week"
|
|
|
86 |
"Order process:","Orderproces:"
|
87 |
"Please select item(s)","Selecteer item(s)"
|
88 |
"Process Manually","Voer handmatig uit"
|
83 |
"Often","Regelmaat"
|
84 |
"Once a Day","Eens per dag"
|
85 |
"Once a Week","Eens per week"
|
86 |
+
"Once a Month","Eens per maand"
|
87 |
"Order process:","Orderproces:"
|
88 |
"Please select item(s)","Selecteer item(s)"
|
89 |
"Process Manually","Voer handmatig uit"
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Magmodules_Feedbackcompany</name>
|
4 |
-
<version>1.4.
|
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>2016-
|
14 |
-
<time>
|
15 |
-
<contents><target name="magecommunity"><dir name="Magmodules"><dir name="Feedbackcompany"><dir name="Block"><dir name="Adminhtml"><dir name="Feedbacklog"><file name="Grid.php" hash="55fc41747dfa29c82480657ef92cdd87"/></dir><dir name="Feedbackreviews"><dir name="Renderer"><file name="Experience.php" hash="58e6b4524ee8c4e95e76a2fa29309f4f"/></dir><file name="Grid.php" hash="034b652b83b627d464f4d566b1a8dd19"/></dir><dir name="Widget"><dir name="Buttons"><file name="Process.php" hash="b6615f57cf070f78db3f59de3fed080a"/><file name="Productreviews.php" hash="1e7da9da2ec3eb28e5fde451c8cfb781"/><file name="Test.php" hash="95bb230b8c02d349cbb4c8a914ea2fd6"/></dir><dir name="Field"><file name="Version.php" hash="004c1eef29828c33ece2b069738b66b3"/></dir><dir name="Form"><file name="Heading.php" hash="6392f0a879d8b475c5ec93aec74fa11d"/><file name="Note.php" hash="80abe28a9156c42dfc3ea61a2e265fc3"/></dir><dir name="Grid"><file name="Log.php" hash="f48fe4676148cb91f8150a726289c50d"/><file name="Seconds.php" hash="a3c061430ffb9bb59bc18308d8bf1bbf"/><file name="Stars.php" hash="bc6bbb13c6e58fcb0c389e94def62ecb"/></dir><dir name="Info"><file name="Info.php" hash="41fa6901e5f3744fa67b8413916c9ab0"/></dir></dir><file name="Feedbacklog.php" hash="03448637e329d9aed31916c403f237a7"/><file name="Feedbackreviews.php" hash="b9c0059184019f277dde9b70b94bfa37"/></dir><file name="Custom.php" hash="3c5fe7bb2629fbed033bb681bad6f440"/><file name="Header.php" hash="44a5dc7866157c032b0c90f27d162b5f"/><file name="Reviews.php" hash="88505fc0d4c17fa6bf89448bdf547ceb"/><file name="Sidebar.php" hash="8e3494bd8e32eff42c5b0c26755694bf"/></dir><dir name="Helper"><file name="Data.php" hash="7c4cc8adfdd8c7421648920d32edb12a"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Log"><file name="Collection.php" hash="ae1342456877a1fae35eae8724c923c4"/></dir><dir name="Reviews"><file name="Collection.php" hash="59f40c5d3de2c2c00eda58edf82afec3"/></dir><dir name="Stats"><file name="Collection.php" hash="c5556305c5bd4a47d962755df17c14d4"/></dir><file name="Log.php" hash="78b2b64a97bb8f6fa76afd60c6a5757f"/><file name="Reviews.php" hash="f5237ea23f972634b63cb3aeadb4a0ec"/><file name="Stats.php" hash="071d7308b21fe3069f262b9105597a89"/></dir><dir name="System"><dir name="Config"><dir name="Source"><file name="Attribute.php" hash="91c88ae96b609900a6b53ecfff8e2828"/><file name="Category.php" hash="2fe30678feee498bd105d259cadae215"/><file name="Cronfrequency.php" hash="
|
16 |
<compatible/>
|
17 |
<dependencies/>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Magmodules_Feedbackcompany</name>
|
4 |
+
<version>1.4.1</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>2016-02-11</date>
|
14 |
+
<time>15:35:37</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="Magmodules"><dir name="Feedbackcompany"><dir name="Block"><dir name="Adminhtml"><dir name="Feedbacklog"><file name="Grid.php" hash="55fc41747dfa29c82480657ef92cdd87"/></dir><dir name="Feedbackreviews"><dir name="Renderer"><file name="Experience.php" hash="58e6b4524ee8c4e95e76a2fa29309f4f"/></dir><file name="Grid.php" hash="034b652b83b627d464f4d566b1a8dd19"/></dir><dir name="Widget"><dir name="Buttons"><file name="Process.php" hash="b6615f57cf070f78db3f59de3fed080a"/><file name="Productreviews.php" hash="1e7da9da2ec3eb28e5fde451c8cfb781"/><file name="Test.php" hash="95bb230b8c02d349cbb4c8a914ea2fd6"/></dir><dir name="Field"><file name="Version.php" hash="004c1eef29828c33ece2b069738b66b3"/></dir><dir name="Form"><file name="Heading.php" hash="6392f0a879d8b475c5ec93aec74fa11d"/><file name="Note.php" hash="80abe28a9156c42dfc3ea61a2e265fc3"/></dir><dir name="Grid"><file name="Log.php" hash="f48fe4676148cb91f8150a726289c50d"/><file name="Seconds.php" hash="a3c061430ffb9bb59bc18308d8bf1bbf"/><file name="Stars.php" hash="bc6bbb13c6e58fcb0c389e94def62ecb"/></dir><dir name="Info"><file name="Info.php" hash="41fa6901e5f3744fa67b8413916c9ab0"/></dir></dir><file name="Feedbacklog.php" hash="03448637e329d9aed31916c403f237a7"/><file name="Feedbackreviews.php" hash="b9c0059184019f277dde9b70b94bfa37"/></dir><file name="Custom.php" hash="3c5fe7bb2629fbed033bb681bad6f440"/><file name="Header.php" hash="44a5dc7866157c032b0c90f27d162b5f"/><file name="Reviews.php" hash="88505fc0d4c17fa6bf89448bdf547ceb"/><file name="Sidebar.php" hash="8e3494bd8e32eff42c5b0c26755694bf"/></dir><dir name="Helper"><file name="Data.php" hash="7c4cc8adfdd8c7421648920d32edb12a"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Log"><file name="Collection.php" hash="ae1342456877a1fae35eae8724c923c4"/></dir><dir name="Reviews"><file name="Collection.php" hash="59f40c5d3de2c2c00eda58edf82afec3"/></dir><dir name="Stats"><file name="Collection.php" hash="c5556305c5bd4a47d962755df17c14d4"/></dir><file name="Log.php" hash="78b2b64a97bb8f6fa76afd60c6a5757f"/><file name="Reviews.php" hash="f5237ea23f972634b63cb3aeadb4a0ec"/><file name="Stats.php" hash="071d7308b21fe3069f262b9105597a89"/></dir><dir name="System"><dir name="Config"><dir name="Source"><file name="Attribute.php" hash="91c88ae96b609900a6b53ecfff8e2828"/><file name="Category.php" hash="2fe30678feee498bd105d259cadae215"/><file name="Cronfrequency.php" hash="f126c7c010109380e6f6ef811e62ee7c"/><file name="Cronfrequencylong.php" hash="98f8af8e23c22f1cc9adc678d1d8097c"/><file name="Orderstatus.php" hash="a5e23aa216840cf22c545ba024da3d7e"/><file name="Position.php" hash="32dba14b3fbba1b4e16836b5c9c25807"/><file name="Reviewlink.php" hash="d5d8ad2ab7e11a13b980288b34c6eba7"/><file name="Reviewrating.php" hash="1f7712ec677f95ada3450bcdc8c5c837"/><file name="Reviewstatus.php" hash="fa704d1e65eb64b01ad54bbc79e8c020"/><file name="Sidebarlink.php" hash="19eeff07235ee02fea3634e0f32e10a7"/></dir></dir></dir><file name="Api.php" hash="f106feafbd98db14f0e9daadad8912ee"/><file name="Log.php" hash="4280f12a6802bdb2d438d1ef0623daa0"/><file name="Observer.php" hash="af8d0290560fd2bde6e2ac7442888762"/><file name="Productreviews.php" hash="52bd64b6955c918691c7b4c14586a5c9"/><file name="Reviews.php" hash="7ac109f8824d97d308056275dc952970"/><file name="Stats.php" hash="ec42f45afdc036c5ef5a9e89c7b4bc84"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="FeedbacklogController.php" hash="20d556f96f108ebfbaec6b62288fbd5e"/><file name="FeedbackreviewsController.php" hash="c055d9c71d73cdf27ccdd9bb41ba48c1"/></dir><file name="IndexController.php" hash="b388778f34531a73e8fc2fc91a6a784c"/></dir><dir name="etc"><file name="adminhtml.xml" hash="f62877d5fa2eaa083ffaebc15d8256c9"/><file name="config.xml" hash="be37b8839a8089974c9721763d0fa65c"/><file name="system.xml" hash="cd14a037f77b05502f20785730c363e9"/></dir><dir name="sql"><dir name="feedbackcompany_setup"><file name="mysql4-install-0.9.0.php" hash="e5e350306db02211bf1926ccb46d62fb"/><file name="mysql4-upgrade-1.2.1-1.2.2.php" hash="d2823271b6fcdbe69212c58bbe99ab65"/><file name="mysql4-upgrade-1.2.5-1.2.6.php" hash="0b7697b895677239dd9b4378e7578b90"/><file name="mysql4-upgrade-1.3.0-1.3.1.php" hash="32d63d431f7987492f31502ec1939599"/></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="3cca540d05eb59dab5ab24278841833a"/></dir><dir name="template"><dir name="magmodules"><dir name="feedbackcompany"><dir name="sidebar"><file name="left.phtml" hash="8c235d9ffd16096f50c2e36054bdf8f9"/><file name="right.phtml" hash="383c7db6e01441cddbbe07b2914a84a6"/></dir><dir name="widget"><file name="header.phtml" hash="cd1c71fe6c9a0f0b28ccc5951da027fb"/><file name="medium.phtml" hash="d9e0025c3c189e9ad3b512fbfc7c59dd"/><file name="sidebar.phtml" hash="852632fc6b4f223f42459da0498efd9f"/><file name="small.phtml" hash="b6e07949b3bccbd244651328a329f33e"/></dir><file name="index.phtml" hash="35e543c38a0ef1732463e6c8019cdd3e"/></dir></dir></dir></dir></dir><dir name="rwd"><dir name="default"><dir name="template"><dir name="magmodules"><file name="feedbackcompany" hash=""/></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="bcf891696a8602a49ef00ec0440b944a"/></dir></target><target name="magelocale"><dir name="en_US"><file name="Magmodules_Feedbackcompany.csv" hash="ffbf2f9eee9a27889271a8e1f98a153b"/></dir><dir name="nl_NL"><file name="Magmodules_Feedbackcompany.csv" hash="6565d38b442307f5b7f924908a6b209b"/></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="sprites.png" hash="5f048cd5c6faf107782a5356678c2800"/><file name="sprites@2x.png" hash="8bbeceb34cb88a53f8e0222025368149"/><file name="star.png" hash="1a0bff565b441621cfa141ea1359e42d"/><file name="stars-colorful-big-empty.png" hash="0c39b599f3711387f3ab73c2c866db5e"/><file name="stars-colorful-big-empty@2x.png" hash="91968a209183fa94981aa1a4f4b881ac"/><file name="stars-colorful-big-filling.png" hash="4e44da064ac05c020a0390be58378c70"/><file name="stars-colorful-big-filling@2x.png" hash="d884648d75c3d39ede9d3b9d152fa377"/><file name="stars-colorful-medium-empty.png" hash="348115c8fcb76a0fdad35adf373c372d"/><file name="stars-colorful-medium-empty@2x.png" hash="80597abaaf487d85b37b38242fd280fd"/><file name="stars-colorful-medium-filling.png" hash="bdabd08dd42a28ffac96c0426cc31f75"/><file name="stars-colorful-medium-filling@2x.png" hash="95d3c2484dea0e65ef3764cca92d7546"/><file name="stars-colorful-small-empty.png" hash="0810018964beb0d0ff758346ea48f380"/><file name="stars-colorful-small-empty@2x.png" hash="95e3450bc9019b50497a07edd36da76a"/><file name="stars-colorful-small-filling.png" hash="7dea18dd80f75e5957ddfff107a5b14b"/><file name="stars-colorful-small-filling@2x.png" hash="c78b5d4766bdba9144333e8420e78e30"/><file name="stars-grayscale-small-empty.png" hash="0810018964beb0d0ff758346ea48f380"/><file name="stars-grayscale-small-empty@2x.png" hash="95e3450bc9019b50497a07edd36da76a"/><file name="stars-grayscale-small-filling.png" hash="5b36c38e55237b3b2932cb46a238ca66"/><file name="stars-grayscale-small-filling@2x.png" hash="a7fad2bb4a7ba031134e60f2b682ec6e"/></dir><file name="richsnippets.css" hash="d41d8cd98f00b204e9800998ecf8427e"/><file name="sidebar.css" hash="38c395e51070701e5d2d56e789a9f159"/><file name="style.css" hash="53c93412d6fb3025bd54c2b4ee13a645"/></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/sidebar.css
CHANGED
@@ -13,30 +13,39 @@
|
|
13 |
* to info@magmodules.eu so we can send you a copy immediately.
|
14 |
*
|
15 |
* @category Magmodules
|
16 |
-
* @package
|
17 |
* @author Magmodules <info@magmodules.eu)
|
18 |
-
* @copyright Copyright (c)
|
19 |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
20 |
*/
|
21 |
|
22 |
-
.
|
23 |
padding: 10px;
|
24 |
}
|
25 |
|
26 |
-
.
|
27 |
font-style: italic;
|
28 |
}
|
29 |
|
30 |
/** Discrete stars **/
|
31 |
-
.
|
32 |
-
.
|
33 |
-
.
|
34 |
-
.
|
35 |
-
.
|
36 |
-
.
|
37 |
|
38 |
/** Continuous stars **/
|
39 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
/** big colorful review stars **/
|
41 |
.block-content p.company-name { text-align: center; margin: 5px auto; font-size: 12px; }
|
42 |
.total-block-text { border-bottom: 1px solid #ccc; padding-bottom: 5px; }
|
@@ -78,7 +87,7 @@
|
|
78 |
|
79 |
|
80 |
/* CUSTOM BLOCK */
|
81 |
-
.
|
82 |
font-weight: bold;
|
83 |
font-size: 13px;
|
84 |
display: block;
|
@@ -89,22 +98,22 @@
|
|
89 |
text-align: center;
|
90 |
}
|
91 |
|
92 |
-
.
|
93 |
font-size: 16px;
|
94 |
}
|
95 |
|
96 |
-
.
|
97 |
margin-left: 40%;
|
98 |
margin-top: 10px;
|
99 |
margin-bottom: 10px;
|
100 |
}
|
101 |
-
.
|
102 |
font-size: 11px;
|
103 |
font-style: italic;
|
104 |
font-weight: 300;
|
105 |
}
|
106 |
|
107 |
-
#feedbackcompany-header-widget{
|
108 |
font-size: 12px;
|
109 |
border-radius: 2px;
|
110 |
border: 1px solid silver;
|
@@ -112,22 +121,25 @@
|
|
112 |
line-height: 18px;
|
113 |
}
|
114 |
|
115 |
-
#feedbackcompany-header-widget.feedbackcompany-header-widget-searchbar{
|
116 |
position: absolute;
|
117 |
top: 55px;
|
118 |
right: 25%;
|
119 |
margin-right: 18px;
|
120 |
}
|
121 |
|
122 |
-
#feedbackcompany-header-widget .total-block-stars-small{
|
123 |
display: inline-block;
|
124 |
vertical-align: middle;
|
125 |
margin: -1px 10px 0 8px;
|
126 |
}
|
127 |
|
|
|
|
|
|
|
|
|
128 |
@media (min-width: 961px) {
|
129 |
#feedbackcompany-header-widget{ display: inline-block; }
|
130 |
#feedbackcompany-header-widget > * { display: inline-block; }
|
131 |
#feedbackcompany-header-widget a:hover {text-decoration: none;}
|
132 |
-
|
133 |
}
|
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) 2016 (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: 10px;
|
24 |
}
|
25 |
|
26 |
+
.feedbackcompany-sidebar-block .rating-name {
|
27 |
font-style: italic;
|
28 |
}
|
29 |
|
30 |
/** Discrete stars **/
|
31 |
+
.feedbackcompany-sidebar-block .rating-empty { float: right; display: block; width: 80px; height: 16px; background: url('./images/star.png') 0 -16px; margin-right: 5px; }
|
32 |
+
.feedbackcompany-sidebar-block .rating-star-1 { float: left; display: block; width: 16px; height: 16px; background: url('./images/star.png') 0 0; margin-right: 5px; }
|
33 |
+
.feedbackcompany-sidebar-block .rating-star-2 { float: left; display: block; width: 32px; height: 16px; background: url('./images/star.png') 0 0; margin-right: 5px; }
|
34 |
+
.feedbackcompany-sidebar-block .rating-star-3 { float: left; display: block; width: 48px; height: 16px; background: url('./images/star.png') 0 0; margin-right: 5px; }
|
35 |
+
.feedbackcompany-sidebar-block .rating-star-4 { float: left; display: block; width: 64px; height: 16px; background: url('./images/star.png') 0 0; margin-right: 5px; }
|
36 |
+
.feedbackcompany-sidebar-block .rating-star-5 { float: left; display: block; width: 80px; height: 16px; background: url('./images/star.png') 0 0; margin-right: 5px; }
|
37 |
|
38 |
/** Continuous stars **/
|
39 |
|
40 |
+
.feedbackcompany-medium-widget .rating-box { height: 21px; background: url('./images/stars-colorful-big-empty.png') no-repeat;margin: 10px 0px 5px;width: 110px;}
|
41 |
+
.feedbackcompany-medium-widget .rating { display: block; height: 21px;background: url('./images/stars-colorful-big-filling.png') no-repeat;}
|
42 |
+
.feedbackcompany-medium-widget .feedbackcompany-small-text { padding:4px 0px 0px 0px;}
|
43 |
+
|
44 |
+
.feedbackcompany-small-score .rating-box { height: 21px; background: url('./images/stars-colorful-big-empty.png') no-repeat;margin: 5px 15px;width: 109px;float: left;}
|
45 |
+
.feedbackcompany-small-score .rating { display: block; height: 21px;background: url('./images/stars-colorful-big-filling.png') no-repeat;}
|
46 |
+
.feedbackcompany-small-score .feedbackcompany-small-text { padding:4px 0px 0px 0px;}
|
47 |
+
|
48 |
+
|
49 |
/** big colorful review stars **/
|
50 |
.block-content p.company-name { text-align: center; margin: 5px auto; font-size: 12px; }
|
51 |
.total-block-text { border-bottom: 1px solid #ccc; padding-bottom: 5px; }
|
87 |
|
88 |
|
89 |
/* CUSTOM BLOCK */
|
90 |
+
.feedbackcompany-custom {
|
91 |
font-weight: bold;
|
92 |
font-size: 13px;
|
93 |
display: block;
|
98 |
text-align: center;
|
99 |
}
|
100 |
|
101 |
+
.feedbackcompany-custom .client {
|
102 |
font-size: 16px;
|
103 |
}
|
104 |
|
105 |
+
.feedbackcompany-custom .rating-box {
|
106 |
margin-left: 40%;
|
107 |
margin-top: 10px;
|
108 |
margin-bottom: 10px;
|
109 |
}
|
110 |
+
.feedbackcompany-custom .number {
|
111 |
font-size: 11px;
|
112 |
font-style: italic;
|
113 |
font-weight: 300;
|
114 |
}
|
115 |
|
116 |
+
#feedbackcompany-header-widget {
|
117 |
font-size: 12px;
|
118 |
border-radius: 2px;
|
119 |
border: 1px solid silver;
|
121 |
line-height: 18px;
|
122 |
}
|
123 |
|
124 |
+
#feedbackcompany-header-widget.feedbackcompany-header-widget-searchbar {
|
125 |
position: absolute;
|
126 |
top: 55px;
|
127 |
right: 25%;
|
128 |
margin-right: 18px;
|
129 |
}
|
130 |
|
131 |
+
#feedbackcompany-header-widget .total-block-stars-small {
|
132 |
display: inline-block;
|
133 |
vertical-align: middle;
|
134 |
margin: -1px 10px 0 8px;
|
135 |
}
|
136 |
|
137 |
+
.feedbackcompany-logo {
|
138 |
+
padding: 10px 0;
|
139 |
+
}
|
140 |
+
|
141 |
@media (min-width: 961px) {
|
142 |
#feedbackcompany-header-widget{ display: inline-block; }
|
143 |
#feedbackcompany-header-widget > * { display: inline-block; }
|
144 |
#feedbackcompany-header-widget a:hover {text-decoration: none;}
|
|
|
145 |
}
|
skin/frontend/base/default/magmodules/feedbackcompany/style.css
CHANGED
@@ -29,9 +29,9 @@
|
|
29 |
min-height: 50px;
|
30 |
}
|
31 |
|
32 |
-
|
33 |
.feedbackcompany .page-title .flexbox-container h1 {
|
34 |
flex-grow: 1;
|
|
|
35 |
}
|
36 |
|
37 |
.feedbackcompany .flexbox-container .header-floating-feedbackcompany{
|
@@ -173,6 +173,16 @@
|
|
173 |
vertical-align: middle;
|
174 |
}
|
175 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
176 |
|
177 |
@media (-webkit-min-device-pixel-ratio: 2), not all, not all, not all, (min-resolution: 192dpi), (min-resolution: 2dppx){
|
178 |
.feedbackcompany .sprites-icon {
|
@@ -195,39 +205,6 @@
|
|
195 |
background-position: 0 -30px;
|
196 |
}
|
197 |
|
198 |
-
/*
|
199 |
-
.feedbackcompany ul.summary-index {
|
200 |
-
display: flex;
|
201 |
-
list-style-type: none;
|
202 |
-
}
|
203 |
-
|
204 |
-
.feedbackcompany ul.summary-index li {
|
205 |
-
display: table-cell;
|
206 |
-
padding: 5px 5px 5px 10px;
|
207 |
-
}
|
208 |
-
|
209 |
-
.feedbackcompany ul.summary-index li.head {
|
210 |
-
padding: 10px 5px 5px 5px;
|
211 |
-
border-bottom: 1px dotted #e0e0e0;
|
212 |
-
}
|
213 |
-
*/
|
214 |
-
|
215 |
-
|
216 |
-
/* INDEX REVIEW LIST */
|
217 |
-
.review-list .rating-empty { float: left; display: block; width: 80px; height: 16px; background: url('./images/star.png') 0 -16px; margin-right: 5px; }
|
218 |
-
|
219 |
-
.review-list .rating-star-1 { float: left; display: block; width: 16px; height: 16px; background: url('./images/star.png') 0 0; margin-right: 5px; }
|
220 |
-
.review-list .rating-star-2 { float: left; display: block; width: 32px; height: 16px; background: url('./images/star.png') 0 0; margin-right: 5px; }
|
221 |
-
.review-list .rating-star-3 { float: left; display: block; width: 48px; height: 16px; background: url('./images/star.png') 0 0; margin-right: 5px; }
|
222 |
-
.review-list .rating-star-4 { float: left; display: block; width: 64px; height: 16px; background: url('./images/star.png') 0 0; margin-right: 5px; }
|
223 |
-
.review-list .rating-star-5 { float: left; display: block; width: 80px; height: 16px; background: url('./images/star.png') 0 0; margin-right: 5px; }
|
224 |
-
|
225 |
-
.review-list .rating-greystar-1 { float: left; display: block; width: 16px; height: 16px; background: url('./images/greystar.png') 0 0; margin-right: 5px; }
|
226 |
-
.review-list .rating-greystar-2 { float: left; display: block; width: 32px; height: 16px; background: url('./images/greystar.png') 0 0; margin-right: 5px; }
|
227 |
-
.review-list .rating-greystar-3 { float: left; display: block; width: 48px; height: 16px; background: url('./images/greystar.png') 0 0; margin-right: 5px; }
|
228 |
-
.review-list .rating-greystar-4 { float: left; display: block; width: 64px; height: 16px; background: url('./images/greystar.png') 0 0; margin-right: 5px; }
|
229 |
-
.review-list .rating-greystar-5 { float: left; display: block; width: 80px; height: 16px; background: url('./images/greystar.png') 0 0; margin-right: 5px; }
|
230 |
-
|
231 |
/* THE TRIANGLE
|
232 |
------------------------------------------------------------------------------------------------------------------------------- */
|
233 |
|
@@ -284,7 +261,6 @@
|
|
284 |
border-width: 0 13px 13px;
|
285 |
}
|
286 |
|
287 |
-
|
288 |
@media only screen and (min-width: 600px){
|
289 |
.feedbackcompany .total-feedbackcompany.total-feedbackcompany-mobile{
|
290 |
display: none;
|
29 |
min-height: 50px;
|
30 |
}
|
31 |
|
|
|
32 |
.feedbackcompany .page-title .flexbox-container h1 {
|
33 |
flex-grow: 1;
|
34 |
+
border-bottom: none;
|
35 |
}
|
36 |
|
37 |
.feedbackcompany .flexbox-container .header-floating-feedbackcompany{
|
173 |
vertical-align: middle;
|
174 |
}
|
175 |
|
176 |
+
@include bp(min-width, $bp-small) {
|
177 |
+
.feedbackcompany {
|
178 |
+
ul.summary-index {
|
179 |
+
display: inherit;
|
180 |
+
li {
|
181 |
+
display: inline-block;
|
182 |
+
}
|
183 |
+
}
|
184 |
+
}
|
185 |
+
}
|
186 |
|
187 |
@media (-webkit-min-device-pixel-ratio: 2), not all, not all, not all, (min-resolution: 192dpi), (min-resolution: 2dppx){
|
188 |
.feedbackcompany .sprites-icon {
|
205 |
background-position: 0 -30px;
|
206 |
}
|
207 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
208 |
/* THE TRIANGLE
|
209 |
------------------------------------------------------------------------------------------------------------------------------- */
|
210 |
|
261 |
border-width: 0 13px 13px;
|
262 |
}
|
263 |
|
|
|
264 |
@media only screen and (min-width: 600px){
|
265 |
.feedbackcompany .total-feedbackcompany.total-feedbackcompany-mobile{
|
266 |
display: none;
|