Magmodules_Webwinkelconnect - Version 1.0.2

Version Notes

First stable release

Download this release

Release Info

Developer Magento Core Team
Extension Magmodules_Webwinkelconnect
Version 1.0.2
Comparing to
See all releases


Code changes from version 1.0.1 to 1.0.2

app/code/local/Magmodules/Webwinkelconnect/Block/Custom.php ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_Webwinkelconnect
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
+ class Magmodules_Webwinkelconnect_Block_Custom extends Mage_Core_Block_Template {
23
+
24
+ protected function _construct() {
25
+ if(Mage::getStoreConfig('webwinkelconnect/general/enabled')) {
26
+ $this->setWebwinkelconnectEnabled(1);
27
+ } else {
28
+ $this->setWebwinkelconnectEnabled(0);
29
+ }
30
+
31
+ parent::_construct();
32
+ $this->setTemplate('magmodules/webwinkelconnect/widget/custom.phtml');
33
+ }
34
+
35
+ public function getWebwinkelconnectData() {
36
+ return $this->helper('webwinkelconnect')->getTotalScore();
37
+ }
38
+
39
+ }
app/code/local/Magmodules/Webwinkelconnect/Block/Sidebar.php CHANGED
@@ -81,10 +81,11 @@ class Magmodules_Webwinkelconnect_Block_Sidebar extends Mage_Core_Block_Template
81
 
82
  if($link == 'internal'):
83
  $url = $this->getUrl('webwinkelconnect');
 
84
  endif;
85
  if($link == 'external'):
86
  $url = Mage::getStoreConfig('webwinkelconnect/general/url');
87
- $class = 'webwinkelconnectReviews';
88
  endif;
89
 
