Blocks ::: block_attendance
Maintained by Dan Marsden, Catalyst IT
This block works with the attendance module, it provides teachers with quick access to Attendance functionality, and provides students quick access to a summary report for their own attendance.
Latest release:
3341 sites
69 fans
Current versions available: 6

The Attendance activity allows teachers to maintain a record of attendance, replacing or supplementing a paper-based attendance register.

This block provides quick links to features such as reporting, taking of attendance and adding new sessions.


This plugin is part of set Attendance.


Screenshot #0


Dan Marsden (Lead maintainer)
Artem Andreev: Previous maintainer/developer
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Tue, Feb 14, 2017, 8:09 PM
    Ok. Thanks Dan.

    On another note, this was sent to me by office admin staff in relation to the Attendance:
    "Following on from our conversation yesterday, I was just wondering how possible it would be to have a percentage from total sessions from each individual group. At the moment the attendance is worked out over all sessions taken, either for that week, month or year.
    For example:
    If you go to the Report tab or export it all into excel, you can see the taken sessions, total sessions and percentage for all classes (See below). Is there any way for us to extract the data from just the chosen group?
    So in the screenshot below I have chosen the group ‘Ballet – Chisato Ohno – F1 – Term 2.’
    When you go to the summary page it says that there have been a total of 245 sessions, when actually there should only be about 18 sessions for that group. It would be great if we could see how many sessions of that group each student has been present in (so how many ballet sessions out of the 18 sessions they have been present/absent in)."

    Unfortunately I can't attach the screenshot she sent due to the forum limitations here... But I think you can get the gist of what they are asking. Is this possible?


  • Wed, Feb 15, 2017, 3:58 AM
    anything is possible with funding or development time smile - I'm happy to accept both funding to develop new features or pull requests from external developers. smile
  • Wed, Mar 22, 2017, 8:31 AM
    I'm also one who would like the option of NOT having attendance displayed in the calendar. With multiple classes and therefore sessions, the calendar becomes very cluttered for students - and therefore difficult for them to quickly see assignment due dates etc. Is there a code edit I could make to disable the link?
  • Wed, Mar 22, 2017, 8:54 AM
    sure - personally I think this should be a feature within Moodle core - allowing us to hide events from particular modules, I'm not sure if there is an existing tracker issue for that but there is a lot of work going on at the moment which is adding even more events into the calendar - see: (make sure you login to the tracker when viewing that as the linked bugs only show when logged in)
  • Sun, Dec 17, 2017, 2:35 PM
    Hi, Would it be possible to search for a users by name ... i have a lot of users who take submit attendance weekly... I know there is the export option, but would it be possible to search for a user? thanks smile
  • Mon, Dec 18, 2017, 4:17 AM
    @Zeid - That's not something that is currently supported. I would like to improve the reports to allow better filtering/searching at some point though. Pull requests or funding are always welcome.
  • cb userpic w harvey
    Fri, Jan 19, 2018, 10:44 AM
    For some reason Attendance did not show in Calendar over the last five months, but it does now. Is there a way to remove it? It does clutter the calendar and since we've disabled student ability to take their own attendance, it's not relevant to them. Please advise, thanks. smile
  • Fri, Jan 19, 2018, 10:57 AM
    Clay - try looking at the admin settings and you might find something relevant: admin > activities > attendance
  • Fri, Jul 27, 2018, 8:24 PM

    There's quite too much information for the students on the attendance block.

    Is it possible tor filter the stats? If not, is it possible to segregate them. My client doesn't want students to be confused with too many numbers.

  • Fri, Jul 27, 2018, 8:43 PM
    @Kelvin I would be happy to help your client with this - feel free to get in touch privately and I can provide information on our rates.
  • Tue, Aug 27, 2019, 10:07 AM
    Hi Dan. We are running Moodle 3.6.5 and are getting this error. Do you know how we can resolve this?

    Problem Log:
    !!! Exception - Call to undefined function file_rewrite_pluginfile_urls() !!!
    PHP Fatal error: Uncaught coding_exception: Coding error detected, it must be fixed by a programmer: A lock was created but not released at:
    Exception Non-zero exitcode: 1 running task \mod_attendance\task\auto_mark, continuing running other processes
    !!! Exception - Call to undefined function file_rewrite_pluginfile_urls() !!!
    PHP Fatal error: Uncaught coding_exception: Coding error detected, it must be fixed by a programmer: A lock was created but not released at:
    Exception Non-zero exitcode: 1 running task cron.php, continuing running other processes


  • Wed, Jul 15, 2020, 10:13 AM
    sorry to hassle...
    do you know of an compatibility issues with Moodle 3.9 with this plugin?
    I suspect that, with the broad compatibility (3.4 thru 3.8) of the current version (3.2.4) "probably not" is the answer.
    Seeking confirmation / clarification / reassurance smile
  • Wed, Jul 15, 2020, 3:04 PM
    I'm not aware of any issues. I haven't flagged it as ready for 3.9 due to a behat test failure that i cant reproduce when running the steps manually - I'm hoping to find some time in the next month to chase that down. But pull requests are always welcome!!!
  • Sat, Jul 18, 2020, 2:01 AM
    Hello Dan, I can't find the Attendance Block in the list of Blocks. I've downloaded the plugin, moodle 3.9. Many thanks. Additionally, we'll probably need a specifiic report and we can fund a development.
  • Tue, Jul 21, 2020, 5:45 PM
    this Block is an optional extra - you must have the attendance activity installed as well. For installation help, the best place to ask for help is here:
    If you would like to fund development I work for the Moodle Partner Catalyst IT, feel free to get in touch privately for information on our rates.
1 2 3
Please login to post comments