File type settings

Prev Next

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:

  • Default
  • Custom 
  • Alternative language string

-

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.

-

Next steps

Join the Totara Community for more resources to help you get the most out of Totara. 


© Copyright 2025 Totara Learning Solutions. All rights reserved. Some content originally obtained via GPLv3 license and continues to be available under GPLv3. All other content is the sole copyright of Totara Learning Solutions.