Versions Compared

Key

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

For Moodle 3.24

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). Image Added

  2. Image RemovedNow 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
    Image Added


  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.
    Image Removed
    Image Added

  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 browsers) or you can upload by clicking the top left Add... icon within the Select files section.

     Image RemovedImage Added


     A pop up will appear where you will need to click on the Upload a file option,
    Image Added
    then click on the Choose file Browse.. button to find and select the new file. T
    hen click on the Upload this file button and your file will now appear in the box.

  6. 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.


  7. Finally, scroll down to the bottom of the page and click on the Save and return to module button to complete the process.
    Image Added

    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.