Moodle stores learning resources and activities in courses, which belong to categories. In the first part of this chapter, you will learn to:
In the second part of the chapter, we will cover different ways of enrolling users to courses. The enrolment mechanisms that will be covered are:
The role of the Moodle administrator is to manage categories and courses. It is possible to delegate these tasks to non-administrators, and we will deal with this in Chapter 6, Managing Permissions – Roles and Capabilities. Here, let's start with an overview of course categories.
Categories act as containers for courses. They can have subcategories, which can have sub-subcategories, and so on. The arrangement is similar to that of files and folders on a disk drive, where courses are like files and categories are like folders. This hierarchical structure can be visualized as follows:
A course always belongs to a single category. It cannot belong to multiple categories and also cannot be without a category. There is one exception to this rule, namely, the front page (course id = 1). Internally, the front page is treated as a course that neither belongs to a category, nor can be deleted.
There are different ways of organizing course and category hierarchies, for instance, by department, subject area, semester, and so on. The following figure shows the positioning of the same course hierarchies, of two different categories representing the same organization:
As you can see, each hierarchy represents the same information, but in different forms. There is no right or wrong way when it comes to organizing your courses. The structure depends on the following parameters:
It is highly advisable to get the structure right the first time around, as changing it is time consuming and potentially confusing for the users. Also, try to plan ahead, thinking about whether the structure will work in the future, for example, when changing from one academic year to another (see also Chapter 13, Backup and Restore, when we look at year-end procedures).
As mentioned before, different organizations apply different categorization approaches. Some examples of the category levels are:
Sometimes, deep levels of categories can be off-putting as their management is cumbersome. However, bear in mind that only you, as the administrator, will see the entire category structure. The students and teachers will usually only see the courses they are enrolled or assigned to, unless they browse the full course index.
Once you have planned your category hierarchy structure, it is time to represent the organization in Moodle. Categories are administered in Courses | Manage courses and categories, as shown in the following screenshot:
Initially, Moodle comes with a single category called Miscellaneous. In the previous screenshot, you can see that two courses have already been created in that category in our system.
To add a new category, click on the Create new category option or go directly to Courses | Add a category and enter a new name in the Category name field. The Parent category drop-down menu indicates where in the hierarchy the course is located. We will leave this at Top and come back to it shortly. It is good practice to provide the optional Category ID number and Description; the former is used when automating certain tasks such as user uploads, while the latter is for example shown in the course index. You can force a theme that will be applied to all the courses in the category. This option will only appear at the bottom of the screen when category themes are enabled in Appearance | Themes | Theme settings (refer to Chapter 7, Moodle Look and Feel).
As mentioned earlier, to improve the organization of courses, Moodle allows the creation of sub-categories. You can create a sub-category by choosing an existing category and then selecting Create new sub-category from the drop-down menu in the options or adding a new category (as shown in the preceding screenshot) and then moving it into a parent category using the drop-down menus on the Course categories page. For example, to create sub-categories called Computing-Year 1, Computing-Year 2, and Computing-Year 3 in Computing, first create the sub-categories and then move them into Computing using the drop-down menu. Alternatively, you can select the correct parent category when you create the sub-category, as shown in the following screenshot:
When deleting a course category using the respective option in the drop-down menu, you have to decide what to do with courses and sub-categories if any exist:
Use the up and down arrows to change the position of a course category. You have various options to sort and move the selected categories:
You can hide categories using the eye icon (like Miscellaneous in our case). This is usually done when courses within a category are undergoing development or if you want to create an experimental area (sandpit) that is not to be seen by anybody without permission to see hidden courses.
From the options menu, there are a number of actions that can be triggered. They are as follows in the table:
Option |
Description |
---|---|
Edit |
Modify category details |
Create new subcategory |
It does exactly what it says on the tin |
Sort… |
Refer to the preceding image |
Delete |
Remove category after choosing some options |
Assign roles |
Assign category roles (see Chapter 6, Managing Permissions – Roles and Capabilities) |
Permissions |
Manage permissions in category (see Chapter 6, Managing Permissions – Roles and Capabilities) |
Cohorts |
Manage category cohorts (see Chapter 5, User Management) |
Filters |
Link to course filters (see Chapter 8, Moodle Plugins) |
Restore |
Restore a course in this category (see Chapter 13, Backup and Restore) |
Once you select a category, it shows all its courses in a separate area, and depending on your device and screen size, this can be to its right or underneath the categories area.
While you can use the up and down arrows to reorganize courses, you can use the crossbar at the left and drag each course to its new location—a very handy feature, indeed. Courses can be sorted in ascending as well as descending order by their full name, short name, ID number, and course time created, and you also have an option to modify the number of courses that are shown per page. Deleting and hiding courses works in the same way as it does for categories. The same holds for moving the selected courses to another course category.
The one feature that is missing from the preceding list is creating a new course, which we are going to deal with in the next section.
3.129.42.243