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

From MoodleDocs
Revision as of 06:31, 3 April 2009 by Jeff Forssell (talk | contribs) (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 ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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)