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 browser, you must be in editing mode in the course home page, and AJAX must be disabled. Only the courses in the Week or Topics formats are supported. The user also must have capability "block/massaction:use".

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.


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
  • the feather in Illusions
    Thu, Oct 17, 2013, 11:49 AM
    We used it on 2.3x, 2.4x all working fine with one drawback, once the block enabled, the core's moving resource/activity no longer working.

    To move a single resource/activity position within a unit, you have to clear this add-on block.

    Hope anyone can confirm or show me other ways to make this two task can work together. Otherwise, hope the future version can address this problem

  • Picture of Huy Hoang
    Thu, Nov 21, 2013, 11:07 PM
    @Chiu Charlie: there was a javascript error when used with 2.6 (and 2.5?) that break the page' script, fixed this in version 2013112101.
  • C'est moi :-)
    Wed, May 7, 2014, 5:28 PM
    This block is nice and useful !
    But i can't find it in AMOS to make/upgrade the french translation...
  • Picture of Clif Kussmaul
    Sat, May 17, 2014, 10:12 PM
    In debug mode, I see:
    Invalid get_string() identifier: 'massaction:addinstance' or component 'block_massaction'.
    Perhaps you are missing $string['massaction:addinstance'] = '';
    in ../moodle/blocks/massaction/lang/en/block_massaction.php?

    And indeed that file is missing such a line...
  • Picture of Clif Kussmaul
    Sat, May 17, 2014, 10:16 PM
    I have Moodle 2.6 and MassAction 2013112101. MassAction installs, appears in the block list and the list of teacher permissions, but does not appear in the list of blocks.
  • Oam
    Fri, Jul 18, 2014, 7:33 PM
    Hello !

    In debug mode, I've got an error easy to fix : (Moodle 2.5)

    Invalid get_string() identifier: 'massaction:addinstance' or component 'block_massaction'. Perhaps you are missing $string['massaction:addinstance'] = ''; in /var/www/moodle/www/blocks/massaction/lang/en/block_massaction.php?

    Can you add a line like this in lang/en.php ?
    $string['massaction:addinstance'] = 'Add a new Mass Action block';

    Thanks !
  • 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?

1 2
Please login to post comments