Select Moodle version:

Question behaviour: Interactive mode with hinting

qbehaviour_interactivehints
This behaviour activate question-type specific hints support in Interactive mode.
Maintained by: Picture of Oleg Sychev Oleg Sychev

Sets

This plugin is part of sets Perl-Compatible Regular Expression Set, Correct Writing Question Type. Plugins from the set work the best when installed together.

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, Aug 13, 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, Aug 13, 2013, 11:05 AM
    Also, there is no README.txt - please try to include one.
  • Picture of Oleg Sychev
    Tue, Aug 13, 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, Aug 14, 2013, 1:59 PM
    All good now thanks smile
Please login to post comments