Note: You are currently viewing documentation for Moodle 2.6. Up-to-date documentation for the latest stable version of Moodle may be available here: NEWMODULE Tutorial.

Development:NEWMODULE Tutorial

From MoodleDocs
Revision as of 13:34, 28 March 2008 by Daniele Cordella (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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