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
true
andquestion_type_templates
andquestion_type_groups
are 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
true
andquestion_type_templates
and/orquestion_type_groups
are set, these options will be appended to the defaults. - If this option is set to
false
andquestion_type_templates
is 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
false
andquestion_type_templates
is 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
, animage
attribute must be set in each template defined inquestion_type_templates
for 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