DigitalPianism_ExportReview - Version 0.1.1

Version Notes

- Modify the admin route regarding Magento patch SUPEE-6788

Download this release

Release Info

Developer Digital Pianism
Extension DigitalPianism_ExportReview
Version 0.1.1
Comparing to
See all releases


Code changes from version 0.1.0 to 0.1.1

app/code/community/DigitalPianism/ExportReview/Model/Observer.php CHANGED
@@ -11,12 +11,12 @@ class DigitalPianism_ExportReview_Model_Observer
11
  {
12
  $block->addItem('exportreviewcsv', array(
13
  'label' => 'Export to CSV',
14
- 'url' => $block->getUrl('exportreview/adminhtml_index/massCsvExport')
15
  ));
16
 
17
  $block->addItem('exportreviewwml', array(
18
  'label' => 'Export to XML',
19
- 'url' => $block->getUrl('exportreview/adminhtml_index/massXmlExport')
20
  ));
21
  }
22
  }
11
  {
12
  $block->addItem('exportreviewcsv', array(
13
  'label' => 'Export to CSV',
14
+ 'url' => $block->getUrl('adminhtml/exportreview/massCsvExport')
15
  ));
16
 
17
  $block->addItem('exportreviewwml', array(
18
  'label' => 'Export to XML',
19
+ 'url' => $block->getUrl('adminhtml/exportreview/massXmlExport')
20
  ));
21
  }
22
  }
app/code/community/DigitalPianism/ExportReview/controllers/Adminhtml/{IndexController.php → ExportreviewController.php} RENAMED
@@ -2,9 +2,9 @@
2
  /**
3
  * Controller to add the CSV and XML export to the review grid
4
  *
5
- * Class DigitalPianism_ExportReview_Adminhtml_IndexController
6
  */
7
- class DigitalPianism_ExportReview_Adminhtml_IndexController extends Mage_Adminhtml_Controller_Action
8
  {
9
  public function massCsvExportAction()
10
  {
2
  /**
3
  * Controller to add the CSV and XML export to the review grid
4
  *
5
+ * Class DigitalPianism_ExportReview_Adminhtml_ExportreviewController
6
  */
7
+ class DigitalPianism_ExportReview_Adminhtml_ExportreviewController extends Mage_Adminhtml_Controller_Action
8
  {
9
  public function massCsvExportAction()
10
  {
app/code/community/DigitalPianism/ExportReview/etc/config.xml CHANGED
@@ -3,7 +3,7 @@
3
 
4
  <modules>
5
  <DigitalPianism_ExportReview>
6
- <version>0.1.0</version>
7
  </DigitalPianism_ExportReview>
8
  </modules>
9
 
@@ -17,13 +17,13 @@
17
 
18
  <admin>
19
  <routers>
20
- <exportreview>
21
- <use>admin</use>
22
  <args>
23
- <module>DigitalPianism_ExportReview</module>
24
- <frontName>exportreview</frontName>
 
25
  </args>
26
- </exportreview>
27
  </routers>
28
  </admin>
29
 
3
 
4
  <modules>
5
  <DigitalPianism_ExportReview>
6
+ <version>0.1.1</version>
7
  </DigitalPianism_ExportReview>
8
  </modules>
9
 
17
 
18
  <admin>
19
  <routers>
20
+ <adminhtml>
 
21
  <args>
22
+ <modules>
23
+ <DigitalPianism_ExportReview before="Mage_Adminhtml">DigitalPianism_ExportReview_Adminhtml</DigitalPianism_ExportReview>
24
+ </modules>
25
  </args>
26
+ </adminhtml>
27
  </routers>
28
  </admin>
29
 
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>DigitalPianism_ExportReview</name>
4
- <version>0.1.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Export Reviews to CSV/Excel for Magento.</summary>
10
  <description>This extension allows users to export customer reviews in both CSV / Excel types.</description>
11
- <notes>- Use of event observer instead of block rewrites</notes>
12
  <authors><author><name>Digital Pianism</name><user>raphaelpetrini</user><email>raphael.petrini@free.fr</email></author></authors>
13
- <date>2015-07-28</date>
14
- <time>11:30:12</time>
15
- <contents><target name="magecommunity"><dir name="DigitalPianism"><dir name="ExportReview"><dir name="Model"><file name="Observer.php" hash="5371cf51d3e154983b57d1f01f245114"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="IndexController.php" hash="3b0bb10df0e031c6c2b111eb20886c2d"/></dir></dir><dir name="etc"><file name="config.xml" hash="b5befb9099167aa2a5877a31188af146"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="DigitalPianism_ExportReview.xml" hash="4f5f0512a60878f5d25ffd2d12da2265"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>4.1.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>DigitalPianism_ExportReview</name>
4
+ <version>0.1.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Export Reviews to CSV/Excel for Magento.</summary>
10
  <description>This extension allows users to export customer reviews in both CSV / Excel types.</description>
11
+ <notes>- Modify the admin route regarding Magento patch SUPEE-6788</notes>
12
  <authors><author><name>Digital Pianism</name><user>raphaelpetrini</user><email>raphael.petrini@free.fr</email></author></authors>
13
+ <date>2015-10-23</date>
14
+ <time>16:34:01</time>
15
+ <contents><target name="magecommunity"><dir name="DigitalPianism"><dir name="ExportReview"><dir name="Model"><file name="Observer.php" hash="bbe85c297f231af42da1dfc737ea0c86"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="ExportreviewController.php" hash="666e6ae43424d50ad4080854ba6ed547"/></dir></dir><dir name="etc"><file name="config.xml" hash="cbc990ceb20cf5a137b8aac780cefa13"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="DigitalPianism_ExportReview.xml" hash="4f5f0512a60878f5d25ffd2d12da2265"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>4.1.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>