Optimiseweb_Redirects - Version 0.2.2

Version Notes

* Added additional event - before exit

Download this release

Release Info

Developer Kathir Vel
Extension Optimiseweb_Redirects
Version 0.2.2
Comparing to
See all releases


Code changes from version 0.2.1 to 0.2.2

app/code/community/Optimiseweb/Redirects/Block/Adminhtml/System/Config/Fieldset/Hint.php CHANGED
@@ -24,6 +24,11 @@ class Optimiseweb_Redirects_Block_Adminhtml_System_Config_Fieldset_Hint extends
24
  return $this->toHtml();
25
  }
26
 
 
 
 
 
 
27
  public function getModuleVersion()
28
  {
29
  return (string) Mage::getConfig()->getNode('modules/Optimiseweb_Redirects/version');
24
  return $this->toHtml();
25
  }
26
 
27
+ public function getModuleName()
28
+ {
29
+ return 'Mass 301 Redirects';
30
+ }
31
+
32
  public function getModuleVersion()
33
  {
34
  return (string) Mage::getConfig()->getNode('modules/Optimiseweb_Redirects/version');
app/code/community/Optimiseweb/Redirects/Model/Redirector.php CHANGED
@@ -40,6 +40,7 @@ class Optimiseweb_Redirects_Model_Redirector
40
  $this->doQueryStringRedirects($requestUrl);
41
  Mage::dispatchEvent('optimiseweb_redirects_before_catalogue_search', array('request_url' => &$requestUrl));
42
  $this->doRedirectsToCatalogueSearch($requestUrl);
 
43
  }
44
  return;
45
  }
40
  $this->doQueryStringRedirects($requestUrl);
41
  Mage::dispatchEvent('optimiseweb_redirects_before_catalogue_search', array('request_url' => &$requestUrl));
42
  $this->doRedirectsToCatalogueSearch($requestUrl);
43
+ Mage::dispatchEvent('optimiseweb_redirects_before_exiting', array('request_url' => &$requestUrl));
44
  }
45
  return;
46
  }
app/code/community/Optimiseweb/Redirects/etc/config.xml CHANGED
@@ -11,7 +11,7 @@
11
 
12
  <modules>
13
  <Optimiseweb_Redirects>
14
- <version>0.2.1</version>
15
  </Optimiseweb_Redirects>
16
  </modules>
17
 
11
 
12
  <modules>
13
  <Optimiseweb_Redirects>
14
+ <version>0.2.2</version>
15
  </Optimiseweb_Redirects>
16
  </modules>
17
 
app/design/adminhtml/default/default/template/optimiseweb/redirects/system/config/fieldset/hint.phtml CHANGED
@@ -3,7 +3,7 @@
3
  <a target="_blank" href="<?php echo $this->getOptimiseWebUrl(); ?>"><img src="<?php echo $this->getPxUrl(); ?>" /></a>
4
 
5
  <h4>
6
- <strong style="color:#ea7601;">Mass 301 Redirects v<?php echo $this->getModuleVersion(); ?></strong> by <a target="_blank" href="<?php echo $this->getOptimiseWebUrl(); ?>"><strong>Optimise Web</strong></a>
7
  </h4>
8
 
9
  <p>
3
  <a target="_blank" href="<?php echo $this->getOptimiseWebUrl(); ?>"><img src="<?php echo $this->getPxUrl(); ?>" /></a>
4
 
5
  <h4>
6
+ <strong style="color:#ea7601;"><?php echo $this->getModuleName(); ?> v<?php echo $this->getModuleVersion(); ?></strong> by <a target="_blank" href="<?php echo $this->getOptimiseWebUrl(); ?>"><strong>Optimise Web</strong></a>
7
  </h4>
8
 
9
  <p>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Optimiseweb_Redirects</name>
4
- <version>0.2.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
7
  <channel>community</channel>
@@ -10,11 +10,11 @@
10
  <description>Magento has an internal URL Rewrite Management system. It can be a laborious task to add all your redirects, one by one.&#xD;
11
  &#xD;
12
  The Optimise Web Redirects extension allows you to upload all your redirect data as a CSV file.</description>
