[Q] Developing a moodle module/block

[Q] Developing a moodle module/block

by Young-Jin Lee -
Number of replies: 1
Dear All,

I am new to Moodle development and need some help.

I want to add more module and/or block to the Moodle. I looked over developer documentations, but could not figure out where to begin.

As a software developer, I was looking for simple tutorial such as "Hello World!" version of a Moodle module/block, but no such tutorial was found in the Moodle Web site.

Can anyone please provide a simple tutorial that I can learn the basics of Moodle programming?

Thanks in advance.
Average of ratings: -
In reply to Young-Jin Lee

Re: [Q] Developing a moodle module/block

by Davo Smith -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
Having recently started myself, I found this page useful:

http://docs.moodle.org/en/Modules_%28developer%29

At the bottom of the page is a link to this zip file:

http://download.moodle.org/plugins16/mod/NEWMODULE.zip

This works (once you have created the database entries to support your module), but uses (as I have found) a lot of functions you aren't supposed to be using in Moodle v1.7 / 1.8.

There is also a link to this page:
http://tracker.moodle.org/browse/CONTRIB-52
and:
http://moodle.org/mod/forum/discuss.php?d=65986

Which would be a more up-to-date version of NewModule, but I haven't tried them out.

The other alternative is just to look through the code already in the /moodle/mod/* folders and see what you can figure out from that (which is what I've been doing quite a lot of)