Mass Actions block

Blocks ::: block_massaction
Maintained by Clem Smith
This block allows instructors to perform actions upon multiple resources or activities, rather than having to perform repeated actions on individual items.
Latest release:
1106 sites
58 fans
Current versions available: 7

This block allows instructors to perform actions upon multiple resources or activities, rather than having to perform repeated actions on individual items.

To use this block, Javascript must be enabled in your browse and you must be in editing mode in the course home page. The user must have capability "block/massaction:use". The block may now be used with a course in any course format. However, the OneTopic format is not properly supported at this time. The work-around is to change course formats to another format (Weekly or Topics are well-tested), move the course content around, then change the course format back to OneTopic. I will try to fix the interaction between OneTopic and Mass Actions in the future.

Supported actions include mass selection, indentation, deletion, hiding, showing, and moving. To select items to perform actions on, simply click the checkbox to the right of it in the course home page or use select functionality, then click the action you would like to perform in the block.

Note: the original block for Moodle 1.9 is on; this is the version for Moodle 2.

If you encounter bugs or have suggestions for improvement, please use the bug tracker URL and I will work on those as quickly as possible.


Screenshot #0


Clem Smith (Lead maintainer)
Huy Hoang: Original maintainer
Jon Marthaler: Former developer
Dominic Hanzely: Former developer
Please login to view contributors details and/or to contact them

Comments RSS


  • Fri, Feb 15, 2019, 7:05 AM
    I am also wondering about 3.5. We have it installed, and it kind of works. It can take 5 minutes or more to delete even a couple of items.
  • Tue, Feb 26, 2019, 5:58 AM
    Would it be possible to add activity completion options to this block? As in Select all in section (Even if it was just labels) and have the option to turn it off?
  • Tue, Mar 5, 2019, 5:56 AM
    Would anyone know why Mass Actions is working on some of our courses and not others? I have checked two courses side by side and they match up in everything that I can see. One course works normally, and the other errors out when you click on the "select all in section" dropdown menu and does not display any of the topics. Additionally, if I click on a few boxes next to activities and then choose an option to, say, indent, it does not complete the action. But in the other all works perfectly. It's driving us nuts!
  • John Provasnik at Moodle Moot US
    Tue, Mar 5, 2019, 6:39 AM
    If seen this a bunch of times and am not sure what causes it -- sometimes you can see checkboxes next to each activity in the course and then all of a sudden they stop appearing. At the stop where the stop appearing, I typically edit that Topic, make sure there's no wacky HTML in the description/title of that topics, and then that sometimes helps. You could also check our JavaScript console in the web browser to see if any error appears on that course page where it isn't fully loading.
  • Mon, Jun 17, 2019, 9:33 AM
    any Plans to upgrade to work on 3.7?
  • Tue, Aug 6, 2019, 4:19 AM
    I would love to use this in Moodle 3.7. Any plans to update?
  • Tue, Aug 6, 2019, 4:20 AM
    I would love to use this in Moodle 3.7. Any plans to update?
  • Brian
    Thu, Aug 8, 2019, 4:00 PM
    On github, the branch master has not been updated much but moodle_34_master has been updated regularly.
    Which Moodle versions are supported please.

    Of those, which massaction branch should be used for 3.4? 3.5? 3.6? 3.7?

    Many thanks
  • Tue, Sep 3, 2019, 12:30 AM
    I have gotten this to work in Moodle 3.6. If for some reason a topic doesn't have the select buttons on the side, if you edit the name of the topic, they will magically appear.
  • Thu, Apr 9, 2020, 7:47 AM
    Hmmm, this is a fabulous tool (well done) but I'm having some issues in 3.5. I restored a mid-sized course of about 30 topics/weeks with 2-3 activities per week. I added the Mass Action block to try to re-order/organize content. It worked perfectly until I added and renamed a new topic. After that, nothing shows up in the 'Select all In Section' drop-down and obviously from there none of the still selectable items can be manipulated at all. I wonder if this helps provide any clues as to what might be underlying problems?
  • Thu, Apr 9, 2020, 7:51 AM
    Further to my above comment, I now notice if I add another (unwanted) topic then the Mass Actions block seems to start working again. Something about adding/editing topics is throwing this off. Again, posting in case it's useful to the author or others.
  • Thu, Apr 9, 2020, 8:24 AM
    ... finally, I hope, purging the site cache also appears to (usually) fix the issue of the MA block suddenly becoming non-functional.
  • Tue, May 5, 2020, 11:58 PM
    This is a long shot, since it appears that the developer of this plugin hasn't logged in since 2018 - but has anyone successfully used this Mass Actions plugin on a m3.8 instance as yet?
  • Wed, Aug 26, 2020, 5:40 AM
    It was working fine with Moodle 3.8.3+, but we updated to Moodle 3.9.1 and it stopped working.
Please login to post comments