Note: You are currently viewing documentation for Moodle 2.2. Up-to-date documentation for the latest stable version is available here: Teaching tips and tricks.

Teaching tips and tricks

From MoodleDocs

Here are some frequently asked questions about courses by teachers with some tips and tricks. Don't forget there other pages in MoodleDocs that deal with the details of a course. The teacher catagory at the bottom of this page has a nice index. Forums also have a wealth of tips and tricks.


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>

How can I copy my course or part of it?

There are several ways.

  • Import_course_data is probably the most straight forward. It brings in an other courses material by activity group. For example, you can import just (but all of the) lessons from one course you have rights to into another.
  • Backing up a course. Each version of Moodle has different options for backing up. The basic process in copying a course, is to create a backup and then select "new course" when restoring that backup.
    • Understand what options you DO AND DO NOT need to backup, so your copy has just what it needs. For example, you may not want to see any student information or files in your new course, so don't back that up.
    • Version 1.6 backup process has lots of boxes to check or uncheck next to every activity and resource that is in the course. Version 1.5.3 has a list of activity types to select for inclusion in a backup.
    • One of the old tricks in 1.5.3 and earlier version, is to restore the old course to a new course. Then edit down the new course to just the activities you want.
    • Want the same activity in 5 courses you already created? Create a backup of a course that only contains the activity you want. Now restore that course by selecting the option "add to existing course, keep data", repeat it for every one of your 5 courses.

Here is the MoodleDoc page Course_backup that will give you more details.

Creating a course on our website takes too long

Depending upon your connection speed, screen refresh rates can really slow the creation process. As a teacher, you might consider adding a localhost version of Moodle on your desktop. Be sure that you have a method of restoring you localhost backup to your web based Moodle. And of course, your localhost version should be the same version as your web based Moodle.

See also

Label