Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-71561

Hide self-enrol options of other cohorts

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.9.6
    • Fix Version/s: None
    • Component/s: Administration, Enrolments
    • Labels:
    • Affected Branches:
      MOODLE_39_STABLE

      Description

      I use the self-enrol method in most all of my courses, and limit it to only members of a particular cohort. Most courses then have multiple self-enrol options for different cohorts. When someone goes to enrol in a new course, as it should, only the method that matches their cohort displays an "Enrol me" button. The others display the message "Only members of cohort '...' can self-enrol."

      Wouldn't it be cleaner to just not display those options? And if none of the options match the student's cohorts, then default display "You cannot enrol yourself in this course." message? Or even just making it an option to hide the enrollment method if not available.

      Related forum: **https://moodle.org/mod/forum/discuss.php?d=421679#p1699226

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            amjohnson46 Aaron M Johnson
            Participants:
            Component watchers:
            Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: