Note: You are currently viewing documentation for Moodle 3.2. Up-to-date documentation for the latest stable version of Moodle is probably available here: Working with files.

Working with files

From MoodleDocs

1 877 778 8714 Quickbooks enterprise tech support phone number

Viewing uploaded files

  • Once uploaded, files appear as thumbnails in the file manager for easy recognition.
  • Files view can be easily toggled between icons view or a table view with sizes and dates, or a hierarchical list view.
File picker icon view
File picker table view
File picker hierarchical list view

Editing or updating uploaded files

  • Clicking on the name of an uploaded file opens up a pop up dialogue box which allows file details quickly to be altered.
File info popup dialogue

Creating an alias/shortcut

  • When an uploaded file - or a file from the Private files, Dropbox, File system or EQUELLA repositories - is re-used elsewhere on Moodle, the teacher has the option to make a copy (a new, unconnected version) or to create a shortcut or alias. (Note: Previously an alias could be made to a file stored in Box.net, however with Box.net API v2 this is no longer possible.)
  • If an alias is created, then when the original file is updated, it will change in all instances of the alias. So a teacher might add course notes to their private files for example, and then add them into a number of courses. When the teacher makes an alteration in the file in their private files, this alteration will be reflected in all instances of the course notes.
  • An alias can be recognised by its thumbnail. See the difference in the screenshot below between the original file (left) and the alias (right):
  • To update a file, go to its original location (for example Private files) and upload your new version with the same name . You will be prompted to override or rename the file. Choose "override" and this file will replace your original file and the alisas/shortcuts will remain and all be updated to your latest version.
Creating an alias
shortcut1.png

Areas in which aliases cannot be made

An alias cannot be made in the following areas of Moodle:

  • an assignment submission
  • a forum post attachment
  • a workshop submission
  • a quiz essay
  • a database activity file field

This is to prevent cases such as a student uploading an item for assessment and then subsequently changing the original in their private files. When a student uses a file from their private files in one of these instances, they do not see the options to "copy" or "create an alias". Below is an example of a file added to an assignment:

Assignment submission with no option to create an alias

Site administration settings

An administrator can add new file types and view, edit and delete existing file types from Site administration > Server > File types. This means that, for example, if teachers and students on your site use a lot of files specific to a particular program, such files can now be recognised by Moodle, and, when downloaded, they will open in the correct program, rather than presenting themselves as a generic zip file.

Some examples from the list

Adding a new file type

1. Scroll down to the bottom of the page and click the "Add" button

2. Add the details of your file type, using the example below as a guide. This example will add the .mobi extension (for a Kindle ebook) with the standard document icon.

Adding a new filetype

3. Click to save the changes and you will see your new file type has been added to the list:

New type in the list

Restricting allowed file types

  • Allowed file types for Workshop submissions may be restricted (new in 3.1)
  • It is not yet possible to restrict Assignment submissions file types - see MDL-39913

Removing a file type

  • Clicking the X next to a file type will remove it from the site. You will be prompted to confirm before deletion.

Editing an existing file type

  • Clicking the edit icon next to a file type will allow you to change certain details, for example the associated icon and description. If you don't wish to use the default description, you can specify your own custom description (with multi-language tags if your site supports multi-languages) or you can use an alternative language string from mimetypes.php.

Google docs and docx

Importing Google docs files as docx. See https://moodle.org/mod/forum/discuss.php?d=320144

See also