Wordwatch_Redirector - Version 1.0.0

Version Notes

dasdad

Download this release

Release Info

Developer WordWatch
Extension Wordwatch_Redirector
Version 1.0.0
Comparing to
See all releases


Version 1.0.0

app/code/community/Wordwatch/Redirector/Block/Adminhtml/Menu.php ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ *
5
+ * @category WordWatch
6
+ * @package WordWatch_Redirector
7
+ * @author Maciej Mensfeld <maciej@wordwatch.com>
8
+ */
9
+ class Wordwatch_Redirector_Block_Adminhtml_Menu extends Mage_Adminhtml_Block_Page_Menu
10
+ {
11
+ public function getMenuArray()
12
+ {
13
+ $parentArr = parent::getMenuArray();
14
+ $parentArr['view_sites'] = array(
15
+ 'label' => 'WordWatch',
16
+ 'active'=>false ,
17
+ 'sort_order'=>0,
18
+ 'url'=>'https://my.wordwatch.com/login?utm_source=magento&utm_medium=partner&utm_campaign=e-commerce%2Bplatforms/',
19
+ 'level'=>0,
20
+ 'last'=> true
21
+ );
22
+ return $parentArr;
23
+ }
24
+ }
app/code/community/Wordwatch/Redirector/etc/config.xml ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <config>
3
+ <modules>
4
+ <Wordwatch_Redirector>
5
+ <version>1.0.0</version>
6
+ </Wordwatch_Redirector>
7
+ </modules>
8
+ <global>
9
+ <blocks>
10
+ <configurable>
11
+ <class>Wordwatch_Configurable_Block</class>
12
+ </configurable>
13
+
14
+ <adminhtml>
15
+ <rewrite>
16
+ <page_menu>Wordwatch_Redirector_Block_Adminhtml_Menu</page_menu>
17
+ </rewrite>
18
+ </adminhtml>
19
+
20
+ </blocks>
21
+ </global>
22
+ </config>
app/etc/modules/Wordwatch_Redirector.xml ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <Wordwatch_Redirector>
5
+ <active>true</active>
6
+ <codePool>community</codePool>
7
+ </Wordwatch_Redirector>
8
+ </modules>
9
+ </config>
package.xml ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <package>
3
+ <name>Wordwatch_Redirector</name>
4
+ <version>1.0.0</version>
5
+ <stability>stable</stability>
6
+ <license uri="http://www.wordwatch.com/resources/terms-of-service/">GNU General Public License (GPL)</license>
7
+ <channel>community</channel>
8
+ <extends/>
9
+ <summary>Wordwatch Redirector</summary>
10
+ <description>Wordwatch Redirector - hooks up a link to admin menu, redirecting directly to a WordWatch account</description>
11
+ <notes>dasdad</notes>
12
+ <authors>
13
+ <author>
14
+ <name>WordWatch</name>
15
+ <user>WordWatch</user>
16
+ <email>support@wordwatch.com</email>
17
+ </author>
18
+ </authors>
19
+ <date>2012-03-09</date>
20
+ <time>15:55:46</time>
21
+ <contents>
22
+ <target name="magecommunity">
23
+ <dir name="Wordwatch">
24
+ <dir name="Redirector">
25
+ <dir name="etc">
26
+ <file name="config.xml" hash="88dccd6de1a371868366e88d2b46e457"/>
27
+ </dir>
28
+ <dir name="Block">
29
+ <dir name="Adminhtml">
30
+ <file name="Menu.php" hash="68bdb0fae454c94bfac55d680c2c026a"/>
31
+ </dir>
32
+ </dir>
33
+ </dir>
34
+ </dir>
35
+ </target>
36
+ <target name="mageetc">
37
+ <dir name="modules">
38
+ <file name="Wordwatch_Redirector.xml" hash="0081029cf02aaffccf8506ef24828c6f"/>
39
+ </dir>
40
+ </target>
41
+ </contents>
42
+ <compatible/>
43
+ <dependencies/>
44
+ </package>