File tree 9 files changed +420
-70
lines changed 9 files changed +420
-70
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ # LeMike_DevMode
2
+
3
+ An extension to help you develop beautiful Magento Stores.
4
+
5
+ <small >
6
+ Created by [Mike Pretzlaw](http://mike-pretzlaw.de) / [@fxrmp](http://twitter.com/fxrmp)
7
+ </small >
Original file line number Diff line number Diff line change
1
+ # The Magento_Core
2
+
3
+
4
+ ## E-Mail
5
+
6
+ - See an E-Mail in the Browser instead of sending them
7
+
8
+
9
+ ### Easily design an E-Mail
10
+
11
+ - In the Backend go to: ` System > Configuration > Developer Mode - Core `
12
+ - Open E-Mail
13
+ - Set "Send mails" to "No"
14
+
15
+ Note: Now the mails will stuck in your browser instead of sending them.
Original file line number Diff line number Diff line change
1
+ # Additional tricks
2
+
3
+ via URL or Shell
4
+
5
+
6
+ ## Mighty URL
7
+
8
+ - See what events and observer has been used.
9
+
10
+
11
+ ### Events and Observers
12
+
13
+ - Add ` ?__events ` to the URL (or Query)
14
+ - The original output will be replaced with something like this:
15
+
16
+ ```
17
+ Array (
18
+ [global] => Array (
19
+ [controller_front_init_before] =>
20
+ [controller_front_init_routers] => Array (
21
+ [observers] => Array (
22
+ [cms] => Array (
23
+ [type] =>
24
+ [model] => Mage_Cms_Controller_Router
25
+ [method] => initControllerRouters
26
+ [args] => Array ()
27
+ ...
28
+ ```
29
+
30
+ Note:
31
+ This will show all used events and observer only almost in the called order.
32
+ Global means that they are used in frontend and backend.
33
+ So the other keys are ` frontend ` and ` backend ` .
34
+
35
+
36
+ ## Shell Tools
37
+
38
+ - Change the admin password without nagging mail
39
+
40
+
41
+ ### Change admin password
42
+
43
+ - Run ` shell/adminPassword.php `
44
+ - You can promt the username of the admin
45
+ - and a new password
46
+
47
+ Note: The admin have to exist.
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ git clone
[email protected] :sourcerer-mike/magento-devMode.wiki.git wiki
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ echo Convert MD to PDF
4
+ gimli
5
+
6
+ echo Merge PDF to Manual.pdf
7
+ if hash pdftk 2> /dev/null; then
8
+ pdftk * .pdf cat output Manual.pdf
9
+ else
10
+ echo " Need pdftk installed but didn't found it."
11
+ while true ; do
12
+ read -p " Do you wish to install this program? [y/n] " yn
13
+ case $yn in
14
+ [Yy]* ) sudo apt-get install pdftk; break ;;
15
+ [Nn]* ) echo " Then please merge the created PDF somehow." ; exit ;;
16
+ * ) echo " Please answer yes or no." ;;
17
+ esac
18
+ done
19
+ fi
20
+
21
+ echo " Remove obsolete PDF."
22
+ for FILE in ` ls * .md` ; do
23
+ rm ` basename -s .md $FILE ` .pdf;
24
+ done ;
You can’t perform that action at this time.
0 commit comments