Moodle Plugins directory: Public files: Versions: Stable (2017041600) | Moodle.org
Public files
Public files Stable (2017041600)
block_public_files
This Moodle Block is just like the internal "private_files" block, except the files are available to all logged on users. Files added to this block are available in the system context - meaning all users can access them whenever and wherever this block is visible.
Only the site admin has the ability to add files. Allows any files types of any file size as per the system specification, including files and folders. Clicking a filename prompts the user to download it.
This is a single-instance only block, and you can configure it's title - but that's about it. Other than that, it works exactly the same as the private_files block. Files are not visible to guests or non-authenticated on users.
Support unlimited file types, sizes, folders, etc.
What it's for
Do you have a standard set of documents that you need to put on all your courses, such as your site policy and assessment guidelines? Are you currently attaching these to a dummy course, or hidden file activities on the front page or as seperate copies in file resources in all your courses? No more - just add a public_files block on your dashboard or wherever, and there you go.
installation
Belongs in /blocks/public_files Install as you would any other plugin (e.g. site admin > notifications)
Requirements
Developed in 3.2, but should easily backport to at least 2.7+
Licence
GPL3, same as Moodle
Version information
- Version build number
- 2017041600
- Version release name
- Stable (2017041600)
- Maturity
- Stable version
- MD5 Sum
- 992ca72bcdead8a55448c409313ed776
- Supported software
- Moodle 3.2
- Latest release for Moodle 3.2
Version control information
- Version control system (VCS)
- GIT
- VCS repository URL
Default installation instructions for plugins of the type Blocks
- Make sure you have all the required versions.
- Download and unpack the block folder.
- Place the folder (eg "myblock") in the "blocks" subdirectory.
- Visit http://yoursite.com/admin to complete the installation
- Turn editing on in any home or course page.
- Add the block to the page
- Visit the config link in the block for more options.