Opaque question type: Difference between revisions
From MoodleDocs
m (→Creating an Opaque question: format, link to quiz forum) |
|||
Line 24: | Line 24: | ||
==See also== | ==See also== | ||
*[http://moodle.org/mod/forum/view.php? | |||
* [[ | * [http://moodle.org/mod/forum/view.php?id=737 Quiz forum for discussions] | ||
* [[:dev:Open_protocol_for_accessing_question_engines|Description of the Opaque protocol]] | |||
* https://github.com/timhunt/moodle-qtype_opaque and https://github.com/timhunt/moodle-qbehaviour_opaque the code on github. |
Revision as of 15:21, 19 August 2011
Installing the Opaque question type
- Download it from Opaque question type Plugin Database page.
- Unzip.
- Copy the opaque folder into the question/type folder of your Moodle install.
- Go to http://myserver/admin/index.php in your browser to complete the installation.
Configuring the question type
It would be good if there was a test Opaque question engine somewhere on the internet that people could use to try this out. Unfortunately, at the moment all the ones I know about are inside the OU's firewall. Drat!.
- Visit http://myserver/question/type/opaque/engines.php.
- Click 'Add another engine'.
- Enter the details of an Opaque engine.
Creating an Opaque question
This works just like any other question type - select 'Opaque' from the Create new question dropdown on the question bank screen.
The Opaque editing form has very few fields, since the question is mostly defined by the remote engine, we just have to say which engine to connect to, and the question id and version.
Then you can add you new question to a quiz, and try it out. Or you could just preview it.