Note: You are currently viewing documentation for Moodle 2.5. Up-to-date documentation for the latest stable version of Moodle may be available here: Cloze editor module.

Cloze editor module: Difference between revisions

From MoodleDocs
m (tidy up)
m (replaced images with nicer ones)
Line 55: Line 55:
lib/editor/tinymce/land/en/editor_tinymce.php
lib/editor/tinymce/land/en/editor_tinymce.php


==Using the cloze editor button==
==Using the cloze editor==
* We will be asking the students to choose the correct word used in a poem by Emily Dickinson:
* The cloze editor button is a small yellow question mark in the HTML editor.
* The cloze editor button is a small yellow question mark in the HTML editor.
[[File:Cloze editor symbol.png]]
[[File:Cloze editor symbol.png]]
* Write a small text in the HTML editor
* Write a small text (e.g, the poem) in the HTML editor
[[File:CLOZE screen 1b.png]]
[[File:to make a prairie_1.png]]
* Select a word to be replaced by a CLOZE
* Select a word to be replaced by a CLOZE
[[File:to make a prairie_2.png]]
* Click on the small yellow question mark [[File:Cloze editor symbol small.png]]
* Click on the small yellow question mark [[File:Cloze editor symbol small.png]]
* Choose the type of CLOZE sub-question format
* Choose the type of CLOZE sub-question format
[[File:CLOZE screen 6.png]]
[[File:to make a prairie_3.png]]
* Fill in the correct answer
* Fill in the correct answer
[[File:CLOZE screen 2.png]]
[[to make a prairie_3.png]]
* Fill in the wrong answers (if any)
* Fill in the wrong answers (if any)
[[File:CLOZE screen 3.png]]
[[File:to make a prairie_4.png]]
* Click on the 'Insert' button
* Click on the 'Insert' button to process
[[File:CLOZE screen 4.png]]
[[to make a prairie_5.png]]
* The correct CLOZE syntax will be shown
* The correct CLOZE syntax will be shown within the editor window
[[File:CLOZE screen 5.png]]
[[to make a prairie_6.png]]
* Save the question
* Save the question
* Check that the question works as intended
* Check that the question works as intended

Revision as of 20:04, 10 October 2013

Cloze editor module
Type Activity module, Cloze editor
Downloads http://code.google.com/p/moodle-cloze-editor21/downloads/list
Issues https://moodle.org/plugins/view.php?plugin=other_cloze
Discussion https://moodle.org/mod/forum/discuss.php?d=181570
Maintainer(s) Andreas Glombitza

An interface that integrates with Moodle's existing HTML editor (HTMLArea in 1.9 and TinyMCE in 2.x) to support teachers in creating Cloze (Embedded answers) questions in the GIFT syntax.

Download

You can download specific versions for Moodle 1.9, 2.0, 2.1 and 2.4 (also works with 2.5) from Google code.

Overview

The integration (PHP/javascript) is essentially a new button in the HTML editor which brings up an interface that helps create CLOZE questions in the correct syntay. Works in all languages - uses Moodle's existing language strings mostly, except for four strings:

   for the 1.9 version, English/German/French/Spanish are included
   for the Moodle 2.x version, translations are currently not included, so that these four strings will be displayed in English

For Moodle 1.9

Here's a demonstration of the 1.9 version:

http://www.pellic.com/mod/resource/view.php?id=2507


INSTALLATION for Moodle 1.9 version

1. Unzip 2. copy to your moodleroot directory, keeping the directory structure

The following files in your installation will be overwritten with mod'd files from the Moodle 1.912 standard package (so make sure to BACK THEM UP):

lib/weblib.php * lib/editor/htmlarea/htmlarea.php lib/editor/htmlarea/dialog.js

  • Overwriting weblib.php is OPTIONAL:

If you choose to include this modified weblib.php, the CLOZE-editor button will only show for teachers, and only in question-interfaces. In any other editor instances, and for students, it will be hidden.

If you refrain from overwriting weblib.php, it will still work, but the editor button will be visible in EVERY editor instance for teachers, but not for students.


For Moodle 2.x

Installation for Moodle 2.x version

1. Unzip 2. copy to the contents of the directory to the directory lib/editor/tinymce on your Moodle installation, keeping the directory structure.

The following files in your installation will be OVERWRITTEN with mod'd files (so make sure to BACK THEM UP):

lib/editor/tinymce/lib.php lib/editor/tinymce/land/en/editor_tinymce.php

Using the cloze editor

  • We will be asking the students to choose the correct word used in a poem by Emily Dickinson:
  • The cloze editor button is a small yellow question mark in the HTML editor.

Cloze editor symbol.png

  • Write a small text (e.g, the poem) in the HTML editor

to make a prairie 1.png

  • Select a word to be replaced by a CLOZE

to make a prairie 2.png

  • Click on the small yellow question mark Cloze editor symbol small.png
  • Choose the type of CLOZE sub-question format

to make a prairie 3.png

  • Fill in the correct answer

to make a prairie_3.png

  • Fill in the wrong answers (if any)

to make a prairie 4.png

  • Click on the 'Insert' button to process

to make a prairie_5.png

  • The correct CLOZE syntax will be shown within the editor window

to make a prairie_6.png

  • Save the question
  • Check that the question works as intended

The cloze editor button and Moodle roles

The CLOZE-editor button will only show for teachers. For students, it will be hidden. Once installed, all teachers will see the cloze editor button every time they use the HTML editor, even when they are writing anything else not related to a cloze question (e.g: a forum post).

Other languages

If you make a Language customization, you can have the cloze editor in your preferred language. The following image shows a mexican spanish translation of the English language strings of this add-on. cloze editor language customization.png

Cloze editor in spanish.png

See also