13
- <notes>* Fixing SSL urls</notes>
14
  <authors><author><name>Kathir Vel</name><user>OptimiseWeb</user><email>info@optimiseweb.co.uk</email></author></authors>
15
- <date>2014-09-17</date>
16
- <time>17:12:50</time>
17
- <contents><target name="magecommunity"><dir name="Optimiseweb"><dir name="Redirects"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Hint.php" hash="0c54268931698902d524c8149eecb855"/></dir></dir></dir></dir><dir name="System"><dir name="Config"><dir name="Backend"><file name="Download.php" hash="7aa495fa61b5dc8701ede38c4e00b343"/><file name="Download1.php" hash="83690ba4e42f356d92aecf3c5ef6d5d3"/><file name="Downloadquerystringfile.php" hash="51b51f70aa042bd09586fd03cfc55125"/></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="ca14b5ce332105a9a21a0bdc61200919"/></dir><dir name="Model"><file name="Redirector.php" hash="ecfc3142757c994e831999f3982d488b"/></dir><dir name="etc"><file name="adminhtml.xml" hash="dd58dc054f2933de6f68a1986c444ab5"/><file name="config.xml" hash="750e27ec8072b2dccda04341103c46e0"/><file name="system.xml" hash="d74393068cf94bdf27bc094eb5111201"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Optimiseweb_Redirects.xml" hash="52171a52ca4993b6d25b51df3b762897"/></dir></target><target name="magelocale"><dir name="en_US"><file name="Optimiseweb_Redirects.csv" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="optimiseweb"><dir name="redirects"><dir name="system"><dir name="config"><dir name="fieldset"><file name="hint.phtml" hash="00df110e0ed5dc708754abd53a299c5b"/></dir></dir></dir></dir></dir></dir></dir></dir></dir></target></contents>
18
  <compatible/>
19
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
20
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Optimiseweb_Redirects</name>
4
+ <version>0.2.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
7
  <channel>community</channel>
10
  <description>Magento has an internal URL Rewrite Management system. It can be a laborious task to add all your redirects, one by one.&#xD;
11
  &#xD;
12
  The Optimise Web Redirects extension allows you to upload all your redirect data as a CSV file.</description>
13
+ <notes>* Added additional event - before exit</notes>
14
  <authors><author><name>Kathir Vel</name><user>OptimiseWeb</user><email>info@optimiseweb.co.uk</email></author></authors>
15
+ <date>2014-10-17</date>
16
+ <time>15:01:45</time>
17
+ <contents><target name="magecommunity"><dir name="Optimiseweb"><dir name="Redirects"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Hint.php" hash="43abb095865b190b0c2507bb9f086aa2"/></dir></dir></dir></dir><dir name="System"><dir name="Config"><dir name="Backend"><file name="Download.php" hash="7aa495fa61b5dc8701ede38c4e00b343"/><file name="Download1.php" hash="83690ba4e42f356d92aecf3c5ef6d5d3"/><file name="Downloadquerystringfile.php" hash="51b51f70aa042bd09586fd03cfc55125"/></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="ca14b5ce332105a9a21a0bdc61200919"/></dir><dir name="Model"><file name="Redirector.php" hash="a326da5cc26ca8960a1f3c71cce3852d"/></dir><dir name="etc"><file name="adminhtml.xml" hash="dd58dc054f2933de6f68a1986c444ab5"/><file name="config.xml" hash="35fb05077f9bd1bf285397f1325b9c38"/><file name="system.xml" hash="d74393068cf94bdf27bc094eb5111201"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Optimiseweb_Redirects.xml" hash="52171a52ca4993b6d25b51df3b762897"/></dir></target><target name="magelocale"><dir name="en_US"><file name="Optimiseweb_Redirects.csv" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="optimiseweb"><dir name="redirects"><dir name="system"><dir name="config"><dir name="fieldset"><file name="hint.phtml" hash="4ffed9569ab276f56b53f9e0de93eadc"/></dir></dir></dir></dir></dir></dir></dir></dir></dir></target></contents>
18
  <compatible/>
19
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
20
  </package>