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

Resources FAQ

From MoodleDocs
Revision as of 18:04, 18 December 2010 by chris collman (talk | contribs) (delete stub)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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;

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 See Also section below.

How can I change the top frame size when displaying resources in a frame?

  1. Login as an admin and access Administration > Modules > Activities > Resource.
  2. Change the resource_framesize setting.
  3. Click the "Save changes" button.

See also

Using Moodle forum discussions: