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

moodleform_mod.php: Common Modules Settings is hidden if previous section contains an "Advanced" element

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.9
    • None
    • Forms Library
    • None
    • MOODLE_19_STABLE

    Description

      On an activity module form, the elements in the "Common Module Settings" section will be hidden if the preceding section has an "Advanced" element. Usually this is not what is expected or required.

      Therefore, please could we change the "standard_coursemodule_elements" function, so that is adds a label to the "Common Module Settings" section.

      1. locate the "standard_coursemodule_elements" function
      in "course/moodleform_mod.php" (around line 66):

      2. change OLD line
      $mform->addElement('header', '', get_string('modstandardels', 'form'));

      to NEW line
      $mform->addElement('header', 'coursemodule_elements', get_string('modstandardels', 'form'));

      much obliged
      Gordon

      Attachments

        Issue Links

          Activity

            People

              jamiesensei Jamie Pratt
              xxxxxxx Gordon Bateson
              Nobody Nobody
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: