Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Refers to Moodle 3.8 from September 2020 onward.

Excerpt
hiddentrue

You will often need to update or edit or replace and existing file in your Moodle module - here's how to do it.

Include Page
Training_Page_Header
Training_Page_Header


This guide gives a quick step-by-step of how to overwrite or update existing files within Moodle that you or a colleague have previously added.

Your Moodle module may contain files that you have published links to elsewhere.  If these documents need updating, you can simply delete them and upload new versions, but this means any links you have to these will stop working. The good news is you can simply overwrite them, maintaining their web addresses.  Here's how.

  1. Navigate to the required module and click the 'Turn editing on' button (top right). Turn editing on button

  2. Now click on the Edit text next to the item you wish to overwrite/update. This will open up further options, from these options click 'Edit settings'

Edit a file

3. In the Settings window, scroll down to the "Select files" section where you will see the icon of the file you wish to update/overwrite. Click on the file's icon which will bring up a pop up window.


Deleting current file

4. Click the 'Delete' button where you will be asked ‘Are you sure you want to delete this file?’ Press 'OK'

5. Now either drag and drop the new file you wish to upload (you will need IE10 or above or Chrome/Firefox/Edge browsers) or you can upload by clicking the top left 'Add...' icon within the "Select files" section.

 Add file icon

A pop up will appear where you will need to click on the 'Upload a file' option, then click on the 'Choose File' button to find and select the new file. Then click on the 'Upload this file' button and your file will now appear in the box.

Upload new file

5. If you haven't already deleted the old file, you can overwrite an existing file then ensure that the file you want to use has the same name as the current file then add this to the box either by dragging and dropping or clicking the top left 'Add...' icon within the "Select files" section. A pop up window will appear informing that there is already a file with this name. You then have the option to rename or overwrite. Click the 'Overwrite' button and the file will overwrite the other one.

Overwriting file window


6. Scroll down to the bottom of the page and click on the 'Save and return to module' button to complete the process.

Save file

You do not have to do anything further at this point as Moodle will replace the original file in place with the updated one you have just uploaded. Its link and position on the module's front page will remain the same as before but the file will now be the version you have just uploaded. It is recommended as good practice that you test this as a student to ensure that the correct file is displayed as expected.

7. When you have finished, click on the 'Turn editing off' button Turn editing off button which is on the top-right corner of your Moodle page