NEWMODULE Tutorial

Z MoodleDocs
Wersja z dnia 13:34, 28 mar 2008 autorstwa Daniele Cordella (dyskusja | edycje)
(różn.) ← poprzednia wersja | przejdź do aktualnej wersji (różn.) | następna wersja → (różn.)
Skocz do:nawigacja, szukaj

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