Gapfill icon

Gapfill

Maintained by Marcus Green
Cloze (fill in the blanks) question type with VERY simple question creation syntax. Can do drag drop, dropdowns or gapfill questions
Price option: Free

Supports Moodle 2.1-5.2 See all versions
Latest release: 3 months ago
Installations: 4370
Downloads (last 90 days): 980

Frankenstyle name: qtype_gapfill
Question types

Comments

Comments are no longer open for new posts. Existing comments remain available to read.

I have added a new file called bigstyles.css to github at https://github.com/marcusgreen/moodle-qtype_gapfill. Copy the contents into the styles.css file, purge caches (/admin/purgecaches.php) and let me know if it helps.
Thanks. That would be excellent!
S.Ali, I will create a new styles.css for you to try out. I experimented a little over the weekend and I have some ideas.
Thank you.
I'm not very versed with CSS programming. Any assistance will be greatly appreciated.
Many thanks for your feedback S.Ali. There is a file called styles.css in gapfill that can be changed. I will investigate further and get back to you.
Thanks for this plugin. It's very easy to use.
I wanted to know if the font size for the choices can be made larger?
I'm testing with questions in Arabic and we usually use a large font, but the size for the choices are too small.
May I change this with custom CSS and if so what would need to be changed?
Many thanks in advance.
Hi Marcus,
I was translating the gapfill question type English strings in AMOS, and I realized that this plugin has a pluginname (Gapfill question type) that is out-of-line with the names of most other question types pluginnames, as they have the name of the question type, but not the words 'question type' themselves.
It is more noticeable if you use the activity selector.
Could you please change pluginname | qtype_gapfill (currently Gapfill question type) to 'Gapfill' ?
Thanks in advance for your help.
Ok, will download Gapfill v1.4 and test it.
Thank u
Hi George, delighted that you have found it useful. I have been using/testing the version of Gapfill in the Moodle.org database (Gapfill v1.4) with Moodle 2.7 and MySQL since Moodle 2.7 was in alpha test and am not aware of any issues. I have been meaning to post a message to say as much but have not got around to it.
I'm using Moodle 2.6.1 (Build: 20140113) gapfill plugin works excellent.
I'm going to upgrade to Moodle 2.7.1+ (Build: 20140905) and I wonder if will have issues with the gapfill plugin. MySQL database's version is 5.6.17. Which gapfill plugin version should I download and have no issues?
What type of database are you using Manuel? Is it MySql or something else?
I upgraded today to Moodle 2.7+ (Build: 20140619) and I am having issues with the gapfill plugin.
I have downloaded version 1.4 from GitHub and in the Plugins page I get.
Gapfill question type /question/type/gapfill Add-on 2006082507 2006082512 Moodle 2012120305 To be upgraded
When I click on Upgrade Moodle Database Now i Get the following error messages:
DDL sql execution error
More information about this error
Debug info: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'af
ter casesensitive' at line 1
ALTER TABLE mdl_question_gapfill add column noduplicates tinyint(1) default 1 af
ter casesensitive
Error code: ddlexecuteerror
Stack trace:
line 449 of /lib/dml/moodle_database.php: ddl_change_structure_exception thrown
line 839 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
line 74 of /question/type/gapfill/db/upgrade.php: call to mysqli_native_moodle_database->change_database_structure()
line 535 of /lib/upgradelib.php: call to xmldb_qtype_gapfill_upgrade()
line 1615 of /lib/upgradelib.php: call to upgrade_plugins()
line 434 of /admin/index.php: call to upgrade_noncore()
How can I can make work this excellent plugin, is there an update 2006082512 ?
Met.
Hi nick, thanks for taking an interest in my plugin, the database changes are about backwards compatibility for people upgrading who are using databases other than MySQL. The support for !! is the potentially interesting bit as it allows the creation of question types that is not possible any other way in moodle and I think is quite interesting. The version of the plugin I was working on at home last night is looking good and I intend to put that up to github very soon.
Hmmm, thought there were a couple of changes in 1.5 that looked potentially important - https://github.com/marcusgreen/moodle-qtype_gapfill/commit/254993c12f0d5e25e275a9c8dadee828147c4fa0 for example. Actually, looking at it, maybe that was the only one.
That should have been changes due, it also contains some refactoring which I am hoping will make future planned development easier