Question behaviour: Interactive mode with hinting

qbehaviour_interactivehints
Maintained by Picture of Oleg Sychev Oleg Sychev
This behaviour activate question-type specific hints support in Interactive mode.
171 sites
101 downloads
3 fans

This behaviour activate question-type specific hints support in Interactive mode.

Used for hinting by Preg (starting from 2.5) and CorrectWriting (starting from 2.5) question types.

Any other question types with hinting could use it. Basic hint classes defined in abstract (invisible) POAS question type.

Contributors

Picture of Oleg Sychev
Oleg Sychev (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • MD shot of me from his iphone4
    Tue, 13 Aug 2013, 11:04 AM
    Hi Oleg,
    I've just installed this on my 2.5 installation and that went well however, attempting to edit quiz settings results in fatal errors :

    - Warning: require_once(/Users/aparup/mtools/mdkinstances/stable_25/moodle/question/type/poasquestion/hints.php): failed to open stream: No such file or directory in /Users/aparup/mtools/mdkinstances/stable_25/moodle/question/behaviour/interactivehints/behaviour.php on line 46

    - Fatal error: require_once(): Failed opening required '/Users/aparup/mtools/mdkinstances/stable_25/moodle/question/type/poasquestion/hints.php' (include_path='/Users/aparup/mtools/mdkinstances/stable_25/moodle/lib/zend:/Users/aparup/mtools/mdkinstances/stable_25/moodle/lib/pear:.:/opt/local/lib/php54/pear/') in /Users/aparup/mtools/mdkinstances/stable_25/moodle/question/behaviour/interactivehints/behaviour.php on line 46

    If https://moodle.org/plugins/view.php?plugin=qtype_poasquestion is a dependency, it needs to be specified in in the dependencies in version.php. Currently i was able to install it without any notification of the dependency. We should fix that up before approval.


    Also, have you considered Anthony's comment in https://moodle.org/plugins/view.php?plugin=qtype_correctwriting ?
    The source control URL does not show or lead me to the source code for qbehaviour_interactivehints. I agree with Anthony that it would be best to use the direct URLs to the code repository in you plugin entries.

    Would you like to put your plugin(s) into any set for easier browsing?

    cheers,
    Aparup
  • MD shot of me from his iphone4
    Tue, 13 Aug 2013, 11:05 AM
    Also, there is no README.txt - please try to include one.
  • Picture of Oleg Sychev
    Tue, 13 Aug 2013, 9:47 PM
    Hi, Aparup.
    I added overlooked dependency on qtype_poasquestion (no way it could be discovered in real situation, as any question type using this behaviour have this dependency anyway) and readme.txt.
    Also I changed link to the repository, currently containing the code. I have one repository for all my Moodle plugins and it's mimics Moodle code structure, so look for it in question/behaviour directory. I don't know a way to clone part of Mercurial repository, so there is no sense to post more direct link - it will be unsuable for getting code throught version control.

    This plugin should be added to two sets - question types, using it: https://moodle.org/plugins/browse.php?list=set&id=28 and https://moodle.org/plugins/browse.php?list=set&id=30
  • MD shot of me from his iphone4
    Wed, 14 Aug 2013, 1:59 PM
    All good now thanks smile
  • Picture of Cathy anna
    Mon, 20 Nov 2017, 8:13 PM
    Good to see that you have shared the question behavior of quiz activities organized here. Here they have discussed the interactive mode with hinting type questions. I wish to know more details regarding this plug-in. Keep update more.van gogh museum tour
Please login to post comments