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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: 1.9
    • Component/s: Gradebook
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      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

              Assignee:
              skodak Petr Skoda
              Reporter:
              ganderson Gary Anderson
              Tester:
              Nicolas Martignoni
              Participants:
              Component watchers:
              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:
                Fix Release Date:
                3/Mar/08