2f0ed0fddbc299a929e59604a51b5159 - Version 1.0.3

Version Notes

notes

Download this release

Release Info

Developer Marcin Klauza
Extension 2f0ed0fddbc299a929e59604a51b5159
Version 1.0.3
Comparing to
See all releases


Code changes from version 1.0.2 to 1.0.3

app/code/community/Mklauza/CustomProductUrls/Model/Adminhtml/Observer.php CHANGED
@@ -28,7 +28,7 @@ class Mklauza_CustomProductUrls_Model_Adminhtml_Observer {
28
  if (Mage::helper('mklauza_customproducturls')->getIsEnabled() && $block instanceof Mage_Adminhtml_Block_Catalog_Product_Grid) {
29
  $block->setMassactionIdField('mklauza_customproducturls_massaction');
30
  $block->getMassactionBlock()->setFormFieldName('product');
31
- $block->getMassactionBlock()->setUseSelectAll(false);
32
 
33
  $block->getMassactionBlock()->addItem('mklauza_customproducturls', array(
34
  'label' => 'Set custom URL',
28
  if (Mage::helper('mklauza_customproducturls')->getIsEnabled() && $block instanceof Mage_Adminhtml_Block_Catalog_Product_Grid) {
29
  $block->setMassactionIdField('mklauza_customproducturls_massaction');
30
  $block->getMassactionBlock()->setFormFieldName('product');
31
+ // $block->getMassactionBlock()->setUseSelectAll(false);
32
 
33
  $block->getMassactionBlock()->addItem('mklauza_customproducturls', array(
34
  'label' => 'Set custom URL',
app/code/community/Mklauza/CustomProductUrls/controllers/Adminhtml/Catalog/Product/Action/ProductUrlsMassActionController.php CHANGED
@@ -217,7 +217,7 @@ class Mklauza_CustomProductUrls_Adminhtml_Catalog_Product_Action_ProductUrlsMass
217
  $this->_getSession()->addSuccess($this->__('Successfully removed %s redirects.', $count));
218
  } catch(Exception $e) {
219
  $write->rollback();
220
- $this->_getSession()->addException($e, $this->__('An error occurred while clearing url redirects.<br/>' . $e->getMessage()));
221
  }
222
 
223
  $this->_redirectReferer();
217
  $this->_getSession()->addSuccess($this->__('Successfully removed %s redirects.', $count));
218
  } catch(Exception $e) {
219
  $write->rollback();
220
+ $this->_getSession()->addException($this->__("An error occurred while clearing url redirects: %s", $e->getMessage()));
221
  }
222
 
223
  $this->_redirectReferer();
package.xml CHANGED
@@ -1,8 +1,8 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>2f0ed0fddbc299a929e59604a51b5159</name>
4
- <version>1.0.2</version>
5
- <stability>beta</stability>
6
  <license>OSL</license>
7
  <channel>community</channel>
8
  <extends/>
@@ -10,9 +10,9 @@
10
  <description>Extension allowing to mass change product url key according to template consisting of product attributes.</description>
11
  <notes>notes</notes>
12
  <authors><author><name>Marcin Klauza</name><user>marcin</user><email>marcinklauza@gmail.com</email></author></authors>
13
- <date>2016-02-29</date>
14
- <time>01:37:25</time>
15
- <contents><target name="magecommunity"><dir><dir name="Mklauza"><dir name="CustomProductUrls"><dir name="Block"><dir name="Adminhtml"><dir name="Form"><file name="Abstract.php" hash="91974ad804d2d8df79d1917dbf846288"/><file name="Massaction.php" hash="32bb6193eea4b61a47ac589879b6a231"/><file name="Settings.php" hash="daeaa0ed5176e34677169b6f73f26f3e"/></dir><dir name="System"><dir name="Config"><dir name="Form"><file name="Pattern.php" hash="34dc42258f8d40b3d6adb64371e9d1f6"/></dir></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="2c4bbf6096320edab9f21943277299e3"/></dir><dir name="Model"><dir name="Adminhtml"><file name="Observer.php" hash="782c46623224b13e7c0f7a37c06c37a2"/></dir><dir name="Catalog"><dir name="Product"><file name="Url.php" hash="94a90ca37095d7b2cda703336474befe"/></dir><dir name="Resource"><dir name="Product"><file name="Action.php" hash="7fbb37b1529f1d9ae981a8edc58b352d"/></dir></dir></dir><file name="Pattern.php" hash="cba585ea2d11050aab3a6c8c5089d47e"/></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Catalog"><dir name="Product"><dir name="Action"><file name="ProductUrlsMassActionController.php" hash="1d2c0f1fc7f77bd6a985c4b6eed4b773"/></dir></dir></dir><file name="ProductUrlsController.php" hash="5fcb9eb4ab89f9c611837e37058e46fd"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="dad9c0dd1088595d6da2474e69ff7ce6"/><file name="config.xml" hash="16cc3389cbb18191a4f3e9a2e7d32a83"/><file name="system.xml" hash="bd5402bc4b30168d4aa67a91b94b11d3"/></dir></dir></dir></dir></target><target name="magedesign"><dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><dir name="mklauza"><file name="product_urls.xml" hash="972b7551a3fbcb7b8bc87aff5732c52c"/></dir></dir><dir name="template"><dir name="mklauza"><dir name="customproducturls"><file name="massaction.phtml" hash="f00d86e1cd3d5e310e76b64616d2be52"/><dir name="system"><file name="settings.phtml" hash="d2c9195d497cd76a4b0cc541b1165fa0"/></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir><dir name="modules"><file name="Mklauza_CustomProductUrls.xml" hash="0f6d8d6a5dd2261fed9f49e853f68adf"/></dir></dir></target><target name="mage"><dir><dir name="js"><dir name="mklauza_customproducturls"><file name="jquery-1.11.2.min.js" hash="019c5fb7c4771808dc65e1096c771348"/><file name="jquery-ui.min.js" hash="7403b37e7918413f5a43131b95c86abb"/><file name="loadingdots.css" hash="b9f95df94e9f9384093edad63ae4cff1"/><file name="template.css" hash="c08f3bb77f768b2f728881626a486783"/><file name="template.js" hash="35e4143558041c04210c933120f75afc"/></dir></dir></dir></target></contents>
16
  <compatible/>
17
- <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>2f0ed0fddbc299a929e59604a51b5159</name>
4
+ <version>1.0.3</version>
5
+ <stability>stable</stability>
6
  <license>OSL</license>
7
  <channel>community</channel>
8
  <extends/>
10
  <description>Extension allowing to mass change product url key according to template consisting of product attributes.</description>
11
  <notes>notes</notes>
12
  <authors><author><name>Marcin Klauza</name><user>marcin</user><email>marcinklauza@gmail.com</email></author></authors>
13
+ <date>2016-05-02</date>
14
+ <time>11:40:18</time>
15
+ <contents><target name="magecommunity"><dir><dir name="Mklauza"><dir name="CustomProductUrls"><dir name="Block"><dir name="Adminhtml"><dir name="Form"><file name="Abstract.php" hash="91974ad804d2d8df79d1917dbf846288"/><file name="Massaction.php" hash="32bb6193eea4b61a47ac589879b6a231"/><file name="Settings.php" hash="daeaa0ed5176e34677169b6f73f26f3e"/></dir><dir name="System"><dir name="Config"><dir name="Form"><file name="Pattern.php" hash="34dc42258f8d40b3d6adb64371e9d1f6"/></dir></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="2c4bbf6096320edab9f21943277299e3"/></dir><dir name="Model"><dir name="Adminhtml"><file name="Observer.php" hash="deecbfbedf51140a32f748102fc6e471"/></dir><dir name="Catalog"><dir name="Product"><file name="Url.php" hash="94a90ca37095d7b2cda703336474befe"/></dir><dir name="Resource"><dir name="Product"><file name="Action.php" hash="7fbb37b1529f1d9ae981a8edc58b352d"/></dir></dir></dir><file name="Pattern.php" hash="cba585ea2d11050aab3a6c8c5089d47e"/></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Catalog"><dir name="Product"><dir name="Action"><file name="ProductUrlsMassActionController.php" hash="9e5741fd9fff16b7c9791543ff99ad79"/></dir></dir></dir><file name="ProductUrlsController.php" hash="5fcb9eb4ab89f9c611837e37058e46fd"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="dad9c0dd1088595d6da2474e69ff7ce6"/><file name="config.xml" hash="16cc3389cbb18191a4f3e9a2e7d32a83"/><file name="system.xml" hash="bd5402bc4b30168d4aa67a91b94b11d3"/></dir></dir></dir></dir></target><target name="magedesign"><dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><dir name="mklauza"><file name="product_urls.xml" hash="972b7551a3fbcb7b8bc87aff5732c52c"/></dir></dir><dir name="template"><dir name="mklauza"><dir name="customproducturls"><file name="massaction.phtml" hash="f00d86e1cd3d5e310e76b64616d2be52"/><dir name="system"><file name="settings.phtml" hash="d2c9195d497cd76a4b0cc541b1165fa0"/></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir><dir name="modules"><file name="Mklauza_CustomProductUrls.xml" hash="0f6d8d6a5dd2261fed9f49e853f68adf"/></dir></dir></target><target name="mage"><dir><dir name="js"><dir name="mklauza_customproducturls"><file name="jquery-1.11.2.min.js" hash="019c5fb7c4771808dc65e1096c771348"/><file name="jquery-ui.min.js" hash="7403b37e7918413f5a43131b95c86abb"/><file name="loadingdots.css" hash="b9f95df94e9f9384093edad63ae4cff1"/><file name="template.css" hash="c08f3bb77f768b2f728881626a486783"/><file name="template.js" hash="35e4143558041c04210c933120f75afc"/></dir></dir></dir></target></contents>
16
  <compatible/>
17
+ <dependencies><required><php><min>5.3.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>