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

Simplify catagories and items by marking less used form elements as advanced

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.9
    • 1.9
    • Gradebook
    • None
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE

    Description

      New users will be frustrated and established users will be annoyed by the huge selection of choices that assault teachers when they try to create or edit an item or category in the new 1.9 gradebook. I would suggest identifying the following form fields as "advanced" so that a teacher presses the "Show Advanced" button to access them.

      Note that site developers can comment out any of these lines for elements that they want users to more readily change, a setting these below is a much easier process than having administrator/developers try to figure out how to implement this fix later. The given selection is my best judgment of the choices that teachers, like myself, would want most.

      In grade/edit/tree/category_form.php just before the line // hidden params, add:

      $mform->setAdvanced('aggregation');
      $mform->setAdvanced('aggregateonlygraded');
      $mform->setAdvanced('aggregatesubcats');
      $mform->setAdvanced('keephigh');
      $mform->setAdvanced('pref_aggregationview');
      $mform->setShowAdvanced(false);//Don't use last state

      In grade/edit/tree/item_form.php just before the line // hidden params, add:
      $mform->setAdvanced('iteminfo');
      $mform->setAdvanced('idnumber');
      $mform->setAdvanced('gradetype');
      $mform->setAdvanced('scaleid');
      $mform->setAdvanced('grademin');
      $mform->setAdvanced('gradepass');
      $mform->setAdvanced('multfactor');
      $mform->setAdvanced('plusfactor');
      $mform->setAdvanced('display');
      $mform->setAdvanced('decimals');
      $mform->setAdvanced('hidden');
      $mform->setAdvanced('hiddenuntil');
      $mform->setAdvanced('locked');
      $mform->setAdvanced('locktime');

      Attachments

        Issue Links

          Activity

            People

              skodak Petr Skoda
              ganderson Gary Anderson
              Nicolas Martignoni Nicolas Martignoni
              Adrian Greeve, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                3/Mar/08