A Site Administrator can add new file types as well as view, edit, and delete existing file types from Quick-access menu > Server > File types. This means that, for example, if trainers and learners on your site use a lot of files specific to a particular program, such files can now be recognised by Totara and when downloaded they will open in the correct program rather than presenting themselves as a generic ZIP file.
Adding a new file type
- Scroll down to the bottom of the page and click the Add a new file type button.
- Configure the settings.
- Click Save changes.
|Extension||File name extension without the dot, e.g. 'mobi'.||-|
|MIME type||MIME type associated with this file type, e.g. 'application/x-mobipocket-ebook'.||-|
The list of icons is taken from the /pix/f directory inside your Totara installation. You can add custom icons to this folder if required.
|Type groups||Optional list of file type groups that this type belongs to. These are generic categories such as 'document' and 'image'.||-|
Choose which description to use:
|Custom description||Simple file type description, e.g. 'Kindle ebook'. If your site supports multiple languages and uses the multi-language filter, you can enter multi-language tags in this field to supply a description in different languages.||-|
|Alternative language string||This setting can be used to select a different language string from the core mimetypes.php language file. Generally it should be left blank. For custom types, use the description field.||-|
|Default icon for MIME type||If there are multiple file extensions with the same MIME type, select this option for one of the extensions so that its icon will be used when determining an icon from the MIME type.||-|
Removing a file type
Clicking the cross icon () 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 (settings, 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.) next to a file type will allow you to change certain