Course element
Versions
Current version
4.1.0 (Build 2023060500) (2023060500)
4.1.0 (Build 2023060500)
Plugin type: Activities
Frankenstyle component name: mod_customlabel
Version build number: 2023060500
Version release name: 4.1.0 (Build 2023060500)
Maturity: Stable
Supported Moodle versions: 4.1, 4.2
Repository URL (Git): https://github.com/vfremaux/moodle-mod_customlabel
Repository branch:
Repository tag: 4.1.0018
Issue/bug tracker URL: https://github.com/vfremaux/moodle-mod_customlabel/issues
moodle-mod_customlabel
High semantic elements for course content. Are used as course labels but wth preformatted information model and rendering.
Constraints and restriction :
this module needs some changes in the way courses (core) displays modules in a course, to make the "label" behaviour
extend to whatever module called "xxxxxlabel".
There are a little amount of key locations in the core code where processing is aware of the "label" specificity.
2017020700 : Add content control webservices.
2018111900 : Major change
Architecture change:
A major change occured in this version that removes completely the internal caching effect.
The customlabels are now dynamically produced based on subplugins mustache templates. there
is no more provision for customlabel regeneration and changes made on templates or internal
model is now applied immediately. the processedcontent field in database is obsolete and
will be further removed.
All customlabeltypes have been turned into AMD javascript support for better robustness.
The architecture change keeps all existing data.
Suptypes evolution :
Thanks to the new, smarter and srong architecture, some subtypes have been enhanced :
- Question subtype now let the teacher add a revealing date for the answer.
- Theorema subtype also has a revealing date for the demonstration.
- New collapsedtext subtype presents collapsible chapters with completion tracking
- Heading subtypes now let you control the exact width of the thumb
Customlabel completion:
An internal completion and local user data support has been added for those labels that may
require interaction with the user. Completion support provides three internal rules that
customlabel types can use to comply distinct completion strategies. When a customlabel subtype
uses completion, it will provide contextually the upper plugin the meaning of the used rules, and
for each used rule the completion condition trigger.
For those administrators who use LearningTimeCheck tracking module, you will need to upgrade
the LTC to the last version so the customlabel module will not be considered as a meaningless
label module.
Further roadmap :
- More pedagogic micro-interactions on subtypes such as :
- Remind subtype : let the student program a reminder message emission with the remind content
- Keypoints : let the student check the keypoint to track self-mastering
- Worktodo : add detail subtopics that can be self checked by student. All checks will complete.
- Question : add the possiblity for student to answer and assess the completion on the question
- SingleChoice (new type to forge) : Unique tiny QCM single choice question with completion maked on success or response.
2018120600
####################################
Raise metadata type name precision to 255 to afford translated names spans.
X.X.0010
#######################################
Fix weird race condition between theme check and customlabel early rendering in cm dynamic data.
X.X.0013
#######################################
Fix ajax errors when deleting or duplicating a course module on teacher role.
Add new cssadditions type
X.X.0017
#######################################
Add satisfaction type
X.X.0018
#######################################
Adds before_http_headers() callback to load jqplot if needed.
4.0.0 (Build 2023060400) (2023060400)
4.0.0 (Build 2023060400)
Plugin type: Activities
Frankenstyle component name: mod_customlabel
Version build number: 2023060400
Version release name: 4.0.0 (Build 2023060400)
Maturity: Stable
Supported Moodle versions: 4.0, 4.1
Repository URL (Git): https://github.com/vfremaux/moodle-mod_customlabel
Repository branch:
Repository tag: 4.0.0018
Issue/bug tracker URL: https://github.com/vfremaux/moodle-mod_customlabel/issues
moodle-mod_customlabel
High semantic elements for course content. Are used as course labels but wth preformatted information model and rendering.
Constraints and restriction :
this module needs some changes in the way courses (core) displays modules in a course, to make the "label" behaviour
extend to whatever module called "xxxxxlabel".
There are a little amount of key locations in the core code where processing is aware of the "label" specificity.
2017020700 : Add content control webservices.
2018111900 : Major change
Architecture change:
A major change occured in this version that removes completely the internal caching effect.
The customlabels are now dynamically produced based on subplugins mustache templates. there
is no more provision for customlabel regeneration and changes made on templates or internal
model is now applied immediately. the processedcontent field in database is obsolete and
will be further removed.
All customlabeltypes have been turned into AMD javascript support for better robustness.
The architecture change keeps all existing data.
Suptypes evolution :
Thanks to the new, smarter and srong architecture, some subtypes have been enhanced :
- Question subtype now let the teacher add a revealing date for the answer.
- Theorema subtype also has a revealing date for the demonstration.
- New collapsedtext subtype presents collapsible chapters with completion tracking
- Heading subtypes now let you control the exact width of the thumb
Customlabel completion:
An internal completion and local user data support has been added for those labels that may
require interaction with the user. Completion support provides three internal rules that
customlabel types can use to comply distinct completion strategies. When a customlabel subtype
uses completion, it will provide contextually the upper plugin the meaning of the used rules, and
for each used rule the completion condition trigger.
For those administrators who use LearningTimeCheck tracking module, you will need to upgrade
the LTC to the last version so the customlabel module will not be considered as a meaningless
label module.
Further roadmap :
- More pedagogic micro-interactions on subtypes such as :
- Remind subtype : let the student program a reminder message emission with the remind content
- Keypoints : let the student check the keypoint to track self-mastering
- Worktodo : add detail subtopics that can be self checked by student. All checks will complete.
- Question : add the possiblity for student to answer and assess the completion on the question
- SingleChoice (new type to forge) : Unique tiny QCM single choice question with completion maked on success or response.
2018120600
####################################
Raise metadata type name precision to 255 to afford translated names spans.
X.X.0010
#######################################
Fix weird race condition between theme check and customlabel early rendering in cm dynamic data.
X.X.0013
#######################################
Fix ajax errors when deleting or duplicating a course module on teacher role.
Add new cssadditions type
X.X.0017
#######################################
Add satisfaction type
X.X.0018
#######################################
Adds before_http_headers() callback to load jqplot if needed.
3.9.0 (Build 2023060300) (2023060300)
3.9.0 (Build 2023060300)
Plugin type: Activities
Frankenstyle component name: mod_customlabel
Version build number: 2023060300
Version release name: 3.9.0 (Build 2023060300)
Maturity: Stable
Supported Moodle versions: 3.9, 3.10, 3.11
Repository URL (Git): https://github.com/vfremaux/moodle-mod_customlabel
Repository branch:
Repository tag: 3.9.0018
Issue/bug tracker URL: https://github.com/vfremaux/moodle-mod_customlabel/issues
moodle-mod_customlabel
High semantic elements for course content. Are used as course labels but wth preformatted information model and rendering.
Constraints and restriction :
this module needs some changes in the way courses (core) displays modules in a course, to make the "label" behaviour
extend to whatever module called "xxxxxlabel".
There are a little amount of key locations in the core code where processing is aware of the "label" specificity.
2017020700 : Add content control webservices.
2018111900 : Major change
Architecture change:
A major change occured in this version that removes completely the internal caching effect.
The customlabels are now dynamically produced based on subplugins mustache templates. there
is no more provision for customlabel regeneration and changes made on templates or internal
model is now applied immediately. the processedcontent field in database is obsolete and
will be further removed.
All customlabeltypes have been turned into AMD javascript support for better robustness.
The architecture change keeps all existing data.
Suptypes evolution :
Thanks to the new, smarter and srong architecture, some subtypes have been enhanced :
- Question subtype now let the teacher add a revealing date for the answer.
- Theorema subtype also has a revealing date for the demonstration.
- New collapsedtext subtype presents collapsible chapters with completion tracking
- Heading subtypes now let you control the exact width of the thumb
Customlabel completion:
An internal completion and local user data support has been added for those labels that may
require interaction with the user. Completion support provides three internal rules that
customlabel types can use to comply distinct completion strategies. When a customlabel subtype
uses completion, it will provide contextually the upper plugin the meaning of the used rules, and
for each used rule the completion condition trigger.
For those administrators who use LearningTimeCheck tracking module, you will need to upgrade
the LTC to the last version so the customlabel module will not be considered as a meaningless
label module.
Further roadmap :
- More pedagogic micro-interactions on subtypes such as :
- Remind subtype : let the student program a reminder message emission with the remind content
- Keypoints : let the student check the keypoint to track self-mastering
- Worktodo : add detail subtopics that can be self checked by student. All checks will complete.
- Question : add the possiblity for student to answer and assess the completion on the question
- SingleChoice (new type to forge) : Unique tiny QCM single choice question with completion maked on success or response.
2018120600
####################################
Raise metadata type name precision to 255 to afford translated names spans.
X.X.0010
#######################################
Fix weird race condition between theme check and customlabel early rendering in cm dynamic data.
X.X.0013
#######################################
Fix ajax errors when deleting or duplicating a course module on teacher role.
Add new cssadditions type
X.X.0017
#######################################
Add satisfaction type
X.X.0018
#######################################
Adds before_http_headers() callback to load jqplot if needed.
3.9.0 (Build 2021120600) (2021120600)
3.9.0 (Build 2021120600)
Plugin type: Activities
Frankenstyle component name: mod_customlabel
Version build number: 2021120600
Version release name: 3.9.0 (Build 2021120600)
Maturity: Stable
Supported Moodle versions: 3.9, 3.10, 3.11
Repository URL (Git): https://github.com/vfremaux/moodle-mod_customlabel
Repository branch:
Repository tag: MOODLE_39_STABLE
Issue/bug tracker URL: https://github.com/vfremaux/moodle-mod_customlabel/issues
moodle-mod_customlabel
High semantic elements for course content. Are used as course labels but wth preformatted information model and rendering.
Constraints and restriction :
this module needs some changes in the way courses (core) displays modules in a course, to make the "label" behaviour
extend to whatever module called "xxxxxlabel".
There are a little amount of key locations in the core code where processing is aware of the "label" specificity.
2017020700 : Add content control webservices.
2018111900 : Major change
Architecture change:
A major change occured in this version that removes completely the internal caching effect.
The customlabels are now dynamically produced based on subplugins mustache templates. there
is no more provision for customlabel regeneration and changes made on templates or internal
model is now applied immediately. the processedcontent field in database is obsolete and
will be further removed.
All customlabeltypes have been turned into AMD javascript support for better robustness.
The architecture change keeps all existing data.
Suptypes evolution :
Thanks to the new, smarter and srong architecture, some subtypes have been enhanced :
- Question subtype now let the teacher add a revealing date for the answer.
- Theorema subtype also has a revealing date for the demonstration.
- New collapsedtext subtype presents collapsible chapters with completion tracking
- Heading subtypes now let you control the exact width of the thumb
Customlabel completion:
An internal completion and local user data support has been added for those labels that may
require interaction with the user. Completion support provides three internal rules that
customlabel types can use to comply distinct completion strategies. When a customlabel subtype
uses completion, it will provide contextually the upper plugin the meaning of the used rules, and
for each used rule the completion condition trigger.
For those administrators who use LearningTimeCheck tracking module, you will need to upgrade
the LTC to the last version so the customlabel module will not be considered as a meaningless
label module.
Further roadmap :
- More pedagogic micro-interactions on subtypes such as :
- Remind subtype : let the student program a reminder message emission with the remind content
- Keypoints : let the student check the keypoint to track self-mastering
- Worktodo : add detail subtopics that can be self checked by student. All checks will complete.
- Question : add the possiblity for student to answer and assess the completion on the question
- SingleChoice (new type to forge) : Unique tiny QCM single choice question with completion maked on success or response.
2018120600
####################################
Raise metadata type name precision to 255 to afford translated names spans.
X.X.0010
#######################################
Fix weird race condition between theme check and customlabel early rendering in cm dynamic data.
X.X.0013
#######################################
Fix ajax errors when deleting or duplicating a course module on teacher role.
Add new cssadditions type
3.6.0 (Build 2019050900) (2019050900)
3.6.0 (Build 2019050900)
Plugin type: Activities
Frankenstyle component name: mod_customlabel
Version build number: 2019050900
Version release name: 3.6.0 (Build 2019050900)
Maturity: Stable
Supported Moodle versions: 3.6
Repository URL (Git): https://github.com/vfremaux/moodle-mod_customlabel
Repository branch: MOODLE_36_STABLE
Repository tag:
Issue/bug tracker URL: https://github.com/vfremaux/moodle-mod_customlabel/issues
moodle-mod_customlabel
High semantic elements for course content. Are used as course labels but wth preformatted information model and rendering.
Constraints and restriction :
this module needs some changes in the way courses (core) displays modules in a course, to make the "label" behaviour
extend to whatever module called "xxxxxlabel".
There are a little amount of key locations in the core code where processing is aware of the "label" specificity.
2017020700 : Add content control webservices.
2018111900 : Major change
Architecture change:
A major change occured in this version that removes completely the internal caching effect.
The customlabels are now dynamically produced based on subplugins mustache templates. there
is no more provision for customlabel regeneration and changes made on templates or internal
model is now applied immediately. the processedcontent field in database is obsolete and
will be further removed.
All customlabeltypes have been turned into AMD javascript support for better robustness.
The architecture change keeps all existing data.
Suptypes evolution :
Thanks to the new, smarter and srong architecture, some subtypes have been enhanced :
- Question subtype now let the teacher add a revealing date for the answer.
- Theorema subtype also has a revealing date for the demonstration.
- New collapsedtext subtype presents collapsible chapters with completion tracking
- Heading subtypes now let you control the exact width of the thumb
Customlabel completion:
An internal completion and local user data support has been added for those labels that may
require interaction with the user. Completion support provides three internal rules that
customlabel types can use to comply distinct completion strategies. When a customlabel subtype
uses completion, it will provide contextually the upper plugin the meaning of the used rules, and
for each used rule the completion condition trigger.
For those administrators who use LearningTimeCheck tracking module, you will need to upgrade
the LTC to the last version so the customlabel module will not be considered as a meaningless
label module.
Further roadmap :
- More pedagogic micro-interactions on subtypes such as :
- Remind subtype : let the student program a reminder message emission with the remind content
- Keypoints : let the student check the keypoint to track self-mastering
- Worktodo : add detail subtopics that can be self checked by student. All checks will complete.
- Question : add the possiblity for student to answer and assess the completion on the question
- SingleChoice (new type to forge) : Unique tiny QCM single choice question with completion maked on success or response.
2018120600
####################################
Raise metadata type name precision to 255 to afford translated names spans.
X.X.0010
#######################################
Fix weird race condition between theme check and customlabel early rendering in cm dynamic data.
X.X.0013
#######################################
Fix ajax errors when deleting or duplicating a course module on teacher role.
Add new cssadditions type
3.5.0 (Build 2018120600) (2018120600)
3.5.0 (Build 2018120600)
Plugin type: Activities
Frankenstyle component name: mod_customlabel
Version build number: 2018120600
Version release name: 3.5.0 (Build 2018120600)
Maturity: Stable
Supported Moodle versions: 3.5
Repository URL (Git): https://github.com/vfremaux/moodle-mod_customlabel
Repository branch: MOODLE_35_STABLE
Repository tag:
Issue/bug tracker URL: https://github.com/vfremaux/moodle-mod_customlabel/issues
moodle-mod_customlabel
High semantic elements for course content. Are used as course labels but wth preformatted information model and rendering.
Constraints and restriction :
this module needs some changes in the way courses (core) displays modules in a course, to make the "label" behaviour
extend to whatever module called "xxxxxlabel".
There are a little amount of key locations in the core code where processing is aware of the "label" specificity.
2017020700 : Add content control webservices.
2018111900 : Major change
Architecture change:
A major change occured in this version that removes completely the internal caching effect.
The customlabels are now dynamically produced based on subplugins mustache templates. there
is no more provision for customlabel regeneration and changes made on templates or internal
model is now applied immediately. the processedcontent field in database is obsolete and
will be further removed.
All customlabeltypes have been turned into AMD javascript support for better robustness.
The architecture change keeps all existing data.
Suptypes evolution :
Thanks to the new, smarter and srong architecture, some subtypes have been enhanced :
- Question subtype now let the teacher add a revealing date for the answer.
- Theorema subtype also has a revealing date for the demonstration.
- New collapsedtext subtype presents collapsible chapters with completion tracking
- Heading subtypes now let you control the exact width of the thumb
Customlabel completion:
An internal completion and local user data support has been added for those labels that may
require interaction with the user. Completion support provides three internal rules that
customlabel types can use to comply distinct completion strategies. When a customlabel subtype
uses completion, it will provide contextually the upper plugin the meaning of the used rules, and
for each used rule the completion condition trigger.
For those administrators who use LearningTimeCheck tracking module, you will need to upgrade
the LTC to the last version so the customlabel module will not be considered as a meaningless
label module.
Further roadmap :
- More pedagogic micro-interactions on subtypes such as :
- Remind subtype : let the student program a reminder message emission with the remind content
- Keypoints : let the student check the keypoint to track self-mastering
- Worktodo : add detail subtopics that can be self checked by student. All checks will complete.
- Question : add the possiblity for student to answer and assess the completion on the question
- SingleChoice (new type to forge) : Unique tiny QCM single choice question with completion maked on success or response.
2018120600
####################################
Raise metadata type name precision to 255 to afford translated names spans.
X.X.0010
#######################################
Fix weird race condition between theme check and customlabel early rendering in cm dynamic data.
X.X.0013
#######################################
Fix ajax errors when deleting or duplicating a course module on teacher role.
Add new cssadditions type
3.4.0 (Build 2017061300) (2017061300)
3.4.0 (Build 2017061300)
Plugin type: Activities
Frankenstyle component name: mod_customlabel
Version build number: 2017061300
Version release name: 3.4.0 (Build 2017061300)
Maturity: Stable
Supported Moodle versions: 3.4
Repository URL (Git): https://github.com/vfremaux/moodle-mod_customlabel
Repository branch: MOODLE_34_STABLE
Repository tag:
Issue/bug tracker URL: https://github.com/vfremaux/moodle-mod_customlabel/issues
moodle-mod_customlabel
High semantic elements for course content. Are used as course labels but wth preformatted information model and rendering.
Actual status : Only MOODLE_19_STABLE available
Constraints and restriction :
this module needs some changes in the way courses (core) displays modules in a course, to make the "label" behaviour
extend to whatever module called "xxxxxlabel".
There are a little amount of key locations in the core code where processing is aware of the "label" specificity.
2017020700 : Add content control webservices.
3.2.0 (Build 2017020700) (2017020700)
3.2.0 (Build 2017020700)
Plugin type: Activities
Frankenstyle component name: mod_customlabel
Version build number: 2017020700
Version release name: 3.2.0 (Build 2017020700)
Maturity: Stable
Supported Moodle versions: 3.2
Repository URL (Git): https://github.com/vfremaux/moodle-mod_customlabel
Repository branch: MOODLE_32_STABLE
Repository tag:
Issue/bug tracker URL: https://github.com/vfremaux/moodle-mod_customlabel/issues
moodle-mod_customlabel
High semantic elements for course content. Are used as course labels but wth preformatted information model and rendering.
There may be a little amount of key locations in the core code where processing is aware of the "label" specificity.
2017020700 : Add content control webservices.
2.9.0 (Build 2013041802) (2013041802)
2.9.0 (Build 2013041802)
Plugin type: Activities
Frankenstyle component name: mod_customlabel
Version build number: 2013041802
Version release name: 2.9.0 (Build 2013041802)
Maturity: Stable
Supported Moodle versions: 2.9
Repository URL (Git): https://github.com/vfremaux/moodle-mod_customlabel
Repository branch: MOODLE_29_STABLE
Repository tag:
Issue/bug tracker URL: https://github.com/vfremaux/moodle-mod_customlabel/issues
moodle-mod_customlabel
High semantic elements for course content. Are used as course labels but wth preformatted information model and rendering.
Actual status : Only MOODLE_19_STABLE available
Constraints and restriction :
this module needs some changes in the way courses (core) displays modules in a course, to make the "label" behaviour
extend to whatever module called "xxxxxlabel".
There are a little amount of key locations in the core code where processing is aware of the "label" specificity.
2.6.0 (Build 2012062401) (2013010400)
2.6.0 (Build 2012062401)
Plugin type: Activities
Frankenstyle component name: mod_customlabel
Version build number: 2013010400
Version release name: 2.6.0 (Build 2012062401)
Maturity: Stable
Supported Moodle versions: 2.6
Repository URL (Git): https://github.com/vfremaux/moodle-mod_customlabel
Repository branch: MOODLE_26_STABLE
Repository tag:
Issue/bug tracker URL: https://github.com/vfremaux/moodle-mod_customlabel/issues
moodle-mod_customlabel
High semantic elements for course content. Are used as course labels but wth preformatted information model and rendering.
Actual status : Only MOODLE_19_STABLE available
Constraints and restriction :
this module needs some changes in the way courses (core) displays modules in a course, to make the "label" behaviour
extend to whatever module called "xxxxxlabel".
There are a little amount of key locations in the core code where processing is aware of the "label" specificity.
2.3.0 (Build 2012062401) (2012062401)
2.3.0 (Build 2012062401)
Plugin type: Activities
Frankenstyle component name: mod_customlabel
Version build number: 2012062401
Version release name: 2.3.0 (Build 2012062401)
Maturity: Release Candidate
Supported Moodle versions: 2.3
Repository URL (Git): https://github.com/vfremaux/moodle-mod_customlabel
Repository branch: MOODLE_23_STABLE
Repository tag:
Issue/bug tracker URL: https://github.com/vfremaux/moodle-mod_customlabel/issues
Moodle plugin : Customlabel Author : Valery Fremaux / EISTI for Intel Corp. =============================================== This plugin is an enhanced label that can precharacterize its content both in the information structure and the rendering. It may be used just as a standard Moodle Label to display information in a course layout. Unlike the label that allows the editing user to shape the label content and rendering as he likes to, the custom label allows information editing within a simple data model made with named fields. The editing user will be able to change fields' content, but will not be allowed to change information layout or styling. This module has a subplugin interface through which many new customized information blocks can be defined. This block is for use by administrators or system architects to define information packs that need to be edited and presented in a controlled way, such as displaying a set of predefined metadata within a course space, or defining standardized information sets that teachers should use to normalize course construction and/or aspect. Installing the plugin ===================== Installs just as any other Moodle plugin : 1. Unzip the plugin within the mod/customlabel directory 2. Goto Administration->notifications and logically install the plugin model Making your own block types =========================== This plugin is valuable essentially by creating new custom types. A custom type is a directory in the mod/customlabel/types subdirectory with a set of standard label components : - a PHP class defines the internal structure of information that makes the information block. This class has a member name type (just for autoreference) and a really important member named "fields" that contains a hashed array on all the information scalars. Fields can hold short text, long text, and lists (single and multiple options). Although we are naming widgets, the custom label WILL NOT present a form to the user. Lists are provided for giving a possible multiple value choice in a closed options set. List options are defined as a subarray of the $field value. - a CSS file that defines all redering attributes for the generated content. - a set of localized templates along with translation files in consequent subdirs : - a template.tpl file defines the HTML template where to insert data. The data is inserted using <%%x%%> tags where x is the field name. (There is no provision for a field holding an array). - a customlabel.php file that holds localization inputs for the type contextual information such as list option trnaslations, field name translations, etc. You may make your own block types using a clone of the NEWTYPE subtype. The custom label automatially discovers any new type added to the mod/customlabel/types directory.
2.2.0 (Build 2012062400) (2012062400)
2.2.0 (Build 2012062400)
Plugin type: Activities
Frankenstyle component name: mod_customlabel
Version build number: 2012062400
Version release name: 2.2.0 (Build 2012062400)
Maturity: Release Candidate
Supported Moodle versions: 2.2
Repository URL (Git): https://github.com/vfremaux/moodle-mod_customlabel
Repository branch: MOODLE_22
Repository tag:
Issue/bug tracker URL: https://github.com/vfremaux/moodle-mod_customlabel/issues
Moodle plugin : Customlabel
Author : Valery Fremaux / EISTI for Intel Corp.
This plugin is an enhanced label that can precharacterize its content both
in the information structure and the rendering.
It may be used just as a standard Moodle Label to display information in
a course layout. Unlike the label that allows the editing user to shape
the label content and rendering as he likes to, the custom label allows
information editing within a simple data model made with named fields.
The editing user will be able to change fields' content, but will not be allowed
to change information layout or styling.
This module has a subplugin interface through which many new customized information
blocks can be defined.
This block is for use by administrators or system architects to define information
packs that need to be edited and presented in a controlled way, such as displaying
a set of predefined metadata within a course space, or defining standardized
information sets that teachers should use to normalize course construction and/or aspect.
Installing the plugin
Installs just as any other Moodle plugin :
- Unzip the plugin within the mod/customlabel directory
- Goto Administration->notifications and logically install the plugin model
Making your own block types
This plugin is valuable essentially by creating new custom types.
A custom type is a directory in the mod/customlabel/types subdirectory with
a set of standard label components :
a PHP class defines the internal structure of information that makes the information block. This class
has a member name type (just for autoreference) and a really important member named "fields" that contains
a hashed array on all the information scalars. Fields can hold short text, long text, and lists (single
and multiple options). Although we are naming widgets, the custom label WILL NOT present a form to the
user. Lists are provided for giving a possible multiple value choice in a closed options set. List options
are defined as a subarray of the $field value.
a CSS file that defines all redering attributes for the generated content.
a set of localized templates along with translation files in consequent subdirs :
a template.tpl file defines the HTML template where to insert data. The data is inserted
using <%%x%%> tags where x is the field name. (There is no provision for a field holding
an array).
a customlabel.php file that holds localization inputs for the type contextual information
such as list option trnaslations, field name translations, etc.
You may make your own block types using a clone of the NEWTYPE subtype.
The custom label automatially discovers any new type added to the mod/customlabel/types directory.