Development:NEWMODULE Tutorial
From MoodleDocs
How to begin the creation of a new module.
- choose a name for your module. Take care: no capital letter and no numbers in the name. In this example it will be choosen: "widget"
- find/replace all the occorrences of newmodule in each file with the name of your own module
- change the name of the folder containing you new created module to "widget"
- change the name of the file in widget/lang/en_utf8/newmodule.php to "widget.php"
- put your just born widget folder in moodle/mod
- visit "notification" page of moodle->Site Administration block
- follow the instruction on the screen