stronk7 10672458f9 Now "attempt", "submit" and "review" actions
use the q=xxx&attempt=yyyy syntax instead of
        id=xxxx&attempt=yyyy (not working old one)
It's necessary to change the "review" add_to_log() call
to use this sintax. It uses the old (nor working) one.
I wait to Martin to do this, because I've sent one email about this.
For info, the line to correct is number 57 in review.php from:
add_to_log($course->id, "quiz", "review", "review.php?id=$cm->id&attempt=$attempt->id", "$quiz->id", "$cm->id");
to:
add_to_log($course->id, "quiz", "review", "review.php?q=$quiz->id&attempt=$attempt->id", "$quiz->id", "$cm->id");
Ciao :-)
2004-02-17 17:27:27 +00:00
..
2004-02-16 09:24:14 +00:00
2004-02-16 09:24:14 +00:00
2004-02-16 17:32:10 +00:00
2004-02-15 14:51:24 +00:00
2004-02-16 09:24:14 +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