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

Courses page should optionally display shortname

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.2
    • 2.2
    • Course
    • None
    • MOODLE_22_STABLE
    • MOODLE_22_STABLE
    • MDL-29719-master
    • Hide

      1) On a default Moodle install with some courses, view the /course/ page.

      • Verify that the courses shown on this page do not show the short name.
        2) Go to the edit version of the page from admin Courses / Add/edit courses and click into a category.
      • Verify that the courses shown on this page do not show the short name.
        3) Visit the admin settings Appearance / Courses
        4) Change the option 'Display shortname' to tick the box and save.
        5) Return to /course/
      • Verify that each course shown on the page now is in the format 'CF101 Introduction to filesharing' (both shortname and fullname).
        6) Go to the edit version of the page from admin Courses / Add/edit courses and click into a category.
      • Verify that each course shown on the page now is in the format 'CF101 Introduction to filesharing' (both shortname and fullname).
      Show
      1) On a default Moodle install with some courses, view the /course/ page. Verify that the courses shown on this page do not show the short name. 2) Go to the edit version of the page from admin Courses / Add/edit courses and click into a category. Verify that the courses shown on this page do not show the short name. 3) Visit the admin settings Appearance / Courses 4) Change the option 'Display shortname' to tick the box and save. 5) Return to /course/ Verify that each course shown on the page now is in the format 'CF101 Introduction to filesharing' (both shortname and fullname). 6) Go to the edit version of the page from admin Courses / Add/edit courses and click into a category. Verify that each course shown on the page now is in the format 'CF101 Introduction to filesharing' (both shortname and fullname).

      The /course/ page in Moodle only displays course full names.

      For example, if you have a course where the shortname is CF101 and the full name is 'Introduction to creative file sharing', then the /course/ page will only display 'Introduction to creative file sharing'.

      In the OU system each course has a name (=fullname) and a code (=shortname). Staff need to be able to refer to courses by the code.

      There are two workarounds:

      1) We could include the course code in the fullname, so that the shortname is 'CF101' and the fullname is 'CF101 Introduction to creative filesharing'. This would work and may well be what is intended by the Moodle use of the names, but seems like unnecessary duplication (and it doesn't work right with other parts of our system where we display these two things separately).

      2) Users can use the search facility to find courses instead of the list. This does work to search shortnames.

      However, it would be a lot better for us if we could display the shortname alongside the fullname (as in, they are going to make me do this one way or another)

      I propose a new feature as follows:

      1) Rename the existing settings page 'Appearance > Course contacts' to 'Appearance > Courses'

      2) Add new checkbox option to this page: 'Display shortname', 'Include shortname as well as fullname on course lists'. $CFG->courselistshortnames=1/0.

      3) Change course/index.php (both the 'view' and 'edit' modes) so that, if this option is turned on, the shortname is displayed before the fullname, separated by a space, in the existing column/location. ('CF101 Introduction to filesharing' from example above)

      There may also be other places where the system shows lists of multiple courses; if this is implemented I will attempt to find them.

      Opinions on this, suggestions of different place to put the settings, etc., are welcome. As it is simple, I will implement it (initial version at least) and provide screenshots shortly.

        1. settings.png
          settings.png
          83 kB
        2. search.png
          search.png
          34 kB
        3. editing.png
          editing.png
          49 kB
        4. categories.png
          categories.png
          38 kB
        5. basic.png
          basic.png
          36 kB

            quen Sam Marshall
            quen Sam Marshall
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Sam Hemelryk Sam Hemelryk
            Votes:
            6 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

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