Difference between revisions of "File types"

From MoodleDocs
m
(content moved to Working with files and redirect added)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Server settings}}
+
#redirect [[Working with files]]
{{New features}}
 
*The 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.
 
 
 
[[File:Filetypes1.png|center|thumb|500px||Some examples from the list]]
 
 
 
==To add 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.
 
 
 
[[File:newfiletype.png|thumb|center|500px|Adding a new filetype]]
 
 
 
3. Click to save the changes and you will see your new file type has been added to the list:
 
 
 
[[File:customfileypesuccess.png|thumb|500px|center|New type in the list]]
 
 
 
==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
 
 
 
==See also==
 
Tracker issue: Support custom file types MDL-42616
 

Latest revision as of 15:32, 11 May 2015

Redirect to: