Tips and tricks

From MoodleDocs

How can I force automatic course enrollment?

You can link to a course in an HTML block, using the resources drop down or indeed any other method and then use the following URL (where 999 is your course ID):

http://yourmoodlesite.com/moodle/course/enrol.php?id=999&confirm=1

How can I embed a webpage in my course

Using an iframe in a label allows external or internal web pages to be displayed in the middle of the moodle screen (instead of just putting a link to them)

How:

  • Create a label
  • Display raw HTML code (use the editor button <>
  • Insert code like: <iframe width="100%" height="200" align="middle" src="http://www.google.com/" border="0"></iframe>

See also

Label

Moodle » Documentation » English