## Activities: Checklist

mod_checklist
Maintained by Davo Smith
A checklist can be created by a teacher (or generated from the activities in a course) and then the students or teachers can check-off each item as they are completed.
2k
3k
29
Moodle 2.0, 2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7, 2.8, 2.9, 3.0

This is a Moodle activity module for Moodle 1.9 and Moodle 2.0+ that allows a teacher to create a checklist / todo list / task list for their students to work through. The teacher can monitor all the students' progress, as they tick off each of the items in the list. Items can be indented and marked as optional. Students are presented with a simple bar showing how far they have progressed through the required/optional items and can add their own, private, items to the list.
Features include:

• Choose whether students or teachers can check-off items
• Students can add their own notes to their checklist
• Dates can be added to items (and exported to the calendar)
• Teachers can comment on an individual student's items
• Progress is exported to the gradebook
• Choice of colours for each checklist item
• (Optional) Import list of current course activities and automatically check-off as activities completed

There are two other plugins that further enhance this activity:

Video overview of this plugin:

The latest version (and the Moodle 1.9 version) can always be found here: https://github.com/davosmith/moodle-checklist (the version on Moodle.org will be updated from time to time)

### Sets

This plugin is part of set Checklist.

### Awards

• Sun, Dec 6, 2015, 5:43 AM
In moodle 3.0 i got this message:
CGIWrap Error: Execution of this script not permitted

Execution of (htdocs/web/moodle/mod/checklist/view.php) is not permitted for the following reason:
Script is group writable.

Server Data:
Server Name: www.escolaagricolavendasnovas.com
Server Port: 80
Server Protocol: HTTP/1.0
Virtual Host: www.escolaagricolavendasnovas.com

Request Data:
User Agent/Browser: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0
Request Method: GET
Remote Port: 20806
Query String: id=155

Any HELP?
• Sun, Dec 6, 2015, 7:31 AM
That's a permissions issue. You need to change the file permissions on the plugin to remove the group write permission (as your server is obviously configured to refuse to run files with those permissions).
• Sun, Dec 6, 2015, 9:11 PM
Can you explain HOW TO? I'm a dummie in this kind of things, I can access server but ... What file?
• Sun, Dec 6, 2015, 9:27 PM
Hi Dinis. Sorry, I can't explain how to do that, as it entirely depends on how your sever is configured. Please ask your server admin to sort it out for you.
• Mon, Dec 7, 2015, 1:43 AM
SOLVED. Thanks
• Wed, Dec 9, 2015, 6:55 AM
Hi We use assignments linked from Moodle books to the actual assignment activity which is located in an orphaned section of the course and set to show. This works really well as the students need only go through the Moodle Books, view content, watch videos, articulate presentations, interactions and quizzes etc. My problem is that the Checklist Module/Activity which used to show these assignments in the orphaned section now will not show them. Is it possible to have these show in the Checklists again? It is a brilliant way of clearing all excess activities from the Heading/Labeled sections of the course and screen real estate (Especially on smaller devices), providing a place for lecturers to go to see at a glance students at risk, who has completed what and having students work there way through the content in one location. In an upgrade not sure which one 2.5 or 2.6 these orphaned assignments disappeared from all 200 of my courses Checklists. Any ideas would be really appreciated. Thanks in advance Rob Beckett tafeSA
• Wed, Dec 9, 2015, 5:09 PM
Rob,

There was a problem, many years ago, that empty course sections would cause the checklist update code to stop, before it got to the end of the course.

This was fixed (back in Feb 2011) by making the code loop through from section 1 to the number of sections reported by the course format. Whilst it is probably possible to change the code to handle sections that fall outside of this range, I'd be a bit nervous about changing it without extensive testing (which I don't have much time to do), due to the risk of it causing infinite loops, or breaking badly on some people's Moodle sites (with so many people relying on the plugin, I have to be careful what I change).

I will try to look into it, but I can make no promises of any timescale involved.
• Mon, Jan 11, 2016, 4:47 AM
We like to have full course checklists available to students so they can see their progress in the class. However, we have noticed that items we've hidden from students sometimes appear to them in the checklist. If we hide items or sections with the "eye" they do not appear in the checklist. But if we hide them using restrictions (like date or activity completion restrictions) then they still appear to students in the checklist, which we do not want. Is it possible to make hidden items hidden in the checklist, not matter which method we use to hide them from students? Thanks.
• Mon, Jan 11, 2016, 4:18 PM
Hi Jelly,

Yes, it would be possible to make conditionally restricted items hidden in the checklist, with a change to the code. It would probably take a few hours to implement such a change (it is not completely straightforward, as other reasons for hiding activities can be calculated per-item, whereas this needs calculating per-user as well).

I don't expect to have any spare time to do any development work on this plugin in the near future - I'm happy to accept a well written patch from someone else, or will look at it when I next have some spare time.
• Mon, Feb 8, 2016, 6:06 PM
Hi, thank you for your great job. Could you let me know how to expand the comment area? I'd like to change it to like a textarea rows="3" cols="25" ,for example.　I wonder if I should change the line.1099-1124 in locallib.php, but I just fail because I'm not understand enough about PHP and DB.
• Tue, Feb 9, 2016, 4:48 PM
Of course, I know I can fill in long sentences under the present settings, however, I’ve required the wider input area from my users.
• Tue, Feb 9, 2016, 5:06 PM
Yuka - search for the two lines of code in locallib.php that look something like 'input type="text name="teachercomment[' and edit them to turn them into a textarea instead.
• Tue, Feb 9, 2016, 6:52 PM
Thank you for your reply! and I tried them. However, I don't know how to deal with the value element in textarea. So I can make the text box and fill in, but next time, when I re-edit, comments don't display. They went away. I paste codes (line1115-1123) I changed below, could you please give me more advise.

echo '<textarea cols="25" rows="3" name="teachercomment['.$item->id.']" value="'.s($comment->text).'" '.$outid.'></textarea>'; } else { echo s($comment->text);
}
echo ' </span>';
}
}
if (!$foundcomment &&$editcomments) {
echo ' <textarea cols="25" rows="3" name="teachercomment['.$item->id.']"></textarea>'; • Tue, Feb 9, 2016, 6:56 PM Details of the textarea element can be found online at: https://developer.mozilla.org/en/docs/Web/HTML/Element/textarea • Wed, Feb 10, 2016, 3:08 PM Thanks again. When I changed the line 1115 like what below, I delete the code '.$outid.' because it shows 'id="firstcomment"' after comments. Is this way correct?
echo '<textarea cols="25" rows="3" name="teachercomment['.$item->id.']">'.s($comment->text).'</textarea>';