Blocks: Mass Actions block

Maintained by Picture of Clem Smith Clem Smith
This block allows instructors to perform actions upon multiple resources or activities, rather than having to perform repeated actions on individual items.
935 sites
36 fans

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 Nicolas Martignoni
    Wed, 26 Aug 2015, 4:44 AM
    Hi Clem,
    I just tried to translate some strings, but your plugin doesn't seem to be integrated into AMOS. Do you know wether this is normal? Is it a bug?

  • Picture of Susana L.
    Fri, 25 Sep 2015, 6:37 PM
    I would like to know if "...and AJAX must be disabled" is relevant for moodle 2.7.
    Thank you.
  • Hakan Gür
    Fri, 2 Oct 2015, 5:07 AM
    Before an upgrade, all my courses rested upon the Tab course format. During the upgrade, I forgot to add the Tab plugin files to the relevant directory and the result was a total mess. All files and exercises in various sections within a lesson were now listed under one section and all the remaining sections were blank! In one lesson, there were more than 300 items to move. It is all thanks to this plugin that this took less time than I feared. I would like to thank those who developed and improved this wonderful and very useful plugin.
  • Picture of Susan Mangan
    Wed, 11 Nov 2015, 6:35 AM
    Great block, very useful - thank you! I wonder if it would be difficult to enable this block to be used in the 'Activities' view. While I can get the block to appear in this view, it will not display all the check boxes. I think adding this functionality, to mass delete, hide or move by Activity would bump this into one of the most effective admin tools yet!
  • Picture of Hartmut Scherer
    Thu, 3 Dec 2015, 8:17 AM
    Are there plans to add "copy" to this block?
  • Picture of Matthew Davidson
    Thu, 18 Feb 2016, 12:09 AM
    I have added a pull request that adds a "Duplicate to section" functionality. Please consider adding this feature. Thanks!
  • Picture of Hartmut Scherer
    Thu, 21 Apr 2016, 3:26 PM
    Thank you for adding the duplicate feature and sorry that I didn't return to this site sooner. I tried the duplicate function today and it works great.
  • Picture of Michele Turre
    Thu, 5 May 2016, 10:44 PM
    Like Eliz. Dalton, we are seeing some problems when Mass Actions is used under the Collapsed Topics format. (Works fine in other formats). We are able to add the block under Collapsed Topics, but the drop-down lists do not display custom Section names, rather the drop-downs list Topic 1, Topic 2, Topic 3, etc.

    This appears to be a regression for a fix I requested two years ago smile See comment posted below by Huy Hoang Thu, Apr 4, 2013, 2:42 PM (Uploaded version 2013040400 that tries to parse the section names, as requested by Michele.)
  • Picture of Michele Turre
    Thu, 5 May 2016, 10:45 PM
    Forgot to mention, we are running Moodle 3.0.3 and latest Mass Actions (v1.2.2 (2016030400))
  • Picture of Shailesh Navale
    Sat, 28 May 2016, 4:25 PM
    The mass action block option is not appearing on the block menu, I am using moodle 3.0.
  • Picture of Shailesh Navale
    Sat, 28 May 2016, 4:27 PM
    I checked the installation , it is installed but not working.........
  • Picture of Jürg Hoerner
    Thu, 15 Sep 2016, 12:21 AM
    On Moodle 3.1 I receive the following messages. is this Messaage a problem?

    Notice: Constant ASSIGNSUBMISSION_ONLINEPOODLL_FILEAREA already defined in /var/www/ on line 34 Notice: Constant ASSIGNSUBMISSION_ONLINEPOODLL_COMPONENT already defined in /var/www/ on line 35 Notice: Constant ASSIGNSUBMISSION_ONLINEPOODLL_TABLE already defined in /var/www/ on line 37
  • Picture of Brian Warling
    Wed, 21 Sep 2016, 1:41 AM
    The "Duplicate to section" feature doesn't appear to work in 2.7. Our developer says it's calling a function that doesn't exist in 2.7 (introduced in 2.8). He opened an issue ticket on github (
  • Picture of Chandrashekar Ramanathan
    Thu, 15 Jun 2017, 5:52 PM
    Installed with Moodle 2.8 and it works like a charm. Thank you!
  • Picture of Dan Zhao
    Mon, 21 Aug 2017, 10:45 PM
    Any news on 3.3?
1 2 3
Please login to post comments