Moodle Generated Links - Is there a way to have them Static?

Moodle Generated Links - Is there a way to have them Static?

by Mehmet Sancak Sahin -
Number of replies: 1

Hi everyone,

my question is related with the links, which are generated by moodle automaticaly after a Material in a course uploaded. I use hidden Materials in my courses by embedding them in Iframe codes. An example could be a Captivate Scorm file (ZIP - with a index.html as a trigger). I add one as a hidden Material and use the Link in an Iframe to embed this Material to the place, where i need to.

An example Link here, which generated by Moodle automaticaly...

https://www.xxxxxx.xxxx.xxx/moodle/pluginfile.php/2262/mod_resource/content/34/course/index.html

My problem occurs if i need to change the Material (updating it, or correcting a mistake).

In this case Moodle generates another Link:

https://www.xxxxxx.xxxx.xxx/moodle/pluginfile.php/2262/mod_resource/content/35/course/index.html

Everything except the number 34 is actually same bacouse this is the same material.

Now i have a 35 here, because i uploaded a new Scorm-File and shown a new Index.html as a trigger file in the ZIP. 

This causes me to change my embedded iframe code and leads to a cascade of time consuming actions.

So my Question is:

Is there a way to set moodle so, that it generates a static Link for a specific Material? So a change in the Content, does not change the Link?

Other Problemsolving-Methods will be also appreciated...

Thx

Average of ratings: -