Note: You are currently viewing documentation for Moodle 1.9. Up-to-date documentation for the latest stable version is available here: Categorise grades block.

Categorise grades block

From MoodleDocs
Revision as of 18:25, 24 March 2009 by Helen Foster (talk | contribs) (Category:Contributed code)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Auto categorise grades by month

While this is packaged as a block, it is very important to note that it doesn't really behave like a typical block- you cannot add it to any page. It is simply being used as it is a nice, easy way to install such a feature. All the work is done by a cron job(automatically run process) in the background.

What this cron job does is to find all grades that are not already in categories, then (creating the categories where required) puts them into categories named after the month that the grade items were created in. It then makes sure that the course total is set to ignore categories, this means that the course total will still read as if all the grades were uncategorised.

As it stands, if you use a gradebook for more than a year in combination with this block then it will start putting the grade items in the same categories for both years (ie if you had a 2yr course sep08-jun10 then sep08 and sep09 grades would both end up in the 'September' category)

See also

  • Modules and plugins database entry