Blocks: Course Files

Maintained by Picture of Andrew DavidsonAndrew Davidson
This block provides information on the file usage on a given course.
206 sites
11 fans
Current versions available: 3

This block provides information on the file usage on a given course.

The block_coursefiles plugin has three views:

The main block view will show an overview of the file storage used as well as the largest 5 files on a course

The block has a report page that will show a list of all the files on a course, ordered by size.

The block also has a global report page that will show a list of all courses and their total storage usage.
The global report is available in the Reports section of the Site Administration block.


Screenshot #0
Screenshot #1


Picture of Andrew Davidson
Andrew Davidson (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of David Mudrák
    Fri, Feb 6, 2015, 6:15 PM
    H Andrew. Thanks for sharing your plugin with the community. Please find the two issues I reported to your tracker. I'll be happy to approve this plugin once a new version with fixes is added here.
  • Picture of David Mudrák
    Fri, Feb 6, 2015, 6:36 PM
    Thanks for fixing the issues promptly. You are cleared to land now, welcome to the Plugins directory.
  • Picture of Ger Tielemans
    Mon, Feb 9, 2015, 7:34 PM
    Woudl it be possible to add links to the "edit-window" of each file
  • Daniel
    Fri, Jan 22, 2016, 4:52 PM
    Do you wear your plugin for Moodle 2.9 Moodle or even?
    Thank you.
  • Picture of Andrew Davidson
    Fri, Jan 22, 2016, 7:46 PM
    Hi Daniel,
    I've added a new version of the plugin supporting 2.9 & 3.0
  • Picture of Mathieu Pelletier
    Thu, Mar 10, 2016, 8:11 PM
    Hello Andrew,

    Your version appears to only support version 2.9.4 and up. Are you certain this will not install on 2.9.3? Your description says 2.9, but your version.php file specifies 2015051104 (2.9.4).
  • Picture of Ghislain Fabre
    Wed, Aug 3, 2016, 5:01 AM
    Thanks for sharing this plugin. Do you know if a version will be released for moodle 3.1 ?
  • Picture of Dinis Medeiros
    Wed, Mar 1, 2017, 8:23 PM
    When you click in "view more" on the block, what suppose appear? Only Top 5? That's what i got.
  • Picture of marc mathys
    Fri, May 5, 2017, 3:38 PM
    There seems to be a problem installing the new version. On 2 separate sites, it properly validates the plugin but never gets to the update the database screen, but rather takes you back to the list of plugins that need to be updated. I show the plugin and the circle repeats. Thanks marc
  • Daniel
    Sat, Jan 27, 2018, 6:02 PM
    Thank you for your very useful plugin.
    It also works on Moodle 3.4.
    Would it be possible for your plugin to make the difference between the files actually deposited in the course and the files linked by alias (link).
    Indeed to really know the size of the course, the one that determines the backups, it would be useful to give rather the actual size of the course.
    Thank you for your reply.
Please login to post comments