Changing linked file

Changing linked file

by Richard van Iwaarden -
Number of replies: 4
Picture of Particularly helpful Moodlers

I have this file which is used in 49 different courses. I want to add a new version, so it will be updated in all 49 courses.

How do I do this? Because when I press 'Change' I get no dialoque.

Am I missing something?

Average of ratings: -
In reply to Richard van Iwaarden

Re: Changing linked file

by Richard van Iwaarden -
Picture of Particularly helpful Moodlers

It should be possible, the Moodle DOCS say this:

  • If an alias is created, then when the original file is updated, it will change in all instances of the alias. So a teacher might add course notes to their private files for example, and then add them into a number of courses. When the teacher makes an alteration in the file in their private files, this alteration will be reflected in all instances of the course notes.

http://docs.moodle.org/23/en/Working_with_files

But... how?

In reply to Richard van Iwaarden

Re: Changing linked file

by AL Rachels -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Hi Richard,

When you select the file from your private files, you have to use the "Create an alias/shortcut to the file" option. That way when you update the file in your private files, it will automatically show the new file in all the other alias locations.

alia example

Hope this helps,

AL

In reply to AL Rachels

Re: Changing linked file

by Richard van Iwaarden -
Picture of Particularly helpful Moodlers

Hi Al,

I know, but you can only update the file if you give the next version of your file the exact same name.