moodle/mod
Adrian Greeve 9daabc71ea MDL-35653 - mod/wiki: Force format now lets users edit wiki pages.
Thanks to Tõnis Tartes for part of this solution.

When force format was selected in the options, trying to view the
wiki would redirect to the front page with a message saying that
you do not have permission to edit this page. Students had no way
of viewing any entries or creating the first page.

When in force format it skips a page , which would be considered
uncessary for students, but this means that the group id is not set
and this is what is causing most of the problems.

I also have included a check to see if the title is default and whether
the user has permission to view all groups. In these situations the
intermediate page is displayed.
2012-12-19 08:47:26 +08:00
..
assign MDL-36644 Assignment: prepend the course upload limit to the options array 2012-12-12 08:56:59 +08:00
assignment Merge branch 'MDL-30700-master' of git://github.com/damyon/moodle 2012-12-11 19:56:31 +01:00
book MDL-37032 upgrade: define all the 2.4.0 points 2012-12-11 13:11:11 +01:00
chat MDL-37032 upgrade: define all the 2.4.0 points 2012-12-11 13:11:11 +01:00
choice MDL-37032 upgrade: define all the 2.4.0 points 2012-12-11 13:11:11 +01:00
data MDL-37032 upgrade: define all the 2.4.0 points 2012-12-11 13:11:11 +01:00
feedback MDL-37032 upgrade: define all the 2.4.0 points 2012-12-11 13:11:11 +01:00
folder MDL-37032 upgrade: define all the 2.4.0 points 2012-12-11 13:11:11 +01:00
forum MDL-37032 upgrade: define all the 2.4.0 points 2012-12-11 13:11:11 +01:00
glossary MDL-37032 upgrade: define all the 2.4.0 points 2012-12-11 13:11:11 +01:00
imscp MDL-37032 upgrade: define all the 2.4.0 points 2012-12-11 13:11:11 +01:00
label MDL-37032 upgrade: define all the 2.4.0 points 2012-12-11 13:11:11 +01:00
lesson MDL-37032 upgrade: define all the 2.4.0 points 2012-12-11 13:11:11 +01:00
lti MDL-37032 upgrade: define all the 2.4.0 points 2012-12-11 13:11:11 +01:00
page MDL-37032 upgrade: define all the 2.4.0 points 2012-12-11 13:11:11 +01:00
quiz Merge branch 'MDL-36897' of git://github.com/timhunt/moodle 2012-12-13 09:54:17 +08:00
resource MDL-37032 upgrade: define all the 2.4.0 points 2012-12-11 13:11:11 +01:00
scorm Merge branch 'master_MDL-35737' of git://github.com/danmarsden/moodle 2012-12-12 08:43:29 +08:00
survey MDL-37032 upgrade: define all the 2.4.0 points 2012-12-11 13:11:11 +01:00
url MDL-37032 upgrade: define all the 2.4.0 points 2012-12-11 13:11:11 +01:00
wiki MDL-35653 - mod/wiki: Force format now lets users edit wiki pages. 2012-12-19 08:47:26 +08:00
workshop MDL-37032 upgrade: define all the 2.4.0 points 2012-12-11 13:11:11 +01:00
index.html
README.txt
upgrade.txt MDL-34448 - mod/data - Fixing separate groups viewing all entries. 2012-10-05 08:11:11 +08:00

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

These are main modules in Moodle, allowing various activities.


Each of these modules contains a number of expected components:

  mod_form.php: a form to setup/update a module instance

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

  pix/icon.gif: a 16x16 icon for the module

  db/install.xml: 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