- 06 Sep 2024
- 1 minute to read
File type settings
- Updated on 06 Sep 2024
- 1 minute to read
When adding or editing a file type the following settings are available.
Setting | Description | Notes |
---|---|---|
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'. | - |
File icon | 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'. | - |
Description type | 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. | - |