/
File behaviors in Moodle

File behaviors in Moodle

When using the File item in Moodle, it is possible to control what happens when a student clicks on the link to the file.  

Automatic: Moodle attempts to select the best method for the file 

Embed:  Open the file within the Moodle course page (if possible with this file type)

New Window: open the file in a new  window/tab (if possible with this file type)

Force Download: download the file and stay on the existing page in the web browser

Open: open the file in the current window/tab (if possible with this file type)

In pop-up: open the file in pop-up window (if possible with this file type). Many browsers block pop-up windows, so this is not a suggested approach.

Change file behaviors

To change the behavior of the file item, go into Edit Mode and then edit the settings for the file item. Under the Appearance section, change the Display option.

Suggested behavior

While it is often preferable to open files in a New Window, it is not a best practice in order to reach all users. From an accessibility standpoint, a link or file should open in the current tab unless there is a signal to indicate that the file will open in a New Window. Therefore, Open is the preferred option.

Some files, such as Microsoft Word documents, may not open in a web browser and will download no matter which option is selected. Conversely, some types of files, especially text-based files such as computer programs, may always open in the web browser. For these files, Force Download may be more appropriate.  



Related content

Make items in a folder open in the same window instead of downloading
Make items in a folder open in the same window instead of downloading
More like this
Displaying PDFs and web links in a new page
Displaying PDFs and web links in a new page
More like this
Add Web Page Links to Moodle
Add Web Page Links to Moodle
More like this
How do I add links to a Moodle folder?
How do I add links to a Moodle folder?
More like this
Download a Student File From Assignment Activity
Download a Student File From Assignment Activity
More like this
Creating a place for students to share files in Moodle
Creating a place for students to share files in Moodle
More like this

Ways you can contact ITS or find information:

ITS Support Portal: https://support.swarthmore.edu
Email: support@swarthmore.edu
Phone: x4357 (HELP) or 610-328-8513
Check out our remote resources at https://swatkb.atlassian.net/wiki/spaces/remote/overview
Check our homepage at https://swarthmore.edu/its