Note: You are currently viewing documentation for Moodle 2.0. Up-to-date documentation for the latest stable version is available here: File handling.

File handling

From MoodleDocs
Revision as of 12:57, 5 July 2011 by Helen Foster (talk | contribs) (Add a resource (File) Different media file types copied from 19 wiki)

Please refer to these notes before editing this page.

The way files are handled in Moodle 2.0 has changed from earlier versions. Students and teachers will use the File picker to upload and organize their files in areas called Repositories. Repositories can be located on the Moodle site or externally. Site administrators can reveal, restrict, add, edit or create repositories for the site.

  • Previously, if a file was used in different courses, it was duplicated. In Moodle 2.0, files are stored only once, saving disk space.
  • Full support for Unicode file names on all operating systems.
  • Metadata about each file (author, date, license, etc) and what the file is used for are stored in the database.
  • Files are no longer just "uploaded to the course". Files are connected to the particular bit of Moodle content that uses them. (For example, a file may belong to a file resource, a forum post or a wiki page). Access to these files is controlled by the same contextual rules as as that bit of Moodle, increasing security.
  • File picker has a list (file tree) or icon view


A video on file handling in Moodle 2.0:

<mediaplayer>http://www.youtube.com/watch?v=2bUwx675Pqo</mediaplayer>

Typical Moodle 2.0 workflow

Edit text or activity. Use the file picker to easily select the file from any local or remote repository. The file is then copied to Moodle and stored securely with the text or activity.

Or Edit text or url resource. Use the file picker to select a file from any local or remote repository and select "link". The file URL is then embedded into the text and when viewed, the media comes directly from the open repository.

The standard Moodle install has 4 default areas (repositories) displayed in file picker for the teacher to select:

The site administrator can expand the above list to include 15 other predefined repository areas. For example, the teacher may see a file picker link to a Google Docs or UTube repositories where they can find files. As in the previous versions, the teacher can create a folder structure to store the files at the time files are uploaded.

Add a resource (File) Different media file types

(changes to text coming here soon) Different media types. How these come to display when you upload as a file and leave Display options to Automatic depends partly on your browser plugins and your server setup.

SWF

MP4

FLV

MOV

FAQ

Caveat: these are just making a start on these. Subject to quality, style and accuracy improvements.

What are ways to make files available to other teachers/designers?

In Moodle 2, this is going to require a change of habits. Some of the philosophy is written up in a small essay on course files here

One approach is to use a repository. One of the easiest to set up is a File System Repository

This needs server access. One such example:

Repository-filesystem-filepicker.png

What are ways to make ONE change in a file and have this reflected across a Moodle site?

This also will require a change in thinking. You cannot just go to the file in the file picker and change it's name or upload a new file. This would cause problems if it was linked to elsewhere.

One answer is again to use repositories. Link to the files in the repository. Change the files (according to the permissions on the repository) and this is reflected everywhere int he course instantly.

See also