I was looking at one of my new moodle instances today, version 2.3 and noticed that when I choose a course I had migrated from a 1.9 instance, that there was no enrollment type specified. In other words, if I choose the course and clicked on Course Admin | Users | Enrolled Users, There was no enrollment type specified.
Adding an enrollment method for a course
I added it for the course by choosing Course Admin | Users | Enrollment methods | Manual enrollments.
Adding enrollment method for a group of courses directly in the DB.
I will need to do this for each course that I migrated. I looked in the DB for the field holding this value per course, but did not see it. I should look again. I looked again and found the record in the mdl_enrol table, go figure. Using MySQL Workbench, I edited the table and specified two values for each new record that I was adding directly in the table, enrol = manual and courseid = xx.
Adding a site wide enrollment method
- Site administration
- / ► Plugins
- / ► Enrolments
- / ► Manual Enrollments
so new courses will inherit this setting.
No comments:
Post a Comment