Note: You are currently viewing documentation for Moodle 3.9. Up-to-date documentation for the latest stable version of Moodle may be available here: Using Label.

Using Label: Difference between revisions

From MoodleDocs
(using labels)
(uses for a label)
Line 28: Line 28:


==Adding code to a label==
==Adding code to a label==
An example of this is the ability to embed a Google map into a label.
*Follow the instructions for [[Label_module_settings| adding a label]]
*Click the HTML icon in the [[HTML_editor|HTML editor]]
[[File:Codelabel.png]]
*This brings up the screen in code (HTML) view.
*Paste the code you grabbed from Google maps into this screen
*Scroll down and click "Update"
[[File:Addcode.png]]
*Leave Common module settings at "show" if you wish the label to be visible.
*Click "Save and return to course"
[[File:Googlemaplabel.png]]
Note: The success in adding code to a label depends both on the type of code and the permissions of the user. (Details to follow)

Revision as of 17:48, 11 August 2011

A label is a versatile module that can serve a spacer between resources on a course page. It can provide a space for embedding banners, sound or video files or displaying code from Web 2.0 widgets.

Adding images to a label

Imageinlabel.png

  • Click "Find or upload an image"
  • Choose and upload your image using the filepicker.(Details on how to do this here)
  • Leave Common module settings at "show" if you wish the label to be visible
  • Click "Save and return to course"

Labelbanner2.png

Adding sound or video to a label

If multimedia filters are enabled, a label is a neat way of displaying sound or video in an inline player on the course page.

Addmedia.png

  • Click "Find or upload an sound,video or applet"
  • Choose and upload your sound or video file using the filepicker.(Details on how to do this here)
  • Note: You can search youtube for a video to embed if your admin has enabled the youtube repository.
  • Leave Common module settings at "show" if you wish the label to be visible.
  • Click "Save and return to course"

Videoinlabel.png

Adding code to a label

An example of this is the ability to embed a Google map into a label.

Codelabel.png

  • This brings up the screen in code (HTML) view.
  • Paste the code you grabbed from Google maps into this screen
  • Scroll down and click "Update"

Addcode.png

  • Leave Common module settings at "show" if you wish the label to be visible.
  • Click "Save and return to course"

Googlemaplabel.png

Note: The success in adding code to a label depends both on the type of code and the permissions of the user. (Details to follow)