Note: You are currently viewing documentation for Moodle 3.1. Up-to-date documentation for the latest stable version of Moodle is probably available here: Resources FAQ.

Resources FAQ: Difference between revisions

From MoodleDocs
(How can I change the top frame size when displaying resources in a frame?)
 
(15 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{stub}}{{Resources}}
{{Resources}}
==How can I enable students using IE7 to view PDF files?==
==How can I prevent students from downloading my course files such as pdf or word-processed documents?==
 
You can't. There are various ways to make it more difficult for them, and you can make them sign a declaration not to download them, but determined users can always find ways to save or download your course materials. If all else fails they can make a screencast or screenshot. If it is essential for you that students do not download your course materials then do not offer the materials in your course. See also the forum discussion [https://moodle.org/mod/forum/discuss.php?d=277999#p1194066 Regarding uploaded content protection].
Check the force download box on the update page. (This work-around is necessary because of the way IE7 handles PDF files.)


==How can I stop uploaded files from being cached when I update them?==
==How can I stop uploaded files from being cached when I update them?==
Line 9: Line 8:


     $CFG->filelifetime = 86400;
     $CFG->filelifetime = 86400;
==I am no longer able to edit a label. What can I do?==
If you add something to a label that Moodle doesn't like or recognise, it can sometimes disfigure your page such that you lose the label editing icon. To  remove the offending item without having access to the editing icon:
1)Log in to your Moodle
2)Right click on your page to see the source code.
3)Find where your label's code is(if it has text, look for the text)
4)You should have something like
''class="activity label" id="module-310''
The number will be the number of the label you want to edit - so remember its number and then:
5)Open a new tab or new window in your browser and type this in
''http://yourmoodle/course/modedit.php?update=310&return=0''
where the number is the number of the label you want to edit. It should take you straight to editor to edit the label.
6)Delete the contents, save and start again
==How can I change the top frame size when displaying resources in a frame?==
#Login as an admin and access ''Administration > Modules > Activities > Resource''.
#Change the ''resource_framesize'' setting.
#Click the "Save changes" button.


==See also==
==See also==


* Using Moodle [http://moodle.org/mod/forum/view.php?f=122 Resource module forum]
* Using Moodle [http://moodle.org/mod/forum/view.php?f=122 Resource types forum]


Using Moodle forum discussions:
Using Moodle forum discussions:
*[http://moodle.org/mod/forum/discuss.php?d=102618 Problem Deploying IMS Content]
*[http://moodle.org/mod/forum/discuss.php?d=102618 Problem Deploying IMS Content]
*[http://moodle.org/mod/forum/discuss.php?d=102716 DOCX downloads as DOC?]


[[Category:FAQ]]
[[Category:FAQ]]
[[es:Recursos FAQ]]

Latest revision as of 15:31, 8 January 2015

How can I prevent students from downloading my course files such as pdf or word-processed documents?

You can't. There are various ways to make it more difficult for them, and you can make them sign a declaration not to download them, but determined users can always find ways to save or download your course materials. If all else fails they can make a screencast or screenshot. If it is essential for you that students do not download your course materials then do not offer the materials in your course. See also the forum discussion Regarding uploaded content protection.

How can I stop uploaded files from being cached when I update them?

By default, Moodle adds a "cache-control" header to all files that is sends. The default period is 24 hours. You can reduce this or eliminate it entirely (set to zero) by adding the following line to your config.php (default value shown).

   $CFG->filelifetime = 86400;

See also

Using Moodle forum discussions: