ET_Reviewnotify - Version 0.2.3

Version Notes

Fixes:
Fixed broken Pending Reviews RSS link when Add Store Code to Urls is set to Yes.

Download this release

Release Info

Developer Magento Core Team
Extension ET_Reviewnotify
Version 0.2.3
Comparing to
See all releases


Code changes from version 0.2.2 to 0.2.3

app/code/community/ET/ET_Reviewnotify_ChangeLog.txt CHANGED
@@ -7,6 +7,9 @@ Legend:
7
  - removed functionality
8
 
9
  =====================================
 
 
 
10
  ver. 0.2.2
11
  * cleaned layout code, to avoid toolbar dublication in ver. > 1.4
12
 
7
  - removed functionality
8
 
9
  =====================================
10
+ ver. 0.2.3
11
+ * Fixed broken Pending Reviews RSS link when Add Store Code to Urls is set to Yes.
12
+
13
  ver. 0.2.2
14
  * cleaned layout code, to avoid toolbar dublication in ver. > 1.4
15
 
app/code/community/ET/ET_Reviewnotify_Description.txt CHANGED
@@ -8,8 +8,8 @@ RU:
8
 
9
 
10
  EN:
11
- 1. Store owner will recieve notification email after recieving new product review.
12
- 2. If there is pending reviews - standart notification toolbar is shown in admin.
13
  Thanks for idea with toolbar to module
14
  http://www.magentocommerce.com/magento-connect/clockworkgeek/extension/3853/clockworkgeek_reviewsnotification
15
 
8
 
9
 
10
  EN:
11
+ 1. Store owner will receive notification email after receiving new product review.
12
+ 2. If there are pending reviews - standart notification toolbar is shown in admin.
13
  Thanks for idea with toolbar to module
14
  http://www.magentocommerce.com/magento-connect/clockworkgeek/extension/3853/clockworkgeek_reviewsnotification
15
 
app/code/community/ET/Reviewnotify/etc/config.xml CHANGED
@@ -23,11 +23,11 @@
23
  <config>
24
  <modules>
25
  <ET_Reviewnotify>
26
- <version>0.2.2</version>
27
  <descr>
28
  <ru_RU>
29
  При поступлении нового отзыва на товар отсылается сообщение владельцу магазина на емайл.
30
- Если есть необработанные отзывы - показывается напоминание в стандартном тулбаре оповещений в панели алминистрирования.
31
  Настройки модуля в секции Каталог - Отзывы о товаре.
32
  </ru_RU>
33
  <en_US>
23
  <config>
24
  <modules>
25
  <ET_Reviewnotify>
26
+ <version>0.2.3</version>
27
  <descr>
28
  <ru_RU>
29
  При поступлении нового отзыва на товар отсылается сообщение владельцу магазина на емайл.
30
+ Если есть необработанные отзывы - показывается напоминание в стандартном тулбаре оповещений в панели администрирования.
31
  Настройки модуля в секции Каталог - Отзывы о товаре.
32
  </ru_RU>
33
  <en_US>
app/design/adminhtml/default/default/template/reviewnotify/toolbar.phtml CHANGED
@@ -25,9 +25,13 @@ if ($config['need_notify'] == 1)
25
  $_count = count($_pending);
26
  if ($_count > 0)
