lipscore - Version 1.2.22

Version Notes

Product identification by shop's internal product ID.
Minor fixes.

Download this release

Release Info

Developer Henning Frettem
Extension lipscore
Version 1.2.22
Comparing to
See all releases


Code changes from version 1.2.21 to 1.2.22

app/code/community/Lipscore/RatingsReviews/Block/Review/Single.php ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Lipscore_RatingsReviews_Block_Review_Single extends Mage_Review_Block_Helper
4
+ {
5
+ protected $_template = 'lipscore/reviews/view_single.phtml';
6
+ }
app/code/community/Lipscore/RatingsReviews/Block/Review/{TabTitle.php → Tabtitle.php} RENAMED
@@ -1,6 +1,6 @@
1
  <?php
2
 
3
- class Lipscore_RatingsReviews_Block_Review_TabTitle extends Mage_Review_Block_Helper
4
  {
5
  protected $_template = 'lipscore/reviews/tab_title.phtml';
6
  }
1
  <?php
2
 
3
+ class Lipscore_RatingsReviews_Block_Review_Tabtitle extends Mage_Review_Block_Helper
4
  {
5
  protected $_template = 'lipscore/reviews/tab_title.phtml';
6
  }
app/code/community/Lipscore/RatingsReviews/Helper/Product.php CHANGED
@@ -23,16 +23,14 @@ class Lipscore_RatingsReviews_Helper_Product extends Lipscore_RatingsReviews_Hel
23
  {
24
  $product or $product = Mage::registry('product');
25
 
26
- $idType = $this->_lipscoreConfig->identifierType();
27
- $idAttr = $this->_lipscoreConfig->identifierAttr();
28
  $brandAttr = $this->_lipscoreConfig->brandAttr();
29
 
30
  return array(
31
- 'name' => $product->getName(),
32
- 'brand' => $this->_getAttributeValue($product, $brandAttr),
33
- 'idType' => $idType,
34
- 'id' => $this->_getAttributeValue($product, $idAttr),
35
- 'url' => $product->getProductUrl()
36
  );
37
  }
38
 
23
  {
24
  $product or $product = Mage::registry('product');
25
 
 
 
26
  $brandAttr = $this->_lipscoreConfig->brandAttr();
27
 
28
  return array(
29
+ 'name' => $product->getName(),
30
+ 'brand' => $this->_getAttributeValue($product, $brandAttr),
31
+ 'sku' => $this->_getAttributeValue($product, 'sku'),
32
+ 'internalId' => "{$product->getId()}",
33
+ 'url' => $product->getProductUrl()
34
  );
35
  }
36
 
app/code/community/Lipscore/RatingsReviews/Helper/Reminder.php CHANGED
@@ -52,11 +52,11 @@ class Lipscore_RatingsReviews_Helper_Reminder extends Lipscore_RatingsReviews_He
52
  {
53
  $data = $this->productHelper->getProductData($product);
54
  return array(
55
- 'name' => $data['name'],
56
- 'brand' => $data['brand'],
57
- 'id_type' => $data['idType'],
58
- 'id_values' => array($data['id']),
59
- 'url' => $data['url'],
60
  );
61
  }
62
 
52
  {
53
  $data = $this->productHelper->getProductData($product);
54
  return array(
55
+ 'name' => $data['name'],
56
+ 'brand' => $data['brand'],
57
+ 'sku_values' => array($data['sku']),
58
+ 'internal_id' => $data['internalId'],
59
+ 'url' => $data['url'],
60
  );
61
  }
62
 
