moodle/mod
tjhunt f59dba8497 MDL-11398 - Random questions sometimes ended up with names different from the cateogry they were actually picking from. Also, the same random questoin could be used in more than one quiz, in which case editing that question would change two quizzes unexpectedly. The fix is:
* Don't let the user set the name for random questions.
* Instead force the name to be "Random (catname)" (localised) whever the question is created or saved.
* When a category is renamed, rename all the random questions in it.
* Remove the restriction that Jamie seems to have added in 1.9 that was preventing the category of random questions from being edited.
2007-09-26 16:10:38 +00:00
..
assignment Not a pretty fix but it gets the preferences out of the way where users won't keep hitting the wrong submit 2007-09-26 11:42:36 +00:00
chat Second pass. Modules. Some more default comments are out. MDL-11385 2007-09-24 22:17:05 +00:00
choice Second pass. Modules. Some more default comments are out. MDL-11385 2007-09-24 22:17:05 +00:00
data Second pass. Modules. Some more default comments are out. MDL-11385 2007-09-24 22:17:05 +00:00
exercise Second pass. Modules. Some more default comments are out. MDL-11385 2007-09-24 22:17:05 +00:00
forum Second pass. Modules. Some more default comments are out. MDL-11385 2007-09-24 22:17:05 +00:00
glossary Second pass. Modules. Some more default comments are out. MDL-11385 2007-09-24 22:17:05 +00:00
hotpot change CONTEXT_MODULE to CONTEXT_COURSE in order to fix "Invalid context creation for level 50 instance" error on "mod/hotpot/index.php" caused by get_context_instance(CONTEXT_MODULE, $course->id) in "mod/hotpot/lib.php" 2007-09-26 07:22:06 +00:00
journal Second pass. Modules. Some more default comments are out. MDL-11385 2007-09-24 22:17:05 +00:00
label Second pass. Modules. Some more default comments are out. MDL-11385 2007-09-24 22:17:05 +00:00
lams Second pass. Modules. Some more default comments are out. MDL-11385 2007-09-24 22:17:05 +00:00
lesson Second pass. Modules. Some more default comments are out. MDL-11385 2007-09-24 22:17:05 +00:00
quiz MDL-11398 - Random questions sometimes ended up with names different from the cateogry they were actually picking from. Also, the same random questoin could be used in more than one quiz, in which case editing that question would change two quizzes unexpectedly. The fix is: 2007-09-26 16:10:38 +00:00
resource Second pass. Modules. Some more default comments are out. MDL-11385 2007-09-24 22:17:05 +00:00
scorm Second pass. Modules. Some more default comments are out. MDL-11385 2007-09-24 22:17:05 +00:00
survey Second pass. Modules. Some more default comments are out. MDL-11385 2007-09-24 22:17:05 +00:00
wiki Second pass. Modules. Some more default comments are out. MDL-11385 2007-09-24 22:17:05 +00:00
workshop Second pass. Modules. Some more default comments are out. MDL-11385 2007-09-24 22:17:05 +00:00
index.html To stop people browsing modules 2005-01-23 04:15:13 +00:00
README.txt Removing the newmodule template from this directory and putting it 2004-02-12 06:41:17 +00:00

ACTIVITY MODULES
----------------

These are main modules in Moodle, allowing various activities.


Each of these modules contains a number of expected components:

  mod.html: a form to setup/update a module instance

  version.php: defines some meta-info and provides upgrading code

  icon.gif: a 16x16 icon for the module

  db/mysql.sql: an SQL dump of all the required db tables and data
 
  index.php: a page to list all instances in a course

  view.php: a page to view a particular instance

  lib.php: any/all functions defined by the module should be in here.
         constants should be defined using MODULENAME_xxxxxx
         functions should be defined using modulename_xxxxxx

         There are a number of standard functions:

         modulename_add_instance()
         modulename_update_instance()
         modulename_delete_instance()

         modulename_user_complete()
         modulename_user_outline()

         modulename_cron()

         modulename_print_recent_activity()


If you are a developer and interested in developing new Modules see:
  
   Moodle Documentation:  http://moodle.org/doc
   Moodle Community:      http://moodle.org/community