Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Talk:Patching forms tutorial: Difference between revisions

From MoodleDocs
(New page: the example: Change the maximum allowed grade The maximum grade for a module is set in the standard form to 100. To change this to a different value (such as 200) in version 1.9, make ...)
 
Line 10: Line 10:
I think it would be good to say something about how that works. The previous examples are easy to follow what they are doing.
I think it would be good to say something about how that works. The previous examples are easy to follow what they are doing.
--[[User:Jeff Forssell|Jeff Forssell]] 06:31, 3 April 2009 (UTC)
--[[User:Jeff Forssell|Jeff Forssell]] 06:31, 3 April 2009 (UTC)
== How to make my own activity module on moodle? ==
Can somebody please make a descriptive tutorial about this?

Revision as of 06:34, 5 October 2010

the example:

Change the maximum allowed grade
The maximum grade for a module is set in the standard form to 100.
To change this to a different value (such as 200) in version 1.9,
make this change in the file /lib/form/modgrade.php
Find:
for ($i=100; $i>=1; $i--) {

seems very strange, at least without seeing the code around it (which I haven't yet done). I think it would be good to say something about how that works. The previous examples are easy to follow what they are doing. --Jeff Forssell 06:31, 3 April 2009 (UTC)

How to make my own activity module on moodle?

Can somebody please make a descriptive tutorial about this?