Note: You are currently viewing documentation for Moodle 3.1. Up-to-date documentation for the latest stable version of Moodle is probably available here: Ajax marking block.

Ajax marking block

From MoodleDocs
Revision as of 14:13, 22 July 2008 by Matt Gibson (talk | contribs) (created page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The AJAX marking block displays a tree structure of all of the courses you are part of where there are unmarked assessments waiting to be graded, along with a count of the totals. At its simplest level, e.g. assignments, it shows Course name > Assignment name > Student name. When the student;s name is clicked, a pop-up opens with the work to be graded. Once 'Submit' has been clicked in that window, the pop-up closes and tree updates itself by removing the student's node and altering its total count.

The AJAX bit means that every time you click on the nodes to expand them, the data for the child nodes is fetched in the background without refreshing the whole page. Clicking 'Collapse and refresh' will re-load the whole tree, with an updated count of your marking including anything that was submitted a second or two ago.


The block can be set to show or hide each individual assessment item, or show only the assessments by students in certain groups. Clicking on 'configure' will bring up an additional tree, which shows only the courses and names of the assessment items. When you click on one of the assessments, you will be faced with a number of options on the right:

  • Show - the default state, where you will see all students' work
  • Show by group - a set of checkboxes will appear with the names of the current groups for that course. You choose which you want to see and group nodes will then be shown between the assessment and student nodes in the main block.
  • Hide - do not display any submissions for this assessment item.

The counting of unmarked submissions respects these choices and they are specific to the user who created them. If you are an admin and wish to set the preferences for others, use the 'login as' function to do so.