File type settings
  • 21 Jun 2022
  • 1 minute to read

File type settings


Article Summary

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

© Copyright 2024 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. 


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.