Non-core contributed modules

questionnaire module support for myMoodle print_overview function

Details

  • Type: Improvement Improvement
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.9, 2.0
  • Fix Version/s: 2.0
  • Component/s: Module: Questionnaire
  • Labels:
    None
  • Environment:
    All
  • Database:
    Any
  • Affected Branches:
    MOODLE_19_STABLE, MOODLE_20_STABLE
  • Fixed Branches:
    MOODLE_20_STABLE

Description

At the Open University we have made some amendments to the Questionnaire module to allow it to display information on the MyMoodle page. We think that these features might be useful for the Moodle community in general, and would like to share them back, if this is OK with you.

We've modified questionnaire/lib.php to have a questionnaire_print_overview function which will be called by the MyMoodle page code and will display a message if any other users have submitted responses since the current user last accessed the course, indicating how many other users have submitted it. The message will appear in the section of the MyMoodle page corresponding to the course in which the relevant questionnaire appears. Please see attached image.

The name of the questionnaire is a hyperlink that will take the MyMoodle user to the questionnaire itself. However, this is only of limited usefulness until CONTRIB-106 is completed - we want to allow the MyMoodle users to see what other users' responses are (e.g. to see the page mod/questionnaire/report.php) and need the new questionnaire related capabilities to control this instead of the current isteacher() function.

Therefore, completion of this improvement is dependant upon CONTRIB-106, which I am currently working on.

  1. lib.php.diff
    26/May/10 3:31 PM
    4 kB
    Mitsuhiro Yoshida
  1. questionnaire.gif
    16 kB
    02/Feb/08 1:16 AM

Issue Links

Activity

Hide
Ray Lawrence added a comment -

Ref. adding to core, not a core mod. See http://moodle.org/mod/forum/discuss.php?d=77057&parent=396214

Show
Ray Lawrence added a comment - Ref. adding to core, not a core mod. See http://moodle.org/mod/forum/discuss.php?d=77057&parent=396214
Hide
Jenny Gray added a comment -

Not sure why Joseph closed this one, but I'm re-opening it. All I need to do is update the code for Gareth's roles and permissions stuff and the myMoodle integration for questionnaire module will be fully functionning.

Show
Jenny Gray added a comment - Not sure why Joseph closed this one, but I'm re-opening it. All I need to do is update the code for Gareth's roles and permissions stuff and the myMoodle integration for questionnaire module will be fully functionning.
Hide
Mitsuhiro Yoshida added a comment - - edited

With this modification (lib.php.diff ), students can see Questionnaire links on their " Overview of my courses".

Show
Mitsuhiro Yoshida added a comment - - edited With this modification (lib.php.diff ), students can see Questionnaire links on their " Overview of my courses".
Hide
Joseph Rézeau added a comment -

Mike,
What do you think of the mod proposed by Mitsuhiro Yoshida ?
Joseph

Show
Joseph Rézeau added a comment - Mike, What do you think of the mod proposed by Mitsuhiro Yoshida ? Joseph

People

Vote (0)
Watch (4)

Dates

  • Created:
    Updated:
    Resolved: