Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-5249 QA tests converted to behat
  3. MDLQA-8166

An admin can add a new custom file type


    • Icon: Functional Test Functional Test
    • Icon: Blocker Blocker
    • None
    • Moodle QA non-runners
    • Filepicker
    • None

      1) As an administrator, navigate to Site administration>Server>File types
      2) Scroll down to the bottom of the list and click to add a new file type.
      3) On the ‘Add a new custom file type’ screen, set extension as ‘mobi’, MIME type as ‘application/x-mobipocket-ebook’, description type as custom and the custom description as ‘Kindle ebook’. For File icon, choose ‘document’.
      4) Click ‘Save changes’. The page will redirect to the custom file type listing page. Verify that the mobi file type is now listed.
      5) Now in a course, upload a file with the extension .mobi. (You don't need an actual .mobi file; you can rename a .txt file instead)
      6) Expand the Appearance section and click the Show type box, leaving other settings as default.
      7) Click ‘Save and return to course’ and verify the icon for your newly created activity is the standard Moodle document icon.
      8) Verify that ‘Kindle ebook’ is shown as the file type description.

            Unassigned Unassigned
            0 Vote for this issue
            1 Start watching this issue


                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.