Question Editor API Initialization
template_defaults
This config option allows you to selectively show or hide the "default" Learnosity templates in the tile view (E.g. "Multiple choice - multiple response", "True or false").
How the tile view is affected depends on the values set for several other initialization options, primarily question_type_templates - see below for this behavior.
- If this option is set to
trueandquestion_type_templatesandquestion_type_groupsare not set (I.e. the default values for each), the default templates will be shown, in their default group. - If this option is set to
trueandquestion_type_templatesand/orquestion_type_groupsare set, these options will be appended to the defaults. - If this option is set to
falseandquestion_type_templatesis not set, only the raw question types will be shown (Same as the questions seen in advanced_group when this init option is set.) - If this option is set to
falseandquestion_type_templatesis set, the custom questions will be be shown along with the raw instances of the other question types. - If this option is set to
false, animageattribute must be set in each template defined inquestion_type_templatesfor display in the tile view.
For a comprehensive overview of tile view customization, including behavior when customizing the group defaults
(via group_defaults and question_type_groups)
please see the help article Customizing the Tile View With Author API
Values
Attribute path template_defaults
Default true
Type boolean