Difference between revisions of "Resources FAQ"

Jump to: navigation, search
(delete stub)
(moving questions to relevant FAQ pages)
Line 9: Line 9:
     $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
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
'''NB:''' There is a step by step screencast in the [https://docs.moodle.org/en/Resources_FAQ#See_also See Also] section below.
==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==
Line 48: Line 17:
*[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?]
*[http://moodle.org/mod/forum/discuss.php?d=102716 DOCX downloads as DOC?]
* [http://www.youtube.com/watch?v=DXIhDt5rCmc How to edit a label with no edit icon]
*[http://groups.google.com/group/moodlersLA/files Moodle 1.9 How to fix corrupted Labels Moodle] - by '''Maryel Mendiola ''' (PDF, 1.84 MB, Sep 2009)

Revision as of 12:33, 23 December 2011

How can I enable students using IE7 to view PDF files?

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?

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: