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

Add a new course - Summary text should be optional

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.8.6, 1.9.1
    • 1.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.9, 2.0
    • Course
    • None
    • MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE
    • MOODLE_18_STABLE, MOODLE_19_STABLE

      When creating a new course on a moodle site, the Summary field is already filled with the default text "Write a concise and interesting paragraph here that explains what this course is about". This is not the correct way to do it. On large moodle sites, where a large number of courses are created semi-automatically by an admin, the exact description of the course is often not available to the admin. This results in the default text being displayed next to the link to the courses in the courses list on the front page of the moodle site. Obviously, this text is meaningless to the students who peruse the list of courses.
      Fix. I suggest a) removing the default language string in the course summary and of course b) removing the "required" rule.
      Patch: in file course/edit_form.php, remove those 2 lines:
      // $mform->setDefault('summary', get_string('defaultcoursesummary'));
      // $mform->addRule('summary', get_string('missingsummary'), 'required', null, 'client');

      Joseph
      PS.- See this discussion on the French course forum: http://moodle.org/mod/forum/discuss.php?d=91474

            jerome Jérôme Mouneyrac
            rezeau Joseph Rézeau
            Petr Skoda Petr Skoda
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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