27
  {
 
 
 
 
28
  ?>
29
  <div class="notification-global">
30
- <span class="f-right"><a class="link-feed" href="<?php echo $this->getUrl('rss/catalog/review') ?>" style="background-position: 0 50%;"><?php echo $this->__('Pending Reviews RSS') ?></a></span>
31
  <strong class="label"><?php echo $this->__('Pending Reviews') ?>:</strong>
32
  <?php
33
  if (count($_pending) > 1)
25
  $_count = count($_pending);
26
  if ($_count > 0)
27
  {
28
+ $urlModel = Mage::getModel('core/url');
29
+ $storeid = Mage::app()->getDefaultStoreView();
30
+ $urlModel->setStore($storeid);
31
+ $RSSlink = $urlModel->getUrl('rss/catalog/review', array('_current'=>false));
32
  ?>
33
  <div class="notification-global">
34
+ <span class="f-right"><a class="link-feed" href="<?php echo $RSSlink ?>" style="background-position: 0 50%;"><?php echo $this->__('Pending Reviews RSS') ?></a></span>
35
  <strong class="label"><?php echo $this->__('Pending Reviews') ?>:</strong>
36
  <?php
37
  if (count($_pending) > 1)
app/locale/en_US/ET_Reviewnotify.csv CHANGED
@@ -7,7 +7,7 @@
7
  "Mail to","Mail to"
8
  "Mail Template","Email Template"
9
  "Store email","Store email"
10
- "Notification toolbar will be displayed if there is pending reviews. Default: Yes","Notification toolbar will be displayed if there is pending reviews. Default: Yes"
11
  "You can specify multiple recipients. Comma separated. For example: admin1@example.com, admin2@example.com","You can specify multiple recipients. Comma separated. For example: admin1@example.com, admin2@example.com"
12
  "Notification will be send to e-mail if new review is placed. Default: No","Notification will be send to e-mail if new review is placed. Default: No"
13
  "Review Notify Options","Review Notify Options"
7
  "Mail to","Mail to"
8
  "Mail Template","Email Template"
9
  "Store email","Store email"
10
+ "Notification toolbar will be displayed if there is pending reviews. Default: Yes","Notification toolbar will be displayed if there are pending reviews. Default: Yes"
11
  "You can specify multiple recipients. Comma separated. For example: admin1@example.com, admin2@example.com","You can specify multiple recipients. Comma separated. For example: admin1@example.com, admin2@example.com"
12
  "Notification will be send to e-mail if new review is placed. Default: No","Notification will be send to e-mail if new review is placed. Default: No"
13
  "Review Notify Options","Review Notify Options"
package.xml CHANGED
@@ -1,20 +1,22 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>ET_Reviewnotify</name>
4
- <version>0.2.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/afl-3.0.php">AFL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
- <summary>This module notify store owner about new product reviews.</summary>
 
10
  <description>Review notify module notify store owner about new product reviews in two way:
11
  1. Store owner will recieve notification email after recieving new product review.
12
  2. If there is pending reviews - standart notification toolbar is shown in admin.</description>
13
- <notes>first community release</notes>
 
14
  <authors><author><name>Jurij</name><user>auto-converted</user><email>support@etwebsolutions.com</email></author><author><name>Andrej</name><user>auto-converted</user><email>support@etwebsolutions.com</email></author></authors>
15
- <date>2011-03-03</date>
16
- <time>12:02:18</time>
17
- <contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="et_reviewnotify.xml" hash="6d937f5c8235ef495e7f42503ec95500"/></dir><dir name="template"><dir name="reviewnotify"><file name="toolbar.phtml" hash="7a584818a45e4d263989b2841895c9d0"/></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><dir name="template"><dir name="email"><file name="et_reviewnotify.html" hash="c3d8b0a804d721cb17271448ef7cf56b"/></dir></dir><file name="ET_Reviewnotify.csv" hash="3249708148a894114bf57b717f2ba763"/></dir><dir name="ru_RU"><dir name="template"><dir name="email"><file name="et_reviewnotify.html" hash="dc715adcb9e2d271d206c246af29920d"/></dir></dir><file name="ET_Reviewnotify.csv" hash="bf3e87ecca455c7543c18f98c11239c4"/></dir></target><target name="magecommunity"><dir name="ET"><dir name="Reviewnotify"><dir name="Block"><file name="Toolbar.php" hash="154c58580b58434602b1bc4da30f7cce"/></dir><dir name="etc"><file name="config.xml" hash="7df94f7e4ebd57430f59046f5bc7f9e5"/><file name="system.xml" hash="848c67b1aa8eed12ef76b8468c87fedd"/></dir><dir name="Helper"><file name="Data.php" hash="be58e26c27d1bb60c4d22faae365ba7c"/></dir><dir name="Model"><file name="Observer.php" hash="c66ba95de4b978d42fe56e2a657be63c"/><file name="Review.php" hash="99a55e77f5fcf7e62766757a33a33cc1"/></dir></dir><file name="ET_Reviewnotify_ChangeLog.txt" hash="e5a9270fd4c062b7c7c8e5f4cc5b35c8"/><file name="ET_Reviewnotify_Description.txt" hash="23e370bb5afb5cf0f904d0a1d3b11a86"/><file name="ET_Reviewnotify_LICENSE.txt" hash="47734c0bfe298cff13472be9d25d97d6"/></dir></target><target name="mageetc"><dir name="modules"><file name="ET_Reviewnotify.xml" hash="7147aa924cbf49f74c30b5938fcf9e49"/></dir></target></contents>
18
  <compatible/>
19
  <dependencies/>
20
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>ET_Reviewnotify</name>
4
+ <version>0.2.3</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/afl-3.0.php">AFL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
+ <summary>Changes:
10
+ Fixed broken Pending Reviews RSS link when Add Store Code to Urls is set to Yes.</summary>
11
  <description>Review notify module notify store owner about new product reviews in two way:
12
  1. Store owner will recieve notification email after recieving new product review.
13
  2. If there is pending reviews - standart notification toolbar is shown in admin.</description>
14
+ <notes>Fixes:
15
+ Fixed broken Pending Reviews RSS link when Add Store Code to Urls is set to Yes.</notes>
16
  <authors><author><name>Jurij</name><user>auto-converted</user><email>support@etwebsolutions.com</email></author><author><name>Andrej</name><user>auto-converted</user><email>support@etwebsolutions.com</email></author></authors>
17
+ <date>2011-03-04</date>
18
+ <time>08:11:27</time>
19
+ <contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="et_reviewnotify.xml" hash="6d937f5c8235ef495e7f42503ec95500"/></dir><dir name="template"><dir name="reviewnotify"><file name="toolbar.phtml" hash="eb366209b79d17bc9c068b718d567b48"/></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><dir name="template"><dir name="email"><file name="et_reviewnotify.html" hash="c3d8b0a804d721cb17271448ef7cf56b"/></dir></dir><file name="ET_Reviewnotify.csv" hash="6f691fe22cf5d3d9972097533853ffa7"/></dir><dir name="ru_RU"><dir name="template"><dir name="email"><file name="et_reviewnotify.html" hash="dc715adcb9e2d271d206c246af29920d"/></dir></dir><file name="ET_Reviewnotify.csv" hash="bf3e87ecca455c7543c18f98c11239c4"/></dir></target><target name="magecommunity"><dir name="ET"><dir name="Reviewnotify"><dir name="Block"><file name="Toolbar.php" hash="154c58580b58434602b1bc4da30f7cce"/></dir><dir name="etc"><file name="config.xml" hash="25d78b0fd62489da024ef8a06e02699d"/><file name="system.xml" hash="848c67b1aa8eed12ef76b8468c87fedd"/></dir><dir name="Helper"><file name="Data.php" hash="be58e26c27d1bb60c4d22faae365ba7c"/></dir><dir name="Model"><file name="Observer.php" hash="c66ba95de4b978d42fe56e2a657be63c"/><file name="Review.php" hash="99a55e77f5fcf7e62766757a33a33cc1"/></dir></dir><file name="ET_Reviewnotify_ChangeLog.txt" hash="956be7284e532f4b6344a1e6e62a4a37"/><file name="ET_Reviewnotify_Description.txt" hash="2173b1245c448a71b0b39d99fb25d485"/><file name="ET_Reviewnotify_LICENSE.txt" hash="47734c0bfe298cff13472be9d25d97d6"/></dir></target><target name="mageetc"><dir name="modules"><file name="ET_Reviewnotify.xml" hash="7147aa924cbf49f74c30b5938fcf9e49"/></dir></target></contents>
20
  <compatible/>
21
  <dependencies/>
22
  </package>