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:
1092 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


  • Just wondering . . .
    Wed, Jun 24, 2015, 4:08 AM
    Elizabeth, did you get collapsed topics issue sorted? - Derek
  • Thu, Jun 25, 2015, 10:20 PM
    @Derek Chirnside

    The problem she reported should be fixed. The block was previously coded to work only with certain course formats. The latest version available does not possess this limitation.

    -- Clem
  • Wed, Aug 26, 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?

  • Fri, Sep 25, 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, Oct 2, 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.
  • Wed, Nov 11, 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!
  • Thu, Dec 3, 2015, 8:17 AM
    Are there plans to add "copy" to this block?
  • Thu, Feb 18, 2016, 12:09 AM
    I have added a pull request that adds a "Duplicate to section" functionality. Please consider adding this feature. Thanks!
  • Thu, Apr 21, 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.
  • Thu, May 5, 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.)
  • Thu, May 5, 2016, 10:45 PM
    Forgot to mention, we are running Moodle 3.0.3 and latest Mass Actions (v1.2.2 (2016030400))
  • Sat, May 28, 2016, 4:25 PM
    The mass action block option is not appearing on the block menu, I am using moodle 3.0.
  • Sat, May 28, 2016, 4:27 PM
    I checked the installation , it is installed but not working.........
  • Thu, Sep 15, 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
  • Wed, Sep 21, 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 (
Please login to post comments