Moodle
  1. Moodle
  2. MDL-18592

Allow teacher to make choices for students

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.9.5
    • Fix Version/s: None
    • Component/s: Choice
    • Labels:
      None
    • Environment:
      All
    • Database:
      Any
    • Difficulty:
      Moderate
    • Affected Branches:
      MOODLE_19_STABLE
    • Rank:
      5112

      Description

      I've written code to allow a teacher to assign students who have not responded to a Choice option.

      See discussion: http://moodle.org/mod/forum/discuss.php?d=118914

      Code and screenshots will be posted in the next day or so.

      1. install.txt
        2 kB
        Brian Gray
      2. selectfor.php
        13 kB
        Brian Gray
      3. selectfor.v2.0.php
        13 kB
        Brian Gray
      4. SelectForDemo.pdf
        409 kB
        Brian Gray

        Activity

        Hide
        Brian Gray added a comment -

        Most of the new code is in file selectfor.php.

        Minor modifications are required to 4 other files. See install.txt.

        The PDF file includes screenshots with notes on functionality.

        Show
        Brian Gray added a comment - Most of the new code is in file selectfor.php. Minor modifications are required to 4 other files. See install.txt. The PDF file includes screenshots with notes on functionality.
        Hide
        Brian Gray added a comment -

        Revised version of selectfor.php

        Eliminates some bad code – I used a call to get_records_sql() that was not needed and would cause problems on non-standard installations.

        Show
        Brian Gray added a comment - Revised version of selectfor.php Eliminates some bad code – I used a call to get_records_sql() that was not needed and would cause problems on non-standard installations.
        Hide
        Brian Gray added a comment -

        selectfor.v2.0.php is the version of the file for Moodle 2.0. It should be renamed to selectfor.php and then installed with the same instructions as for 1.9.4.

        Show
        Brian Gray added a comment - selectfor.v2.0.php is the version of the file for Moodle 2.0. It should be renamed to selectfor.php and then installed with the same instructions as for 1.9.4.
        Hide
        Brian Gray added a comment -

        Updates to eliminate some PHP warnings and other code cleanup.

        If all users have responded (and therefore there are none to select for) the "Save" and "Randomly assign" buttons do not appear.

        files for 1.9.4 and 2.0 have been updated.

        Show
        Brian Gray added a comment - Updates to eliminate some PHP warnings and other code cleanup. If all users have responded (and therefore there are none to select for) the "Save" and "Randomly assign" buttons do not appear. files for 1.9.4 and 2.0 have been updated.

          People

          • Votes:
            19 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated: