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.

Resources

From MoodleDocs


Moodle supports a range of different resource link types that teachers can add to their course sections.

Resource dropdown picture

The picture below is course section showing the resource dropdown menu and calls attention to the text page
Text page 1.png

Creating a text page

A text page resource is a simple page written using plain text. Text pages aren't pretty, but they're a good place to put some information or instructions.


Here's how to add a text page resource:

  • From the course main page, click the Add a resource... pull-down menu within the topic you wish to add a text page.
  • You'll be taken to a page labeled "Adding a new Resource to topic x."
  • You must type a Name for the text page. This is what your students will click on, so have it make some sense.
  • You can add a Summary, but you don't have to.
  • Type your text in the Full text box. You also paste text from MS Word or any other location.
  • Choose whether you want this resource to open in the same window or a new one. If you choose New Window, you can choose what attributes the new window will have. Make sure you allow the window to be resized and scrolled, otherwise your students might not be able to read the bottom of the page!
  • Once you've made your choices, click on the save Changes button. You will be see a preview of what your new resource looks like.

A number of formatting types are available to help turn your plain text into nice-looking web pages. More about these text formats

Creating a web page

This sort of resource makes it easy to develop a complete single web page within Moodle, especially when you are using Moodle's WYSIWYG HTML editor.

The page is stored in the database, not as a file, and you have a lot of freedom to do almost anything you like using HTML, including Javascript, sometimes. Its often stripped out. If the Javascript code in in the moodle site lib it can be used: overlib but I don't know how one can use Unobtrusive javascript (in lib from Moodle 1.7?)

Linking to a file or web site

This resource type allows you to link to any web page or other file on the public web. It also allows you to link to any web page or other file that is in the course file area. Since Moodle is web based application, it is possible to link to other specific pages in an activity or to another activity in a different course.

Normal web pages are simply displayed as they are, while multimedia files are dealt with more intelligently and may be embedded within a web page. For example, MP3 files will be displayed using a built-in streaming player, as will movie files, flash animations and so on.

There are many options for displaying your content in popup windows, framed windows and so on.

In particular, if your resource is a web application or other type of content able to accept parameters, you can choose to send information to your resource such as the user's name, their email, the course they are currently in, and so on.

Displaying a directory

The directory resource can display a whole directory (and its subdirectories) from your course files area. Students can then browse and view all those files.

Deploy IMS Content

This resource type allows you add IMS content packages to your course by a zipped file. There are various options for displaying content in a popup window, with a navigation menu or buttons etc.

Inserting a label

A label is a way to add text to the content area of your course. Labels can be used to give a quick instruction or for telling users what to click on next. Usually labels should be short and to the point. Don't put in course content...use web pages or text pages for that.

See also