app/code/community/Lipscore/RatingsReviews/Model/Config.php CHANGED
@@ -4,7 +4,6 @@ class Lipscore_RatingsReviews_Model_Config
4
  {
5
  protected static $_systemConfigs = array(
6
  'coupon' => 'lipscore_coupons/coupons/',
7
- 'identifier' => 'lipscore_general/product_identifier/',
8
  'brand' => 'lipscore_general/product_brand/',
9
  'apiKey' => 'lipscore_general/api_key/',
10
  'locale' => 'lipscore_general/locale/',
@@ -76,16 +75,6 @@ class Lipscore_RatingsReviews_Model_Config
76
  return $this->get('attr', 'brand');
77
  }
78
 
79
- public function identifierType()
80
- {
81
- return $this->get('type', 'identifier');
82
- }
83
-
84
- public function identifierAttr()
85
- {
86
- return $this->get('attr', 'identifier');
87
- }
88
-
89
  public function lastTrackedVersion()
90
  {
91
  return $this->get('last_tracked_version', 'tracking');
4
  {
5
  protected static $_systemConfigs = array(
6
  'coupon' => 'lipscore_coupons/coupons/',
 
7
  'brand' => 'lipscore_general/product_brand/',
8
  'apiKey' => 'lipscore_general/api_key/',
9
  'locale' => 'lipscore_general/locale/',
75
  return $this->get('attr', 'brand');
76
  }
77
 
 
 
 
 
 
 
 
 
 
 
78
  public function lastTrackedVersion()
79
  {
80
  return $this->get('last_tracked_version', 'tracking');
app/code/community/Lipscore/RatingsReviews/Model/Observer.php CHANGED
@@ -78,13 +78,13 @@ class Lipscore_RatingsReviews_Model_Observer
78
  $html = $transport->getHtml();
79
 
80
  // set review title
81
- $titleBlock = $block->getLayout()->createBlock('lipscore_ratingsreviews/review_tabTitle');
82
  $html = str_replace(self::REVIEW_TITLE_PLACEHOLDER, $titleBlock->toHtml(), $html);
83
 
84
  // ensure that reviews block exists on a page
85
  $pos = strripos($html, 'lipscore-review-list');
86
  if ($pos === false) {
87
- $reviewsBlock = $block->getLayout()->createBlock('core/template', '', array('template' => 'lipscore/reviews/view.phtml'));
88
  $html .= $reviewsBlock->toHtml();
89
  }
90
 
78
  $html = $transport->getHtml();
79
 
80
  // set review title
81
+ $titleBlock = $block->getLayout()->createBlock('lipscore_ratingsreviews/review_tabtitle');
82
  $html = str_replace(self::REVIEW_TITLE_PLACEHOLDER, $titleBlock->toHtml(), $html);
83
 
84
  // ensure that reviews block exists on a page
85
  $pos = strripos($html, 'lipscore-review-list');
86
  if ($pos === false) {
87
+ $reviewsBlock = $block->getLayout()->createBlock('lipscore_ratingsreviews/review_single');
88
  $html .= $reviewsBlock->toHtml();
89
  }
90
 
app/code/community/Lipscore/RatingsReviews/Model/System/Config/Source/Identifiertype.php DELETED
@@ -1,16 +0,0 @@
1
- <?php
2
-
3
- class Lipscore_RatingsReviews_Model_System_Config_Source_Identifiertype
4
- {
5
- public function toOptionArray()
6
- {
7
- return array(
8
- array('value' => 'ean', 'label' => Mage::helper('adminhtml')->__('EAN')),
9
- array('value' => 'isbn', 'label' => Mage::helper('adminhtml')->__('ISBN')),
10
- array('value' => 'mbid', 'label' => Mage::helper('adminhtml')->__('MBID')),
11
- array('value' => 'mpn', 'label' => Mage::helper('adminhtml')->__('MPN')),
12
- array('value' => 'sku', 'label' => Mage::helper('adminhtml')->__('SKU')),
13
- array('value' => 'upc', 'label' => Mage::helper('adminhtml')->__('UPC')),
14
- );
15
- }
16
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Lipscore/RatingsReviews/Model/System/Config/Source/Productattr/Identifier.php DELETED
@@ -1,38 +0,0 @@
1
- <?php
2
-
3
- class Lipscore_RatingsReviews_Model_System_Config_Source_Productattr_Identifier
4
- {
5
- public function toOptionArray()
6
- {
7
- $attrs = array();
8
-
9
- try {
10
- $attrs = $this->_findAttrs();
11
- } catch (Exception $e) {
12
- Lipscore_RatingsReviews_Logger::logException($e);
13
- }
14
-
15
- return $attrs;
16
- }
17
-
18
- protected function _findAttrs()
19
- {
20
- $attrs = array();
21
-
22
- $collection = Mage::getResourceModel('catalog/product_attribute_collection')
23
- ->addStoreLabel(Mage::app()->getStore()->getId())
24
- ->addFieldToFilter('frontend_input', array('in' => array('text', 'select')))
25
- ->addVisibleFilter();
26
-
27
- if ($collection->getSize() > 0) {
28
- foreach ($collection->getItems() as $attr) {
29
- $attrs[] = array(
30
- 'value' => $attr->getAttributeCode(),
31
- 'label' => $attr->getStoreLabel()
32
- );
33
- }
34
- }
35
-
36
- return $attrs;
37
- }
38
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Lipscore/RatingsReviews/etc/config.xml CHANGED
@@ -145,11 +145,6 @@
145
  <api_key>889c3f3e4b6ac67269261324</api_key>
146
  <demo_api_key>889c3f3e4b6ac67269261324</demo_api_key>
147
  </api_key>
148
- <product_identifier>
149
- <type>sku</type>
150
- <attr>sku</attr>
151
- <brand>brand</brand>
152
- </product_identifier>
153
  <product_brand>
154
  <attr>brand</attr>
155
  </product_brand>
145
  <api_key>889c3f3e4b6ac67269261324</api_key>
146
  <demo_api_key>889c3f3e4b6ac67269261324</demo_api_key>
147
  </api_key>
 
 
 
 
 
148
  <product_brand>
149
  <attr>brand</attr>
150
  </product_brand>
app/code/community/Lipscore/RatingsReviews/etc/system.xml CHANGED
@@ -42,43 +42,6 @@
42
  </fields>
43
  </api_key>
44
 
45
- <product_identifier translate="label">
46
- <label>Product Identifier</label>
47
- <frontend_type>text</frontend_type>
48
- <sort_order>200</sort_order>
49
- <show_in_default>1</show_in_default>
50
- <show_in_website>1</show_in_website>
51
- <show_in_store>1</show_in_store>
52
- <expanded>1</expanded>
53
-
54
- <fields>
55
- <type translate="label comment">
56
- <label>Identifier Type</label>
57
- <frontend_type>select</frontend_type>
58
- <validate>required-entry</validate>
59
- <source_model>
60
- lipscore_ratingsreviews/system_config_source_identifiertype
61
- </source_model>
62
- <sort_order>10</sort_order>
63
- <show_in_default>1</show_in_default>
64
- <show_in_website>1</show_in_website>
65
- <show_in_store>1</show_in_store>
66
- </type>
67
- <attr translate="label comment">
68
- <label>Identifier Attribute</label>
69
- <frontend_type>select</frontend_type>
70
- <validate>required-entry</validate>
71
- <source_model>
72
- lipscore_ratingsreviews/system_config_source_productattr_identifier
73
- </source_model>
74
- <sort_order>20</sort_order>
75
- <show_in_default>1</show_in_default>
76
- <show_in_website>1</show_in_website>
77
- <show_in_store>1</show_in_store>
78
- </attr>
79
- </fields>
80
- </product_identifier>
81
-
82
  <product_brand translate="label">
83
  <label>Product Brand</label>
84
  <frontend_type>text</frontend_type>
42
  </fields>
43
  </api_key>
44
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
45
  <product_brand translate="label">
46
  <label>Product Brand</label>
47
  <frontend_type>text</frontend_type>
app/design/frontend/base/default/template/lipscore/purchase/view.phtml CHANGED
@@ -7,8 +7,8 @@
7
  ls-name="<?php echo $this->getCustomerName() ?>"
8
  ls-product-name="<?php echo $data['name'] ?>"
9
  ls-brand="<?php echo $data['brand'] ?>"
10
- ls-id-type="<?php echo $data['idType'] ?>"
11
- ls-id="<?php echo $data['id'] ?>"
12
  ls-product-url="<?php echo $data['url'] ?>"
13
  ls-voucher-code="<?php echo $this->getCouponCode() ?>"
14
  ls-voucher-descr="<?php echo $this->getCouponDescription() ?>">
7
  ls-name="<?php echo $this->getCustomerName() ?>"
8
  ls-product-name="<?php echo $data['name'] ?>"
9
  ls-brand="<?php echo $data['brand'] ?>"
10
+ ls-sku="<?php echo $data['sku'] ?>"
11
+ ls-product-id="<?php echo $data['internalId'] ?>"
12
  ls-product-url="<?php echo $data['url'] ?>"
13
  ls-voucher-code="<?php echo $this->getCouponCode() ?>"
14
  ls-voucher-descr="<?php echo $this->getCouponDescription() ?>">
app/design/frontend/base/default/template/lipscore/rating/view.phtml CHANGED
@@ -4,8 +4,8 @@
4
  <div <?php echo $this->getRatingType() ?>
5
  ls-product-name="<?php echo $_data['name'] ?>"
6
  ls-brand="<?php echo $_data['brand'] ?>"
7
- ls-id-type="<?php echo $_data['idType'] ?>"
8
- ls-id="<?php echo $_data['id'] ?>">
9
  </div>
10
  </div>
11
  <?php } else { ?>
4
  <div <?php echo $this->getRatingType() ?>
5
  ls-product-name="<?php echo $_data['name'] ?>"
6
  ls-brand="<?php echo $_data['brand'] ?>"
7
+ ls-sku="<?php echo $_data['sku'] ?>"
8
+ ls-product-id="<?php echo $_data['internalId'] ?>">
9
  </div>
10
  </div>
11
  <?php } else { ?>
app/design/frontend/base/default/template/lipscore/reviews/view.phtml CHANGED
@@ -4,14 +4,14 @@
4
  <div id="lipscore-review-post"
5
  ls-product-name="<?php echo $_data['name'] ?>"
6
  ls-brand="<?php echo $_data['brand'] ?>"
7
- ls-id-type="<?php echo $_data['idType'] ?>"
8
- ls-id="<?php echo $_data['id'] ?>">
9
  </div>
10
  <div id="lipscore-review-list"
11
  ls-product-name="<?php echo $_data['name'] ?>"
12
  ls-brand="<?php echo $_data['brand'] ?>"
13
- ls-id-type="<?php echo $_data['idType'] ?>"
14
- ls-id="<?php echo $_data['id'] ?>">
15
  </div>
16
  <?php } else { ?>
17
  <div style="display: none !important;">Lipscore: empty product data</div>
4
  <div id="lipscore-review-post"
5
  ls-product-name="<?php echo $_data['name'] ?>"
6
  ls-brand="<?php echo $_data['brand'] ?>"
7
+ ls-sku="<?php echo $_data['sku'] ?>"
8
+ ls-product-id="<?php echo $_data['internalId'] ?>">
9
  </div>
10
  <div id="lipscore-review-list"
11
  ls-product-name="<?php echo $_data['name'] ?>"
12
  ls-brand="<?php echo $_data['brand'] ?>"
13
+ ls-sku="<?php echo $_data['sku'] ?>"
14
+ ls-product-id="<?php echo $_data['internalId'] ?>">
15
  </div>
16
  <?php } else { ?>
17
  <div style="display: none !important;">Lipscore: empty product data</div>
app/design/frontend/base/default/template/lipscore/reviews/view_single.phtml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ <div class="lipscore-reviews-single">
2
+ <h2><?php echo $this->getLayout()->createBlock('lipscore_ratingsreviews/review_tabtitle')->toHtml() ?></h2>
3
+ <?php echo $this->getLayout()->createBlock('core/template', '', array('template' => 'lipscore/reviews/view.phtml'))->toHtml() ?>
4
+ </div>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>lipscore</name>
4
- <version>1.2.21</version>
5
  <stability>stable</stability>
6
  <license uri="https://lipscore.com/signup">Terms of use</license>
7
  <channel>community</channel>
@@ -11,11 +11,13 @@
11
  Lipscore has a range of great features that will&#xD;
12
  take all the hassle out of collecting product reviews, and help convert more&#xD;
13
  visitors in to profitable customers.</description>
14
- <notes>Tracking of Lipscore installations</notes>
 
 
15
  <authors><author><name>Henning Frettem</name><user>Lipscore</user><email>henning@lipscore.com</email></author><author><name>Olga Ivanova</name><user>oivanova</user><email>o.ivanova@datacrafts.io</email></author></authors>
16
- <date>2015-06-25</date>
17
- <time>10:11:03</time>
18
- <contents><target name="magecommunity"><dir name="Lipscore"><dir name="RatingsReviews"><dir name="Block"><dir name="Catalog"><dir name="Product"><file name="View.php" hash="c88cf05f967d7bdebe16ad4c8cb1864f"/></dir></dir><file name="Init.php" hash="54aa73f8964025643d200ef83d79a21f"/><dir name="Purchase"><file name="Abstract.php" hash="aaaabff2ee4366393c66b3a4469f8957"/><file name="Multishipping.php" hash="5b32395d9054b0a242a59e4f9f38988e"/><file name="Onepage.php" hash="ff7faab280d62e4bb906ebdd45521d65"/></dir><dir name="Review"><file name="Helper.php" hash="ca5340736a6b7ecc41f1635b255ff4fc"/><file name="TabTitle.php" hash="4b823e24b4f497554283791a70c68b09"/></dir><dir name="System"><dir name="Config"><dir name="Form"><file name="Coupons.php" hash="359eeb7d3913a2b52e7a704afd978464"/><dir name="Field"><file name="Abstract.php" hash="0e8b5385e58dfe4f1f92ddf6063b6376"/><file name="Apikey.php" hash="4012af99141381375a0a4d294bc60f88"/><file name="Reminderperiod.php" hash="5f094e164d7dd7f6c624feb3b3bfd5e6"/></dir><dir name="Fieldset"><file name="Coupons.php" hash="08b73ed814a47b46c05cf14889bb4ead"/><file name="Dashboardlink.php" hash="910a177378d3a5815b56349b2ddcc9bf"/></dir></dir></dir></dir></dir><dir name="Helper"><file name="Abstract.php" hash="65d8d9da169b1b1c4477d7d83c985c84"/><file name="Config.php" hash="10a7f292094fa16515975769bf675d13"/><file name="Coupon.php" hash="748ea1f72a63f22efdd9bffc4db27ce3"/><file name="Data.php" hash="6ae3c816d5d899f6f8050c213860ecf0"/><file name="Locale.php" hash="29665a64635bcde29a8cc841a0100add"/><file name="Module.php" hash="ab2f87306a2a1456eb9835adecdd19d3"/><file name="Product.php" hash="dfc10efaa05c064f956e742877e831fc"/><file name="Purchase.php" hash="9024bc8da7ed7432ea36902e2aecc14d"/><file name="Reminder.php" hash="190dcd087e406fba5254adb58ded959c"/></dir><file name="Logger.php" hash="b9d3b2df0bb8c2a8191763202ad272f8"/><dir name="Model"><dir name="Api"><file name="Request.php" hash="43f5f3dbd1263c51c994d4373f9e243c"/></dir><dir name="Config"><file name="Env.php" hash="06610d75a570d1f6dbb75969ca11be82"/></dir><file name="Config.php" hash="6ea2fdcebaaf66f1ac1cea9438d63ecc"/><dir name="Coupon"><file name="Generator.php" hash="d3164b63b6535e712888ce0c25900e12"/></dir><file name="Observer.php" hash="a7294ba9e660d72b777e3d9694136eb0"/><dir name="Purchase"><file name="Reminder.php" hash="8f3bbd220f479660ef4b27f418b21488"/></dir><file name="Shop.php" hash="6495d5d2f6d1ef5203c33726ab860957"/><dir name="System"><dir name="Config"><dir name="Backend"><file name="Apikey.php" hash="9e454095ab56736cf96b4379bb6eea10"/></dir><dir name="Source"><file name="Identifiertype.php" hash="6b6f48d72b35eb5c30389ce2cbd306f3"/><file name="Locale.php" hash="8d9f9fb8207d2721a2e3d97ce7a4fbec"/><dir name="Order"><file name="Status.php" hash="1a5107f688509b981dcdb40c44784f6b"/></dir><file name="Pricerule.php" hash="b100a5b624e5188691fa3f7c0dbed275"/><dir name="Productattr"><file name="Brand.php" hash="0bcb5b3ce8f0fefca0d52108e3b9807c"/><file name="Identifier.php" hash="15af8ee20f4fa40c2a702b90d7f45840"/></dir><file name="Reminderperiod.php" hash="674ad0760ba520655f1f4cabb4340b55"/></dir></dir></dir><dir name="Tracker"><file name="Action.php" hash="451371812bc5eae57fb26afa16bf3388"/><file name="Installation.php" hash="7965dbb24c8b5dd0b6f03e0da67e5adc"/></dir></dir><dir name="controllers"><dir name="Purchases"><file name="RemindersController.php" hash="1ec905ce1e9d29a7768f2bfe26f691fd"/></dir></dir><dir name="data"><dir name="lipscore_ratingsreviews_setup"><file name="data-install-1.2.21.0.php" hash="ad67c2ab5cb793f70207af6385e8d941"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="5edee417a954579c97186a8ebfdf3fbc"/><file name="config.xml" hash="30cb6a3a6d625b25d65d50377f6b2d25"/><dir name="environments"><file name="production.xml" hash="bb3749dea14df3f07007dc9c24658eff"/></dir><file name="system.xml" hash="b0a0096c4dc02018167811a4f287b6a4"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="lipscore"><file name="init.phtml" hash="45db33eec713376d9243f1d690e43e59"/><dir name="purchase"><file name="view.phtml" hash="c2b3c47fdd77a17b2c77d787fef9def4"/></dir><dir name="rating"><file name="view.phtml" hash="50c74a4dc0bda1ebde342a4ff0f4d267"/></dir><dir name="reviews"><file name="tab_title.phtml" hash="cee27e2ae8b71c9705097584e9c0c3cc"/><file name="view.phtml" hash="9d5c3ae48fdbe603b5fbce1d895b9813"/></dir></dir></dir><dir name="layout"><file name="lipscore_ratingsreviews.xml" hash="7f788c747525bf4644a5b86f7f6b20a0"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="lipscore_ratingsreviews.xml" hash="73e5f3cd2b25005bb0456f28c4a40c51"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Lipscore_RatingsReviews.xml" hash="a5bea23f8ccc23ae46ee206b4b827939"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><file name="lipscore.css" hash="ff29f27edd404707ac381e5a29ebcc27"/></dir><dir name="js"><file name="lipscore.js" hash="00726b0be0c2485063adc1b3367dd755"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><file name="lipscore.css" hash="96f1694b0769b92e32142209f389e069"/><dir name="js"><file name="lipscore.js" hash="ac705dc56c03c08adadbbac86f1f10c3"/></dir></dir></dir></dir></target></contents>
19
  <compatible/>
20
  <dependencies><required><php><min>5.2.13</min><max>6.0.0</max></php></required></dependencies>
21
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>lipscore</name>
4
+ <version>1.2.22</version>
5
  <stability>stable</stability>
6
  <license uri="https://lipscore.com/signup">Terms of use</license>
7
  <channel>community</channel>
11
  Lipscore has a range of great features that will&#xD;
12
  take all the hassle out of collecting product reviews, and help convert more&#xD;
13
  visitors in to profitable customers.</description>
14
+ <notes>Product identification by shop's internal product ID.&#xD;
15
+ Minor fixes.&#xD;
16
+ </notes>
17
  <authors><author><name>Henning Frettem</name><user>Lipscore</user><email>henning@lipscore.com</email></author><author><name>Olga Ivanova</name><user>oivanova</user><email>o.ivanova@datacrafts.io</email></author></authors>
18
+ <date>2015-07-08</date>
19
+ <time>12:58:03</time>
20
+ <contents><target name="magecommunity"><dir name="Lipscore"><dir name="RatingsReviews"><dir name="Block"><dir name="Catalog"><dir name="Product"><file name="View.php" hash="c88cf05f967d7bdebe16ad4c8cb1864f"/></dir></dir><file name="Init.php" hash="54aa73f8964025643d200ef83d79a21f"/><dir name="Purchase"><file name="Abstract.php" hash="aaaabff2ee4366393c66b3a4469f8957"/><file name="Multishipping.php" hash="5b32395d9054b0a242a59e4f9f38988e"/><file name="Onepage.php" hash="ff7faab280d62e4bb906ebdd45521d65"/></dir><dir name="Review"><file name="Helper.php" hash="ca5340736a6b7ecc41f1635b255ff4fc"/><file name="Single.php" hash="5e4427a024a983838670b580c7fbb05e"/><file name="Tabtitle.php" hash="28cdbcff696c2dc718f7cdbc8413c55d"/></dir><dir name="System"><dir name="Config"><dir name="Form"><file name="Coupons.php" hash="359eeb7d3913a2b52e7a704afd978464"/><dir name="Field"><file name="Abstract.php" hash="0e8b5385e58dfe4f1f92ddf6063b6376"/><file name="Apikey.php" hash="4012af99141381375a0a4d294bc60f88"/><file name="Reminderperiod.php" hash="5f094e164d7dd7f6c624feb3b3bfd5e6"/></dir><dir name="Fieldset"><file name="Coupons.php" hash="08b73ed814a47b46c05cf14889bb4ead"/><file name="Dashboardlink.php" hash="910a177378d3a5815b56349b2ddcc9bf"/></dir></dir></dir></dir></dir><dir name="Helper"><file name="Abstract.php" hash="65d8d9da169b1b1c4477d7d83c985c84"/><file name="Config.php" hash="10a7f292094fa16515975769bf675d13"/><file name="Coupon.php" hash="748ea1f72a63f22efdd9bffc4db27ce3"/><file name="Data.php" hash="6ae3c816d5d899f6f8050c213860ecf0"/><file name="Locale.php" hash="29665a64635bcde29a8cc841a0100add"/><file name="Module.php" hash="ab2f87306a2a1456eb9835adecdd19d3"/><file name="Product.php" hash="f5b466400f3ed0331b14d9cdf4853fcb"/><file name="Purchase.php" hash="9024bc8da7ed7432ea36902e2aecc14d"/><file name="Reminder.php" hash="11c67da5911a41956458a4cbb608dea2"/></dir><file name="Logger.php" hash="b9d3b2df0bb8c2a8191763202ad272f8"/><dir name="Model"><dir name="Api"><file name="Request.php" hash="43f5f3dbd1263c51c994d4373f9e243c"/></dir><dir name="Config"><file name="Env.php" hash="06610d75a570d1f6dbb75969ca11be82"/></dir><file name="Config.php" hash="9596f8e2305edfc346754dae7a5c8bdd"/><dir name="Coupon"><file name="Generator.php" hash="d3164b63b6535e712888ce0c25900e12"/></dir><file name="Observer.php" hash="6ea873c379e3804b79323114106eda03"/><dir name="Purchase"><file name="Reminder.php" hash="8f3bbd220f479660ef4b27f418b21488"/></dir><file name="Shop.php" hash="6495d5d2f6d1ef5203c33726ab860957"/><dir name="System"><dir name="Config"><dir name="Backend"><file name="Apikey.php" hash="9e454095ab56736cf96b4379bb6eea10"/></dir><dir name="Source"><file name="Locale.php" hash="8d9f9fb8207d2721a2e3d97ce7a4fbec"/><dir name="Order"><file name="Status.php" hash="1a5107f688509b981dcdb40c44784f6b"/></dir><file name="Pricerule.php" hash="b100a5b624e5188691fa3f7c0dbed275"/><dir name="Productattr"><file name="Brand.php" hash="0bcb5b3ce8f0fefca0d52108e3b9807c"/></dir><file name="Reminderperiod.php" hash="674ad0760ba520655f1f4cabb4340b55"/></dir></dir></dir><dir name="Tracker"><file name="Action.php" hash="451371812bc5eae57fb26afa16bf3388"/><file name="Installation.php" hash="7965dbb24c8b5dd0b6f03e0da67e5adc"/></dir></dir><dir name="controllers"><dir name="Purchases"><file name="RemindersController.php" hash="1ec905ce1e9d29a7768f2bfe26f691fd"/></dir></dir><dir name="data"><dir name="lipscore_ratingsreviews_setup"><file name="data-install-1.2.21.0.php" hash="ad67c2ab5cb793f70207af6385e8d941"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="5edee417a954579c97186a8ebfdf3fbc"/><file name="config.xml" hash="bbfa56085e97d71332246271a1464ace"/><dir name="environments"><file name="production.xml" hash="bb3749dea14df3f07007dc9c24658eff"/></dir><file name="system.xml" hash="1f8633630f2debd893ddd5443d2f6233"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="lipscore"><file name="init.phtml" hash="45db33eec713376d9243f1d690e43e59"/><dir name="purchase"><file name="view.phtml" hash="a7343b1181a33416031273ba058436a4"/></dir><dir name="rating"><file name="view.phtml" hash="07841085cff5855eb2d08934481ab08a"/></dir><dir name="reviews"><file name="tab_title.phtml" hash="cee27e2ae8b71c9705097584e9c0c3cc"/><file name="view.phtml" hash="f601ac588145232a2619491917119fb2"/><file name="view_single.phtml" hash="786845c17e660ecf9544cc47d2585947"/></dir></dir></dir><dir name="layout"><file name="lipscore_ratingsreviews.xml" hash="7f788c747525bf4644a5b86f7f6b20a0"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="lipscore_ratingsreviews.xml" hash="73e5f3cd2b25005bb0456f28c4a40c51"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Lipscore_RatingsReviews.xml" hash="a5bea23f8ccc23ae46ee206b4b827939"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><file name="lipscore.css" hash="a3ad20761826da37979651687880c93f"/></dir><dir name="js"><file name="lipscore.js" hash="2dd5abd312663be5950382b6bad08a80"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><file name="lipscore.css" hash="96f1694b0769b92e32142209f389e069"/><dir name="js"><file name="lipscore.js" hash="ac705dc56c03c08adadbbac86f1f10c3"/></dir></dir></dir></dir></target></contents>
21
  <compatible/>
22
  <dependencies><required><php><min>5.2.13</min><max>6.0.0</max></php></required></dependencies>
23
  </package>
skin/frontend/base/default/css/lipscore.css CHANGED
@@ -1 +1,6 @@
1
  img.lipscore-rating-small-image { display: inline; }
 
 
 
 
 
1
  img.lipscore-rating-small-image { display: inline; }
2
+ .lipscore-reviews-single {
3
+ clear: both;
4
+ display: block;
5
+ margin-top: 15px;
6
+ }
skin/frontend/base/default/js/lipscore.js CHANGED
@@ -1,7 +1,7 @@
1
  document.observe("dom:loaded", function() {
2
  if (typeof lipscore !== 'undefined') {
3
  tabSelector = '.lipscore-reviews-tab';
4
- if ($$(tabSelector)) {
5
  // show review count
6
  lipscore.on('review-count-set', function(data) {
7
  if (data.value > 0) {
1
  document.observe("dom:loaded", function() {
2
  if (typeof lipscore !== 'undefined') {
3
  tabSelector = '.lipscore-reviews-tab';
4
+ if ($$(tabSelector).length > 0) {
5
  // show review count
6
  lipscore.on('review-count-set', function(data) {
7
  if (data.value > 0) {