Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-21782 Major 2.0 enrolments rewrite META
  3. MDL-23502

Move enrolment instance configuration to the enrolment overview page

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 2.0
    • 2.0
    • Enrolments
    • None
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE

      I was hoping to do this but ran out of time.

      Basically this is about moving the config for enrolment instances to the enrolment management overview page.

      1) Remove all the enrolment instance config from the "Course settings" page, EXCEPT the one for guests. All the plumbing for this (the stuff that looks for the course_edit_form() method in enrol/xxx/lib.php) can stay, just remove all those methods except guest.

      2) Add an "edit" icon to the final column of 'Enrolment methods' : enrol/instances.php?id=x which links to enrol/config.php?id=X

      3) enrol/config.php?id=x could do something similar to what the course page was doing, ie looking for a method like course_edit_form() to produce a form, and then using a companion method to validate it. Usually it does only one instance at a time ... perhaps if you call it as enrol/config.php?courseid=y then it would show all of them at once.

      4) Whenever we create a new enrolment method instance, we should automatically redirect to the config page for the new instance.

            skodak Petr Skoda
            dougiamas Martin Dougiamas
            Nobody Nobody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.