mod:customlabel
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| mod:customlabel [2021/05/07 11:39] – florence | mod:customlabel [2026/11/13 21:11] (Version actuelle) – modification externe 127.0.0.1 | ||
|---|---|---|---|
| Ligne 3: | Ligne 3: | ||
| ===== Course elements | ===== Course elements | ||
| - | * **Component type:** Activity module | ||
| - | * **Name:** Customlabels (course elements) | ||
| - | * **Versions: | ||
| - | * **Old versions:** 1.9, 2.2 à 2.6 | ||
| - | * **Distribution: | ||
| - | * **Availability: | ||
| - | * **Distributor: | ||
| < | < | ||
| Ligne 20: | Ligne 13: | ||
| * [[https:// | * [[https:// | ||
| < | < | ||
| + | |||
| + | |||
| + | ====The major advantages==== | ||
| + | |||
| + | * Editorial consistency of the courses, | ||
| + | * Clarification of the educational message, | ||
| + | * Significant time saving. | ||
| Ligne 43: | Ligne 43: | ||
| We will distinguish according to the objective they serve and with different functionalities: | We will distinguish according to the objective they serve and with different functionalities: | ||
| - | * Course elements intended for titles (course title, section titles, sequence titles, unit title) | + | |
| - | * Course elements related to the transmission of educational data: Instructions, | + | * **Educational elements : |
| - | * Course elements intended to mark certain interactive moments of the course such as contact and communication elements, or an interactive question. | + | |
| - | * Certain course elements with a more documentary vocation, such as elements used for indexing the course or for displaying teaching notices. | + | |
| - | |||
| - | * | ||
| - | * | ||
| - | * | ||
| - | * Meta Elements | ||
| - | * | ||
| < | < | ||
| Ligne 63: | Ligne 57: | ||
| * [[: | * [[: | ||
| + | ====Technical sheet==== | ||
| + | * **Component type:** Activity module | ||
| + | * **Name:** Customlabels (course elements) | ||
| + | * **Supported versions:** :M41: to :M53: | ||
| + | * **Distribution: | ||
| + | * **Availability: | ||
| + | * **Distributor: | ||
| ==== Builds ==== | ==== Builds ==== | ||
| - | ^ :M27: ^ :M28: ^ :M29: ^ :M30: ^ :M31: ^ :M32: ^ :M33: ^ :M34: ^ :M35: ^:M36: ^:M37: ^:M38: ^:M39: ^ | + | Note: a "Failing" status |
| - | | < | + | |
| - | + | ||
| - | [[https:// | + | |
| - | + | ||
| - | Note : Failing | + | |
| + | ^ Branch ^ Continuous integration tests ^ | ||
| + | | 405 | < | ||
| + | <img src=" | ||
| + | </ | ||
| + | | 501 | < | ||
| + | <img src=" | ||
| + | </ | ||
| ==== Credits ==== | ==== Credits ==== | ||
| Ligne 80: | Ligne 83: | ||
| * Florence Labord (florence@activeprolearn.com) - Plugin documentation and standard artwork | * Florence Labord (florence@activeprolearn.com) - Plugin documentation and standard artwork | ||
| - | ==== Road map ==== | ||
| - | |||
| - | We seriously plan to rewrite fundamentally this module in order to simplify the implementation. the major reason of the code complexity of this module was the inheritance of tricky constraints of Moodle 1.9 architecture for being able to produce the course element content in the course view. This has not been reviewed because we needed at early moodle 2.x stages that the plugin keep entire compatibility with Moodle 1.9 contents. | ||
| - | |||
| - | The pressure to stay full compatible with old storage model is lower now, unless we can provide a good model translator for actual component architecture to new one. | ||
| - | |||
| - | I am sure that the component will gain in maintenability, | ||
| - | |||
| - | What should be great to achieve as workplan: | ||
| - | |||
| - | - Restructure storage adding a mdl_customlabel_data table capable to flat storing the element' | ||
| - | - Mustache the rendering, or proposing the administrator to define the mustache templates for rendering the element just through global settings. This would let the labels to be very flexible in appearence, while based on a formal data micromodel. | ||
| - | - Allow administrators to add a customlabel CSS attached to the template. This is yet possible in themes providing the " | ||
| - | - Let templates and CSS be stored in backup, so elements could move from a moodle to another. This will vote for storing a local copy of template and css rules in the instance record. | ||
| - | - Provide a global setting level moodle filearea to store all the graphic assets, icons, backgrounds, | ||
| - | - Think about reserving also an instance filearea for overriding those assets. | ||
| - | - Develop a new customlabel element type capable to get any content from outside moodle using an embedded web service client, and using the captured content as its proper content. | ||
| - | - Develop a new customlabel element type capable to get any content of a direct HTML url (publicly accessible) and clip the content by regexps (start/ | ||
| - | The global goal of those changes is to make all aspect configuration possible without coding access. | ||
| - | As usual, such a radical change needs a lo of time, and probably budget. At the moment I lack both. So I do not expect short time resolution at the moment, but the road is traced. | ||
| ------------------- | ------------------- | ||
mod/customlabel.1620380392.txt.gz · Dernière modification : (modification externe)
