Moodle plugins directory: Question Filters | Moodle.org
Question Filters
General plugins (Local) ::: local_question_filters
Maintained by Andreas Riepl
This plugin enables additional search option within questions in large question banks
Latest release:
27 sites
5 downloads
9 fans
Current versions available: 1
This is a simple local script that enhances the question bank with following search fields:
question name: text is searched within a title
question text: text is searched within a text
default mark: operators like < > = >= and <= can be used to filter questions with certain marks.
This block is for Moodle 2.2 and higher, it will not work for versions below 2011120500
1) Save the zip file somewhere onto your local computer and extract all the files
2) Transfer the folder qustion_filter to the local-directory of Moodle
3) Log in as 'administrator' and click on the 'Home' link
Contributors
Andreas Riepl (Lead maintainer)
Please login to view contributors details and/or to contact them
function local_question_filters_question_bank_column_types($question_bank_view) {
echo 'z'; exit;
Could you help me to better understand the purpose of what is happening? I want to make sure that there are not any unnecessary files included in the zip and from what I can tell the classes folder is not needed but I may have been overlooking something. Peace -Anthony
question_bank_column.php and the function local_question_filters_question_bank_column_types
where just for testing, i deleted those.
the table local_question_filters is storing the current filter settings for a question.
it is used in the lib.php
the plugin actually also contains custom scripts which we do not want to publish. everything can be found on github: https://github.com/gtn/moodle_question_filters/tree/master
the main function of the module is to easily find questions in large question-pools using logic:
it enhances the question bank with following search fields:
question name: text is searched within a title
question text: text is searched within a text
default mark: operators like < > = >= and <= can be used to filter questions with certain marks.
regards,
Andreas
$return .= html_writer::label('Fragetitel', 'filter_name');
Let's make Fragtitel translatable. You may just want to use questionname, questiontext, and defaultmark from lang/en/question.php rather than creating extra strings.
For now, I am going to mark this plugin as needing more work until we get these issues resolved. Thanks for you patience with the review and approval process. Peace - Anthony
The description contains This block is for Moodle 2.7+ versions, it will not work for versions below 2011120500 You probably meant "... for Moodle 2.2 and higher". Can we please have this fixed yet?
Thanks Andreas. You are cleared to land now, welcome to the Plugins directory!