Blocks: Mass Actions block

Maintained by Picture of Clem SmithClem Smith
This block allows instructors to perform actions upon multiple resources or activities, rather than having to perform repeated actions on individual items.
1208 sites
56 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


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

Comments RSS

Show comments
  • Picture of Simon Taylor
    Fri, Feb 8, 2019, 6:14 PM
    Hi guys, My Apologies to Clem Smith I directly messaged and then noticed the comments section, Are there any plans to update this for 3.5? My workplace won't allow me to use it unless it is at the same version as the Moodle.
  • Picture of Vicke Denniston
    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.
  • Picture of Tim Scholl
    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?
  • Picture of Sean Mullins
    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.
  • Picture of Frankle Lee 李智高
    Mon, Jun 17, 2019, 9:33 AM
    any Plans to upgrade to work on 3.7?
  • Picture of Karl Kaemingk
    Tue, Aug 6, 2019, 4:19 AM
    I would love to use this in Moodle 3.7. Any plans to update?
  • Picture of Karl Kaemingk
    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
  • Picture of Debbie Unterseher
    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.
  • Picture of Sven Niland
    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?
  • Picture of Sven Niland
    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.
  • Picture of Sven Niland
    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.
  • Picture of Sarah Ricketts
    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?
1 2 3 4 5 6
Please login to post comments