Hi,
I love the simplicity of this plugin but would like to be able to insert images and links out to external resources in the explanation section. I have tried editing the plugin myself but with only limited WPplugin experience I have not yet succeeded in amending the question_form.php file to achieve this. I have basically tried repeating the code used for the question box but changing $question->description to $question->explanation. While this correctly displays a second editor the result is over-writing the question description.
Here is the code I have commented out and the new code below.
'
<!--
<div class="postbox">
<h3 class="hndle"><span><?php e('Explanation') ?></span></h3>
<div class="inside">
<textarea name="explanation" rows="5" cols="50"><?php echo stripslashes($question->explanation)?></textarea>
<p><?php e('You can use this field to explain the correct answer. This will be shown only at the end of the quiz when the correct answers will be made available.') ?></p>
</div>
</div>
</div>
-->
<!-- start of new code to provide rich text edit for explanation -->
<div class="postbox">
<h3 class="hndle2"><?php e('Explanation') ?></span></h3>
<div class="inside2">
<?php the_editor(stripslashes($question->explanation)); ?>
</div></div>
<!-- end JS edit -->'
Can anyone see what I am doing wrong?
James