90
  if($url) {
81
 
82
  if($link == 'internal'):
83
  $url = $this->getUrl('webwinkelconnect');
84
+ $class = '';
85
  endif;
86
  if($link == 'external'):
87
  $url = Mage::getStoreConfig('webwinkelconnect/general/url');
88
+ $class = 'webwinkelkeurReviews';
89
  endif;
90
 
91
  if($url) {
app/code/local/Magmodules/Webwinkelconnect/Model/Observer.php CHANGED
@@ -107,9 +107,7 @@ class Magmodules_Webwinkelconnect_Model_Observer {
107
  if(Mage::getStoreConfig('webwinkelconnect/invitation/backlog', $order->getStoreId()) > 0):
108
  $date_diff = floor(time() - strtotime($order->getCreatedAt()))/(60*60*24);
109
  if($date_diff < Mage::getStoreConfig('webwinkelconnect/invitation/backlog', $order->getStoreId())):
110
- Mage::log('SEND!');
111
  $value = Mage::getModel('webwinkelconnect/api')->sendInvitation($order);
112
- Mage::log($value);
113
  endif;
114
  else:
115
  Mage::getModel('webwinkelconnect/api')->sendInvitation($order);
107
  if(Mage::getStoreConfig('webwinkelconnect/invitation/backlog', $order->getStoreId()) > 0):
108
  $date_diff = floor(time() - strtotime($order->getCreatedAt()))/(60*60*24);
109
  if($date_diff < Mage::getStoreConfig('webwinkelconnect/invitation/backlog', $order->getStoreId())):
 
110
  $value = Mage::getModel('webwinkelconnect/api')->sendInvitation($order);
 
111
  endif;
112
  else:
113
  Mage::getModel('webwinkelconnect/api')->sendInvitation($order);
app/code/local/Magmodules/Webwinkelconnect/controllers/Adminhtml/WebwinkellogController.php CHANGED
@@ -22,7 +22,7 @@
22
  class Magmodules_Webwinkelconnect_Adminhtml_WebwinkellogController extends Mage_Adminhtml_Controller_Action {
23
 
24
  protected function _initAction() {
25
- $this->loadLayout()->_setActiveMenu('wwebwinkelconnect/webwinkelreviews')->_addBreadcrumb(Mage::helper('adminhtml')->__('Items Manager'), Mage::helper('adminhtml')->__('Item Manager'));
26
  return $this;
27
  }
28
 
@@ -33,13 +33,13 @@ class Magmodules_Webwinkelconnect_Adminhtml_WebwinkellogController extends Mage_
33
  public function massDeleteAction() {
34
  $LogIds = $this->getRequest()->getParam('logids');
35
  if(!is_array($LogIds)) {
36
- Mage::getSingleton('adminhtml/session')->addError(Mage::helper('wwebwinkelconnect')->__('Please select item(s)'));
37
  } else {
38
  try {
39
  foreach ($LogIds as $id) {
40
  $log = Mage::getModel('wwebwinkelconnect/log')->load($id)->delete();
41
  }
42
- Mage::getSingleton('adminhtml/session')->addSuccess(Mage::helper('wwebwinkelconnect')->__('Total of %d log record(s) deleted.', count($LogIds)));
43
  } catch (Exception $e) {
44
  Mage::getSingleton('adminhtml/session')->addError($e->getMessage());
45
  }
@@ -48,18 +48,18 @@ class Magmodules_Webwinkelconnect_Adminhtml_WebwinkellogController extends Mage_
48
  }
49
 
50
  public function cleanAction() {
51
- $enabled = Mage::getStoreConfig('wwebwinkelconnect/log/clean');
52
- $days = Mage::getStoreConfig('wwebwinkelconnect/log/clean_days');
53
  $i = 0;
54
  if(($enabled) && ($days > 0)) {
55
- $logmodel = Mage::getModel('wwebwinkelconnect/log');
56
  $deldate = date('Y-m-d', strtotime('-' . $days . ' days'));
57
  $logs = $logmodel->getCollection()->addFieldToSelect('id')->addFieldToFilter('date', array('lteq' => $deldate));
58
  foreach ($logs as $log) {
59
  $logmodel->load($log->getId())->delete();
60
  $i++;
61
  }
62
- Mage::getSingleton('adminhtml/session')->addSuccess(Mage::helper('wwebwinkelconnect')->__('Total of %s log record(s) deleted.', $i));
63
  }
64
  $this->_redirect('*/*/index');
65
  }
22
  class Magmodules_Webwinkelconnect_Adminhtml_WebwinkellogController extends Mage_Adminhtml_Controller_Action {
23
 
24
  protected function _initAction() {
25
+ $this->loadLayout()->_setActiveMenu('webwinkelconnect/webwinkellog')->_addBreadcrumb(Mage::helper('adminhtml')->__('Items Manager'), Mage::helper('adminhtml')->__('Item Manager'));
26
  return $this;
27
  }
28
 
33
  public function massDeleteAction() {
34
  $LogIds = $this->getRequest()->getParam('logids');
35
  if(!is_array($LogIds)) {
36
+ Mage::getSingleton('adminhtml/session')->addError(Mage::helper('webwinkelconnect')->__('Please select item(s)'));
37
  } else {
38
  try {
39
  foreach ($LogIds as $id) {
40
  $log = Mage::getModel('wwebwinkelconnect/log')->load($id)->delete();
41
  }
42
+ Mage::getSingleton('adminhtml/session')->addSuccess(Mage::helper('webwinkelconnect')->__('Total of %d log record(s) deleted.', count($LogIds)));
43
  } catch (Exception $e) {
44
  Mage::getSingleton('adminhtml/session')->addError($e->getMessage());
45
  }
48
  }
49
 
50
  public function cleanAction() {
51
+ $enabled = Mage::getStoreConfig('webwinkelconnect/log/clean');
52
+ $days = Mage::getStoreConfig('webwinkelconnect/log/clean_days');
53
  $i = 0;
54
  if(($enabled) && ($days > 0)) {
55
+ $logmodel = Mage::getModel('webwinkelconnect/log');
56
  $deldate = date('Y-m-d', strtotime('-' . $days . ' days'));
57
  $logs = $logmodel->getCollection()->addFieldToSelect('id')->addFieldToFilter('date', array('lteq' => $deldate));
58
  foreach ($logs as $log) {
59
  $logmodel->load($log->getId())->delete();
60
  $i++;
61
  }
62
+ Mage::getSingleton('adminhtml/session')->addSuccess(Mage::helper('webwinkelconnect')->__('Total of %s log record(s) deleted.', $i));
63
  }
64
  $this->_redirect('*/*/index');
65
  }
app/code/local/Magmodules/Webwinkelconnect/etc/config.xml CHANGED
@@ -24,7 +24,7 @@
24
  <config>
25
  <modules>
26
  <Magmodules_Webwinkelconnect>
27
- <version>1.0.1</version>
28
  </Magmodules_Webwinkelconnect>
29
  </modules>
30
  <global>
24
  <config>
25
  <modules>
26
  <Magmodules_Webwinkelconnect>
27
+ <version>1.0.2</version>
28
  </Magmodules_Webwinkelconnect>
29
  </modules>
30
  <global>
app/code/local/Magmodules/Webwinkelconnect/etc/system.xml CHANGED
@@ -567,14 +567,14 @@
567
  </fields>
568
  </log>
569
  <snippets translate="label">
570
- <label>WebwinkelKeur Rich Snippets</label>
571
  <frontend_type>text</frontend_type>
572
  <sort_order>10</sort_order>
573
  <show_in_default>1</show_in_default>
574
  <show_in_website>1</show_in_website>
575
  <show_in_store>1</show_in_store>
576
  <expanded>1</expanded>
577
- <comment><![CDATA[Rich Snippets is a schema.org markup that makes it possible to give richer and more specific information. <br/> The Rich Snippets will show your store rating in the google search engine results. <br/><br/>Use: {{block type="webwinkelconnect/snippets" name="webwinkelsnippets"}} to call the block on the homepage.<br/><br/>]]></comment>
578
  </snippets>
579
  </groups>
580
  </webwinkelconnect>
567
  </fields>
568
  </log>
569
  <snippets translate="label">
570
+ <label>WebwinkelKeur Custom Blocks</label>
571
  <frontend_type>text</frontend_type>
572
  <sort_order>10</sort_order>
573
  <show_in_default>1</show_in_default>
574
  <show_in_website>1</show_in_website>
575
  <show_in_store>1</show_in_store>
576
  <expanded>1</expanded>
577
+ <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><p><br><strong>The Rich Snippets Block.<br></strong>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="webwinkelconnect/snippets" name="webwinkelsnippets"}}</p><p><br><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/webwinkelconnect/widget/custom.phtml</p><p>Code: {{block type="webwinkelconnect/custom" name="webwinkelkeur"}}</p>]]></comment>
578
  </snippets>
579
  </groups>
580
  </webwinkelconnect>
app/design/frontend/base/default/layout/magmodules_webwinkelconnect.xml CHANGED
@@ -33,7 +33,7 @@
33
  </webwinkelconnect_index_index>
34
  <cms_index_index>
35
  <reference name="head">
36
- <action method="addCss"><stylesheet>magmodules/webwinkelconnect/richsnippters.css</stylesheet></action>
37
  </reference>
38
  </cms_index_index>
39
  </layout>
33
  </webwinkelconnect_index_index>
34
  <cms_index_index>
35
  <reference name="head">
36
+ <action method="addCss"><stylesheet>magmodules/webwinkelconnect/richsnippets.css</stylesheet></action>
37
  </reference>
38
  </cms_index_index>
39
  </layout>
app/design/frontend/base/default/template/magmodules/webwinkelconnect/index.phtml CHANGED
@@ -30,7 +30,7 @@
30
  <h1><?php echo $this->__('WebwinkelKeur'); ?></h1>
31
  <?php if(Mage::getStoreConfig('webwinkelconnect/general/url')): ?>
32
  <?php if(Mage::getStoreConfig('webwinkelconnect/frontend/enabled')): ?>
33
- <button class="button webwinkelconnectAddReview">
34
  <span>
35
  <span>
36
  <?php echo $this->__('Write review');?>
30
  <h1><?php echo $this->__('WebwinkelKeur'); ?></h1>
31
  <?php if(Mage::getStoreConfig('webwinkelconnect/general/url')): ?>
32
  <?php if(Mage::getStoreConfig('webwinkelconnect/frontend/enabled')): ?>
33
+ <button class="button webwinkelkeurAddReview">
34
  <span>
35
  <span>
36
  <?php echo $this->__('Write review');?>
app/design/frontend/base/default/template/magmodules/webwinkelconnect/sidebar/js-sidebar.phtml CHANGED
@@ -19,23 +19,22 @@
19
  * @copyright Copyright (c) 2014 (http://www.magmodules.eu)
20
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
21
  */
22
-
23
  $webwinkelconnect_id = (int)Mage::getStoreConfig('webwinkelconnect/general/api_id');
24
- $enabled = Mage::getStoreConfig('webwinkelconnect/general/enabled');
25
- $js_enabled = Mage::getStoreConfig('webwinkelconnect/frontend/enabled');
26
- $sidebar = (Mage::getStoreConfig('webwinkelconnect/frontend/sidebar') ? 'true' : 'false');
27
- $tooltip = (Mage::getStoreConfig('webwinkelconnect/frontend/tooltip') ? 'true' : 'false');
28
- $sidebar_position = Mage::getStoreConfig('webwinkelconnect/frontend/sidebar_position');
29
- $sidebar_top = Mage::getStoreConfig('webwinkelconnect/frontend/sidebar_height');
30
  ?>
31
  <?php if($webwinkelconnect_id && $js_enabled): ?>
32
  <script type="text/javascript">
33
  (function() {
34
- _webwinkelconnect_id = <?php echo $webwinkelconnect_id; ?>;
35
- _webwinkelconnect_sidebar = <?php echo $sidebar; ?>;
36
- _webwinkelconnect_tooltip = <?php echo $tooltip; ?>;
37
- _webwinkelconnect_sidebar_position = '<?php echo $sidebar_position; ?>';
38
- _webwinkelconnect_sidebar_top = '<?php echo $sidebar_top; ?>';
39
  var js = document.createElement("script");
40
  js.type = "text/javascript";
41
  js.async = true;
19
  * @copyright Copyright (c) 2014 (http://www.magmodules.eu)
20
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
21
  */
 
22
  $webwinkelconnect_id = (int)Mage::getStoreConfig('webwinkelconnect/general/api_id');
23
+ $enabled = Mage::getStoreConfig('webwinkelconnect/general/enabled');
24
+ $js_enabled = Mage::getStoreConfig('webwinkelconnect/frontend/enabled');
25
+ $sidebar = (Mage::getStoreConfig('webwinkelconnect/frontend/sidebar') ? 'true' : 'false');
26
+ $tooltip = (Mage::getStoreConfig('webwinkelconnect/frontend/tooltip') ? 'true' : 'false');
27
+ $sidebar_position = Mage::getStoreConfig('webwinkelconnect/frontend/sidebar_position');
28
+ $sidebar_top = Mage::getStoreConfig('webwinkelconnect/frontend/sidebar_height');
29
  ?>
30
  <?php if($webwinkelconnect_id && $js_enabled): ?>
31
  <script type="text/javascript">
32
  (function() {
33
+ _webwinkelkeur_id = <?php echo $webwinkelconnect_id; ?>;
34
+ _webwinkelkeur_sidebar = <?php echo $sidebar; ?>;
35
+ _webwinkelkeur_tooltip = <?php echo $tooltip; ?>;
36
+ _webwinkelkeur_sidebar_position = '<?php echo $sidebar_position; ?>';
37
+ _webwinkelkeur_sidebar_top = '<?php echo $sidebar_top; ?>';
38
  var js = document.createElement("script");
39
  js.type = "text/javascript";
40
  js.async = true;
app/design/frontend/base/default/template/magmodules/webwinkelconnect/widget/custom.phtml ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_Webwinkelconnect
18
+ * @author Magmodules <info@magmodules.eu)
19
+ * @copyright Copyright (c) 2014 (http://www.magmodules.eu)
20
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
21
+ */
22
+
23
+ // Load data
24
+ $enabled = $this->getWebwinkelconnectEnabled();
25
+ $data = $this->getWebwinkelconnectData();
26
+
27
+ // All available data
28
+ $company = $data->getCompany();
29
+ $avarage = $data->getAvarage();
30
+ $avarage_stars = $data->getAvarageStars();
31
+ $percentage_positive = $data->getPercentagePositive();
32
+ $number_positive = $data->getNumberPositive();
33
+ $percentage_neutral = $data->getPercentageNeutral();
34
+ $number_neutral = $data->getNumberNeutral();
35
+ $percentage_negative = $data->getPercentageNegative();
36
+ $number_negative = $data->getNumberNegative();
37
+ $percentage = $data->getPercentage();
38
+ $stars_qty = $data->getStarsQty();
39
+
40
+ ?>
41
+ <?php if($enabled) { ?>
42
+ <div class="webwinkelconnect-custom">
43
+ <div class="client">Klanten vinden <?php echo $company; ?> goed!</div>
44
+ <div class="rating-box">
45
+ <div class="rating" style="width:<?php echo $percentage; ?>%"> </div>
46
+ </div>
47
+ <div class="number">o.b.v. <?php echo $number_positive; ?> klanten</div>
48
+ </div>
49
+ <?php } ?>
app/locale/en_US/Magmodules_Webwinkelconnect.csv CHANGED
@@ -81,6 +81,7 @@
81
  "Set to invisible","Set to invisible"
82
  "Set to visible","Set to visible"
83
  "Add to Sidebar","Add to Sidebar"
 
84
  "Remove from Sidebar","Remove from Sidebar"
85
  "Are you sure you want to delete all reviews?","Are you sure you want to delete all reviews?"
86
  "Are you sure you want to cleanup logfiles?","Are you sure you want to cleanup logfiles?"
@@ -105,4 +106,6 @@
105
  "Price / Quality,"Price / Quality"
106
  "Aftersales","Aftersales"
107
  "Rating %s based on %s customer reviews,"Rating %s based on %s customer reviews"
108
- "Based on %s reviews","Based on %s reviews"
 
 
81
  "Set to invisible","Set to invisible"
82
  "Set to visible","Set to visible"
83
  "Add to Sidebar","Add to Sidebar"
84
+ "We can import your customer reviews and display them in your store as new content. <br/><br/> Link: http://www.mywebshop.com/<strong>webwinkelconnect</strong><br/><br/>","We can import your customer reviews and display them in your store as new content. <br/><br/> Link: http://www.mywebshop.com/<strong>webwinkelconnect</strong><br/><br/>"
85
  "Remove from Sidebar","Remove from Sidebar"
86
  "Are you sure you want to delete all reviews?","Are you sure you want to delete all reviews?"
87
  "Are you sure you want to cleanup logfiles?","Are you sure you want to cleanup logfiles?"
106
  "Price / Quality,"Price / Quality"
107
  "Aftersales","Aftersales"
108
  "Rating %s based on %s customer reviews,"Rating %s based on %s customer reviews"
109
+ "Based on %s reviews","Based on %s reviews"
110
+ "WebwinkelKeur Custom Blocks","WebwinkelKeur Custom Blocks"
111
+ "<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><p><br><strong>The Rich Snippets Block.<br></strong>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=""webwinkelconnect/snippets"" name=""webwinkelsnippets""}}</p><p><br><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/webwinkelconnect/widget/custom.phtml</p><p>Code: {{block type=""webwinkelconnect/custom"" name=""webwinkelkeur""}}</p>","<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><p><br><strong>The Rich Snippets Block.<br></strong>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=""webwinkelconnect/snippets"" name=""webwinkelsnippets""}}</p><p><br><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/webwinkelconnect/widget/custom.phtml</p><p>Code: {{block type=""webwinkelconnect/custom"" name=""webwinkelkeur""}}</p>"
app/locale/nl_NL/Magmodules_Webwinkelconnect.csv CHANGED
@@ -2,6 +2,7 @@
2
  "You can find the necessary information in your WebwinkelKeur dashboard bottom of the page -Place WebwinkelKeur mark- <br/> As addition next to the activation of this extension we also recommend you to place the appropriate WebwinkelKeur logo and banner.<br/><br/>","U vindt de nodige gegevens in uw WebwinkelKeur dashboard onderaan de pagina onder <strong>Keurmerk plaatsen.</strong> <br/>Naast het activeren van deze module raden wij u ook aan om handmatig nog het nodige logo en bannermateriaal te plaatsen voor een goede conversie. <br/><br/>"
3
  "Enabled","Enabled"
4
  "API CREDENTIALS","API Gegevens"
 
5
  "Webshop ID","Webshop ID"
6
  "API Key","API Sleutel"
7
  "URL","URL"
@@ -80,6 +81,7 @@
80
  "Delete all reviews","Verwijder alle recensies"
81
  "Set to invisible","Deactiveer"
82
  "Set to visible","Activeer"
 
83
  "Add to Sidebar","Plaats in Sidebar"
84
  "Remove from Sidebar","Verwijder uit Sidebar"
85
  "Are you sure you want to delete all reviews?","Weet je zeker dat je alle beoordelingen wilt verwijderen?"
@@ -105,4 +107,6 @@
105
  "Price / Quality,"Prijs / Kwaliteit"
106
  "Aftersales","Service"
107
  "Rating %s based on %s customer reviews,"Beoordeling %s is op basis van %s klant beoordelingen"
108
- "Based on %s reviews","Gebaseerd op %s beoordelingen"
 
 
2
  "You can find the necessary information in your WebwinkelKeur dashboard bottom of the page -Place WebwinkelKeur mark- <br/> As addition next to the activation of this extension we also recommend you to place the appropriate WebwinkelKeur logo and banner.<br/><br/>","U vindt de nodige gegevens in uw WebwinkelKeur dashboard onderaan de pagina onder <strong>Keurmerk plaatsen.</strong> <br/>Naast het activeren van deze module raden wij u ook aan om handmatig nog het nodige logo en bannermateriaal te plaatsen voor een goede conversie. <br/><br/>"
3
  "Enabled","Enabled"
4
  "API CREDENTIALS","API Gegevens"
5
+ "View all reviews","Lees alle beoordelingen"
6
  "Webshop ID","Webshop ID"
7
  "API Key","API Sleutel"
8
  "URL","URL"
81
  "Delete all reviews","Verwijder alle recensies"
82
  "Set to invisible","Deactiveer"
83
  "Set to visible","Activeer"
84
+ "We can import your customer reviews and display them in your store as new content. <br/><br/> Link: http://www.mywebshop.com/<strong>webwinkelconnect</strong><br/><br/>","Importeer bestaande klantbeoordelingen en toon deze in de webwinkel als nieuwe content.<br/><br/> Link: http://www.mijnwebwinkel.nl/<strong>webwinkelconnect</strong><br/><br/>"
85
  "Add to Sidebar","Plaats in Sidebar"
86
  "Remove from Sidebar","Verwijder uit Sidebar"
87
  "Are you sure you want to delete all reviews?","Weet je zeker dat je alle beoordelingen wilt verwijderen?"
107
  "Price / Quality,"Prijs / Kwaliteit"
108
  "Aftersales","Service"
109
  "Rating %s based on %s customer reviews,"Beoordeling %s is op basis van %s klant beoordelingen"
110
+ "Based on %s reviews","Gebaseerd op %s beoordelingen"
111
+ "WebwinkelKeur Custom Blocks","WebwinkelKeur Blokken"
112
+ "<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><p><br><strong>The Rich Snippets Block.<br></strong>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=""webwinkelconnect/snippets"" name=""webwinkelsnippets""}}</p><p><br><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/webwinkelconnect/widget/custom.phtml</p><p>Code: {{block type=""webwinkelconnect/custom"" name=""webwinkelkeur""}}</p>","<p><strong>Rich Snippets Blok.<br></strong>Toon de webwinkel-waardering met in blok en genereer hiermee de zogenaamde Rich Snippets waarbij de winkelbeoordelingen worden getoond in de Zoekmachine resultaten van bijvoorbeeld Google.<br>Plaat de onderstaande code op de gewenste plaats in een statische blok of een CMS-pagina.</p> <p>De code: {{block type=""webwinkelconnect/snippets"" name=""webwinkelsnippets""}}</p><p><br><strong>Custom Blok.<br> </strong>Met dit custom blok is het mogelijk om eenvoudig een eigen blok creëren met daarin verschillende waardes als het aantal klanbeoordelingen, bedrijfsnaam en gemiddelde rating. Plaats de onderstaande code op de gewenste plek in een statisch blok of een CMS-pagina. Om dit blok naar wens te bewerken en eventueel aan te vullen met de geweneste informatie is het mogelijk om het .phtml bestand aan te passen. Deze is te vinden via de volgende path: app/design/frontend/base/default/template/magmodules/webwinkelconnect/widget/custom.phtml </p><p>De code: {{block type=""webwinkelconnect/custom"" name=""webwinkelkeur""}}</p>"
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Magmodules_Webwinkelconnect</name>
4
- <version>1.0.1</version>
5
  <stability>stable</stability>
6
  <license/>
7
  <channel>community</channel>
@@ -10,9 +10,9 @@
10
  <description>Connect your Magento shop to Webwinkelkeur</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>2014-09-26</date>
14
- <time>18:03:05</time>
15
- <contents><target name="magelocal"><dir name="Magmodules"><dir name="Webwinkelconnect"><dir name="Block"><dir name="Adminhtml"><dir name="Webwinkellog"><file name="Grid.php" hash="c44f56ed659faa368e0b9d62036840de"/></dir><dir name="Webwinkelreviews"><dir name="Renderer"><file name="Experience.php" hash="aada48c75ea91d244b7b9c92cd00120f"/></dir><file name="Grid.php" hash="5577ba977b99624150b4939842aa301b"/></dir><dir name="Widget"><dir name="Buttons"><file name="Process.php" hash="4787bbaffd410554364ff4a5e1e63ac9"/><file name="Test.php" hash="b2b5c607bfac5cabd2a588ed38322749"/></dir><dir name="Form"><file name="Heading.php" hash="02e3828635cace2d0b9e027b83cd06ed"/></dir><dir name="Grid"><file name="Log.php" hash="e04aa72633771e2b6d1213b8913f7b2b"/><file name="Seconds.php" hash="10dcf6a7640efa9fbcf7ef6ae7e9ae43"/><file name="Stars.php" hash="85ad993421de14fab686d52a8fa950f6"/></dir><dir name="Info"><file name="Info.php" hash="71f073cdd6108df2e49bf16603345f99"/></dir></dir><file name="Webwinkellog.php" hash="f612e6364574f05f809824fd8a38da88"/><file name="Webwinkelreviews.php" hash="36cf79d85b2253aabbe09c0b56d120cd"/></dir><file name="Reviews.php" hash="d0bcb2f320b5467c8562352f5c99ed61"/><file name="Sidebar.php" hash="bcfdd06aecd665e96e27ec49e14ee5cf"/><file name="Snippets.php" hash="1535a7bfbf96eddda9f69e2abb89d01d"/></dir><dir name="Helper"><file name="Data.php" hash="6a8186a71b8c8622975a944c5da0bb23"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Log"><file name="Collection.php" hash="89243624a30bf222d0b8dfb2fac1b081"/></dir><dir name="Reviews"><file name="Collection.php" hash="ce9a3bafe5fa02c3d9c6582dd5beb756"/></dir><dir name="Stats"><file name="Collection.php" hash="6fdca00a42531fea30c1c0dcd2a92ca4"/></dir><file name="Log.php" hash="dadc9bb908ece8dd9132f4def52615bd"/><file name="Reviews.php" hash="83035fb0362d9b70e082976fd5442aa6"/><file name="Stats.php" hash="0ef2b3d186d79366824ba278575d3fd5"/></dir><dir name="System"><dir name="Config"><dir name="Source"><file name="Cronfrequency.php" hash="fd8c061c265d3c4ad1c3c3dcadd8abb0"/><file name="Orderstatus.php" hash="d31db8b504538d0708c180edae7ec718"/><file name="Position.php" hash="c8982d5dd8175146c93b813d3f001360"/><file name="Sidebarlink.php" hash="2161d465770d7d8e605340a2dfb67b08"/></dir></dir></dir><file name="Api.php" hash="73d5536c55c55d3ac3448f55334ed059"/><file name="Log.php" hash="853c8f468509bf73114d626d6f72150d"/><file name="Observer.php" hash="c71a18f69ec7016894c50b88cf9a7328"/><file name="Reviews.php" hash="58cd41469de30e84e8f297d5fee0ca17"/><file name="Stats.php" hash="1f7abb4254e239a39492116aec4675b2"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="WebwinkellogController.php" hash="59bda6fbff7516d06f850f09743f9384"/><file name="WebwinkelreviewsController.php" hash="42ce9e509c114798d086ebc3c92da125"/></dir><file name="IndexController.php" hash="ada8a868046d0c0709d30299a9615bfc"/></dir><dir name="etc"><file name="adminhtml.xml" hash="5113fa81b039a4ae285f6252a91b6028"/><file name="config.xml" hash="12847e3a71ac7849abdec9326ab5bd45"/><file name="system.xml" hash="7db3a944b77626a1f5e5027a546b474d"/></dir><dir name="sql"><dir name="webwinkelconnect_setup"><file name="mysql4-install-1.0.1.php" hash="456058215ad80f59ec71e74d8f1af075"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="magmodules_webwinkelconnect.xml" hash="86d8211d7452cbd78f49d9fd1dfa51d0"/></dir><dir name="template"><dir name="magmodules"><dir name="webwinkelconnect"><dir name="sidebar"><file name="js-sidebar.phtml" hash="ee733a2517bfee9fd0961238a1c80409"/><file name="left.phtml" hash="192aa7247f9c6465c4d707a308eca2ee"/><file name="right.phtml" hash="71f0db4084f733eb802db5801af6d699"/></dir><dir name="widget"><file name="richsnippets.phtml" hash="980cffd98d6389bed62deea40c91a4ab"/></dir><file name="index.phtml" hash="f5d28a3463c2364fafb7283ba3b14eec"/></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="magmodules_webwinkelconnect.xml" hash="34b4d3252daa7c80d230b049e0b73311"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Magmodules_Webwinkelconnect.xml" hash="1784309611987476302cb191d4da009d"/></dir></target><target name="magelocale"><dir name="en_US"><file name="Magmodules_Webwinkelconnect.csv" hash="5ef900722ad9a3d120b38198e2918aad"/></dir><dir name="nl_NL"><file name="Magmodules_Webwinkelconnect.csv" hash="a74791935787c54dc6137d3b3ec1a385"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="magmodules"><dir name="webwinkelconnect"><dir name="images"><file name="5-stars-empty.png" hash="799c499ca785331e7e69d892df52dd48"/><file name="5-stars-full.png" hash="1d06151a2c4da6bb71381538c8a903a5"/><file name="greystar.png" hash="ab99888c7a8f47826ad7a83bcabf9130"/><file name="star.png" hash="647c77f0ef881fb2a90a4f53f70d75fa"/></dir><file name="richsnippets.css" hash="b2370d97684a2fa2fbc42fb6de470e42"/><file name="sidebar.css" hash="693d0e64b19f6c41afe82778c926432e"/><file name="style.css" hash="9047c69ebfb5d797511224cf5bb4fb49"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="magmodules"><dir name="webwinkelconnect"><file name="grid.css" hash="ce720c1772a8176eabf3866fcd83bb7a"/><file name="star.png" hash="4beacfb62ebdd5feecd946494e895f4c"/></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Magmodules_Webwinkelconnect</name>
4
+ <version>1.0.2</version>
5
  <stability>stable</stability>
6
  <license/>
7
  <channel>community</channel>
10
  <description>Connect your Magento shop to Webwinkelkeur</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>2014-10-05</date>
14
+ <time>12:10:33</time>
15
+ <contents><target name="magelocal"><dir name="Magmodules"><dir name="Webwinkelconnect"><dir name="Block"><dir name="Adminhtml"><dir name="Webwinkellog"><file name="Grid.php" hash="c44f56ed659faa368e0b9d62036840de"/></dir><dir name="Webwinkelreviews"><dir name="Renderer"><file name="Experience.php" hash="aada48c75ea91d244b7b9c92cd00120f"/></dir><file name="Grid.php" hash="5577ba977b99624150b4939842aa301b"/></dir><dir name="Widget"><dir name="Buttons"><file name="Process.php" hash="4787bbaffd410554364ff4a5e1e63ac9"/><file name="Test.php" hash="b2b5c607bfac5cabd2a588ed38322749"/></dir><dir name="Form"><file name="Heading.php" hash="02e3828635cace2d0b9e027b83cd06ed"/></dir><dir name="Grid"><file name="Log.php" hash="e04aa72633771e2b6d1213b8913f7b2b"/><file name="Seconds.php" hash="10dcf6a7640efa9fbcf7ef6ae7e9ae43"/><file name="Stars.php" hash="85ad993421de14fab686d52a8fa950f6"/></dir><dir name="Info"><file name="Info.php" hash="71f073cdd6108df2e49bf16603345f99"/></dir></dir><file name="Webwinkellog.php" hash="f612e6364574f05f809824fd8a38da88"/><file name="Webwinkelreviews.php" hash="36cf79d85b2253aabbe09c0b56d120cd"/></dir><file name="Custom.php" hash="c63942e28751a786790952f2838223bf"/><file name="Reviews.php" hash="d0bcb2f320b5467c8562352f5c99ed61"/><file name="Sidebar.php" hash="8e9e5ffaff528af96ec0c3fcd856758f"/><file name="Snippets.php" hash="1535a7bfbf96eddda9f69e2abb89d01d"/></dir><dir name="Helper"><file name="Data.php" hash="6a8186a71b8c8622975a944c5da0bb23"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Log"><file name="Collection.php" hash="89243624a30bf222d0b8dfb2fac1b081"/></dir><dir name="Reviews"><file name="Collection.php" hash="ce9a3bafe5fa02c3d9c6582dd5beb756"/></dir><dir name="Stats"><file name="Collection.php" hash="6fdca00a42531fea30c1c0dcd2a92ca4"/></dir><file name="Log.php" hash="dadc9bb908ece8dd9132f4def52615bd"/><file name="Reviews.php" hash="83035fb0362d9b70e082976fd5442aa6"/><file name="Stats.php" hash="0ef2b3d186d79366824ba278575d3fd5"/></dir><dir name="System"><dir name="Config"><dir name="Source"><file name="Cronfrequency.php" hash="fd8c061c265d3c4ad1c3c3dcadd8abb0"/><file name="Orderstatus.php" hash="d31db8b504538d0708c180edae7ec718"/><file name="Position.php" hash="c8982d5dd8175146c93b813d3f001360"/><file name="Sidebarlink.php" hash="2161d465770d7d8e605340a2dfb67b08"/></dir></dir></dir><file name="Api.php" hash="73d5536c55c55d3ac3448f55334ed059"/><file name="Log.php" hash="853c8f468509bf73114d626d6f72150d"/><file name="Observer.php" hash="cc23d646dbb035e237e268311e1662e0"/><file name="Reviews.php" hash="58cd41469de30e84e8f297d5fee0ca17"/><file name="Stats.php" hash="1f7abb4254e239a39492116aec4675b2"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="WebwinkellogController.php" hash="e95152405a256d1fbb96188e2272dcbb"/><file name="WebwinkelreviewsController.php" hash="42ce9e509c114798d086ebc3c92da125"/></dir><file name="IndexController.php" hash="ada8a868046d0c0709d30299a9615bfc"/></dir><dir name="etc"><file name="adminhtml.xml" hash="5113fa81b039a4ae285f6252a91b6028"/><file name="config.xml" hash="77d3fc7bd067a721e55c705cb0835393"/><file name="system.xml" hash="90851a3873cbbb3fad785069433fde7f"/></dir><dir name="sql"><dir name="webwinkelconnect_setup"><file name="mysql4-install-1.0.1.php" hash="456058215ad80f59ec71e74d8f1af075"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="magmodules_webwinkelconnect.xml" hash="dfa6e4fc20b2afd2f6195b6b0edd0f84"/></dir><dir name="template"><dir name="magmodules"><dir name="webwinkelconnect"><dir name="sidebar"><file name="js-sidebar.phtml" hash="24f9f033fd87089371d212b18a600130"/><file name="left.phtml" hash="192aa7247f9c6465c4d707a308eca2ee"/><file name="right.phtml" hash="71f0db4084f733eb802db5801af6d699"/></dir><dir name="widget"><file name="custom.phtml" hash="c71e537fe9f4650086afce3b59cb32aa"/><file name="richsnippets.phtml" hash="980cffd98d6389bed62deea40c91a4ab"/></dir><file name="index.phtml" hash="266bf7361d534bd05d3e0c6ffec2858e"/></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="magmodules_webwinkelconnect.xml" hash="34b4d3252daa7c80d230b049e0b73311"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Magmodules_Webwinkelconnect.xml" hash="1784309611987476302cb191d4da009d"/></dir></target><target name="magelocale"><dir name="en_US"><file name="Magmodules_Webwinkelconnect.csv" hash="fc5f3b007a3b74060283d081ccca56ca"/></dir><dir name="nl_NL"><file name="Magmodules_Webwinkelconnect.csv" hash="367e264034d172f9d955206988a9ba58"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="magmodules"><dir name="webwinkelconnect"><dir name="images"><file name="5-stars-empty.png" hash="799c499ca785331e7e69d892df52dd48"/><file name="5-stars-full.png" hash="1d06151a2c4da6bb71381538c8a903a5"/><file name="greystar.png" hash="ab99888c7a8f47826ad7a83bcabf9130"/><file name="star.png" hash="647c77f0ef881fb2a90a4f53f70d75fa"/></dir><file name="richsnippets.css" hash="b2370d97684a2fa2fbc42fb6de470e42"/><file name="sidebar.css" hash="2ce0e0147ac565e6819a43fd68ea331e"/><file name="style.css" hash="f58b58fa6bdab0022c5e8ebca8c86d67"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="magmodules"><dir name="webwinkelconnect"><file name="grid.css" hash="ce720c1772a8176eabf3866fcd83bb7a"/><file name="star.png" hash="4beacfb62ebdd5feecd946494e895f4c"/></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>
skin/frontend/base/default/magmodules/webwinkelconnect/sidebar.css CHANGED
@@ -40,4 +40,32 @@
40
  .total-block-text p { text-align: center; padding-top: 5px; margin-bottom: 2px; font-size: 18px; }
41
  .total-block-text p.based-on { text-align: center; padding-top: 0px; font-size: 11px; font-style: italic; }
42
  .total-block-stars { height: 35px; width: 188px; background: url('./images/5-stars-empty.png') no-repeat; margin: 5px auto; }
43
- .total-block-stars span{ display: block; height: 50px; background: url('./images/5-stars-full.png') no-repeat; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
40
  .total-block-text p { text-align: center; padding-top: 5px; margin-bottom: 2px; font-size: 18px; }
41
  .total-block-text p.based-on { text-align: center; padding-top: 0px; font-size: 11px; font-style: italic; }
42
  .total-block-stars { height: 35px; width: 188px; background: url('./images/5-stars-empty.png') no-repeat; margin: 5px auto; }
43
+ .total-block-stars span{ display: block; height: 50px; background: url('./images/5-stars-full.png') no-repeat; }
44
+
45
+
46
+ /* CUSTOM BLOCK */
47
+ .webwinkelconnect-custom {
48
+ font-weight: bold;
49
+ font-size: 13px;
50
+ display: block;
51
+ border: .25em solid #eee;
52
+ background: #f6f6f6;
53
+ padding: 1.0em;
54
+ width: 30%;
55
+ text-align: center;
56
+ }
57
+
58
+ .webwinkelconnect-custom .client {
59
+ font-size: 16px;
60
+ }
61
+
62
+ .webwinkelconnect-custom .rating-box {
63
+ margin-left: 40%;
64
+ margin-top: 10px;
65
+ margin-bottom: 10px;
66
+ }
67
+ .webwinkelconnect-custom .number {
68
+ font-size: 11px;
69
+ font-style: italic;
70
+ font-weight: 300;
71
+ }
skin/frontend/base/default/magmodules/webwinkelconnect/style.css CHANGED
@@ -121,3 +121,11 @@
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; }
 
 
 
 
 
 
 
 
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; }
124
+
125
+ /* CUSTOM BLOCK */
126
+ .webwinkelconnect-custom {
127
+ font-weight: bold;
128
+ font-size:18px;
129
+ display: block;
130
+ margin-bottom: 2px;
131
+ }