Note: You are currently viewing documentation for Moodle 2.0. Up-to-date documentation for the latest stable version is available here: Patching forms tutorial.

Development talk:Patching forms tutorial: Difference between revisions

From MoodleDocs
 
Line 14: Line 14:


Can somebody please make a descriptive tutorial about this?
Can somebody please make a descriptive tutorial about this?
: It already exists. Click on the 'Developer' documentation link over on the left. Then scroll down the page to the "Make a new plugin" heading, then click on one of the links in the first bullet point.--[[User:Tim Hunt|Tim Hunt]] 09:41, 5 October 2010 (UTC)

Latest revision as of 09:41, 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?

It already exists. Click on the 'Developer' documentation link over on the left. Then scroll down the page to the "Make a new plugin" heading, then click on one of the links in the first bullet point.--Tim Hunt 09:41, 5 October 2010 (UTC)