Resources FAQ: Difference between revisions

From MoodleDocs
(How can I change the top frame size when displaying resources in a frame?)
 
(18 intermediate revisions by 6 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 [[Acknowledge plagiarism statement access rule|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, or use the camera on a mobile device.  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 10: Line 9:
     $CFG->filelifetime = 86400;
     $CFG->filelifetime = 86400;


==I am no longer able to edit a label. What can I do?==
==Any further questions?==
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.
Please post in the [http://moodle.org/mod/forum/view.php?f=122 Resource types forum] on moodle.org.


3)Find where your label's code is(if it has text, look for the text)
[[Category:FAQ]]
 
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==
[[es:Recursos FAQ]]
 
* Using Moodle [http://moodle.org/mod/forum/view.php?f=122 Resource module forum]
 
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=102716 DOCX downloads as DOC?]
 
[[Category:FAQ]]

Latest revision as of 16:47, 25 March 2019

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, or use the camera on a mobile device. 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;

Any further questions?

Please post in the Resource types forum on moodle.org.