Your Moodle version

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.

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 Dan Jeffries
    Wed, Sep 10, 2014, 6:40 PM

    Running 2.6.4 and can confirm it's not appear in Blocks list, though has installed.

    Any ideas? Would be a huge help!

  • Picture of Curtis Barker
    Thu, Sep 18, 2014, 12:31 AM
    I can echo that it all looks correctly installed, but nothing on the drop down to add an instance.
  • Picture of Sebastien Jaffredo
    Tue, Feb 24, 2015, 3:10 PM

    Do you know any way to do something similar with activity settings? I need to change the "Allow access from" and "Allow access until" settings to a series of activities in one go.
    Even better: being able to do this across many different courses, instead of just one at a time.
  • Picture of Clem Smith
    Tue, Feb 24, 2015, 9:01 PM
    @Sebastien Jaffredo,

    I am not aware of a block or plug-in that could do this for you. I'll bring the idea up to our analysts and see how useful they feel this might be for our users. If they like the idea, then I'll see about getting work on that prioritised, whether that is my coding such a thing from start to finish or merely contributing to someone else's work. I'm not sure how you could set such a thing up to affect multiple courses and multiple activities within those courses simultaneously. Obviously, you probably could, but it would probably be easiest to make it work at a course level. Also, how often would changing these settings across multiple courses really be useful?

  • Picture of Elizabeth Dalton
    Wed, Mar 11, 2015, 1:50 AM
    We've noticed a conflict between this plugin and certain course formats, especially Collapsed Topics. When Collapsed Topics is selected as the Course Format, this block does not appear in the drop-down list, nor will it display. If we set the course to Topics or Weeks, the block works again. If we set the course format back to Collapsed Topics, the block disappears again.
  • Picture of Elizabeth Dalton
    Wed, Mar 11, 2015, 4:45 AM
    @Sebastian, see discussion about the "Assignment Reset Tool" in and at Documentation is here: - this doesn't allow you to set "access from" and "access to" dates, but could probably be extended to do so. It also only works on assignments, not other activities, but at least it's a starting point.
  • Just wondering . . .
    Wed, Jun 24, 2015, 4:08 AM
    Elizabeth, did you get collapsed topics issue sorted? - Derek
  • Picture of Clem Smith
    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
  • Picture of Nicolas Martignoni
    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?

  • Picture of Susana L.
    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.
  • Picture of Susan Mangan
    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!
  • Picture of Hartmut Scherer
    Thu, Dec 3, 2015, 8:17 AM
    Are there plans to add "copy" to this block?
  • Picture of Matthew Davidson
    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!
  • Picture of Hartmut Scherer
    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.
1 2 3
Please login to post comments