Issue Details (XML | Word | Printable)

Key: MDL-16412
Type: Sub-task Sub-task
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Tim Hunt
Reporter: Tim Hunt
Votes: 0
Watchers: 0
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle
MDL-6751

Allow admins to enable/disable of each question type

Created: 09/Sep/08 04:26 PM   Updated: 25/Feb/09 06:31 PM
Return to search
Component/s: Questions, Roles
Affects Version/s: 2.0
Fix Version/s: 2.0

Participants: Tim Hunt
Security Level: None
Resolved date: 25/Feb/09
Affected Branches: MOODLE_20_STABLE
Fixed Branches: MOODLE_20_STABLE


 Description  « Hide
Actually, my thinking now is that this is overkill. Instead I will just have standard enable/disable open close eyes for each question type, linked to config_plugins variables. That works for all other plugin types.

Disabling a question type would only prevent new questions of this type being created. Existing questions would continue to work.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Tim Hunt made changes - 11/Dec/08 11:56 PM
Field Original Value New Value
Summary Create qtype/xxx:add capabilities for each question type, and implement the qtype/ prefix in accesslib.php Allow admins to enable/disable of each question type
Description Actually, my thinking now is that this is overkill. Instead I will just have standard enable/disable open close eyes for each question type, linked to config_plugins variables. That works for all other plugin types.

Disabling a question type would only prevent new questions of this type being created. Existing questions would continue to work.
tjhunt committed 4 files to 'Moodle CVS' - 25/Feb/09 06:31 PM
question bank: MDL-16412 Allow admins to enable/disable of each question type
MODIFY lib/questionlib.php   Rev. 1.186    (+4 -2 lines)
MODIFY lang/en_utf8/question.php   Rev. 1.35    (+4 -0 lines)
MODIFY theme/standard/styles_layout.css   Rev. 1.673    (+7 -1 lines)
MODIFY admin/qtypes.php   Rev. 1.8    (+68 -41 lines)
Tim Hunt made changes - 25/Feb/09 06:31 PM
Resolution Fixed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]
tjhunt committed 1 file to 'Moodle CVS' - 26/Feb/09 03:06 PM
qtype admin: MDL-16412 Enforce the allowed question types when a user tries to create a question.
MODIFY question/question.php   Rev. 1.57    (+7 -1 lines)
martignoni committed 1 file to 'Lang CVS' - 02/Mar/09 02:51 AM
MDL-16412 New strings
MODIFY fr_utf8/question.php   Rev. 1.43    (+5 -1 lines)
Mitsuhiro Yoshida committed 3 files to 'Lang CVS' - 04/Mar/09 03:34 AM
MDL-16412 Translated new strings for question.
MDL-18390 Adding a translated lang file for question tupe GIFT.
MODIFY ja_utf8/README   Rev. 1.955    (+1 -1 lines)
MODIFY ja_utf8/question.php   Rev. 1.35    (+9 -1 lines)
ADD ja_utf8/qformat_gift.php   Rev. 1.1    (+0 -0 lines)