Blocks: Mass Actions block

block_massaction
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.
1019 sites
230 downloads
51 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 http://tracker.moodle.org/browse/MDL-20213; 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.

Screenshots

Screenshot #0

Contributors

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 Nelson Bartley
    Tue, May 15, 2018, 6:49 PM
    I get that it wouldn't be able to find the things in the collapsed sections, but is there a reason it won't work with the items that are there though?
  • Picture of Clem Smith
    Tue, May 15, 2018, 8:08 PM
    The only reason it wouldn't work is if there is a javascript error on the page. I've tested it with that course format in our Moodle installations and it works. So the only thing I can think of is that there is something on the page throwing a javascript error, which would prevent anything else relying on javascript from executing.
  • Picture of Conn Warwicker
    Tue, Aug 7, 2018, 9:43 PM
    Any plans on supporting 3.5? There are javascript errors which stop it working at the moment.
  • Picture of Debbie Unterseher
    Wed, Aug 8, 2018, 3:22 AM
    It works for me on 3.5. What errors do you get?
  • Picture of Sal Iacono
    Thu, Aug 16, 2018, 3:36 AM
    Doesn't seem to work for me in 3.5 either. Could be me since I just recently upgraded to 3.5. I just installed mass actions, added block to course, but the block doesn't see any of the topics. Pull down is essentially blank. There are checkboxes in Topic zero but even if I click on them and select an action, nothing happens. If I click on 'select all', nothing gets selected. I don't see anything to suggest there are errors of any kind but it is clearly not working
  • Picture of Sal Iacono
    Tue, Aug 21, 2018, 3:21 AM
    Nevermind... it is magically working now... (I'm so happy)
  • Picture of Sal Iacono
    Tue, Aug 21, 2018, 3:26 AM
    OK... now there is weirdness I can't understand... so far it is working in 4 of my courses but I have one where it won't work. It is doing exactly as I described in my Aug 15 comment...???
  • Picture of Daniel Antonio da Silva
    Wed, Aug 29, 2018, 3:35 AM

    Checkbox does not appear on all topics
    If I click on 'select all', nothing gets selected.
    version is the Moodle 3.5+ (Build: 20180628)
  • This is a picture of me
    Wed, Oct 31, 2018, 4:27 AM
    Hey Clem,

    There are a few issuse when use the onetopic course format that has multiple parent sections with child sections.

    1. Bulk move activities between sections that have child sections between the transition:

    A course has 5 parent sections, Section 3 and 4 have 4 child sections each (Total of 13 sections)
    Move a bunch of activities from Section 1 to Section 5
    These activities will be moved to a child section in section 3 instead of section 5

    2. Can't bulk move activities that are in a child section

    Thanks

  • 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 course...it 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.
1 2 3 4 5 6
Please login to post comments