Aquesta pàgina forma part de la documentació de Moodle en català, tot i que no ha estat traduïda encara. Podeu contribuir obertament a les tasques de traducció. Podeu consultar la Guia d'edició de la documentació i també participar ens els debats del fòrum de traductors de la documentació a moodle.org

NEWMODULE Tutorial

De MoodleDocs
La revisió el 13:34, 28 març 2008 per Daniele Cordella (discussió | contribucions)
(dif.) ← Versió més antiga | Versió actual (dif.) | Versió més nova → (dif.)
Salta a:navegació, cerca

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