Course element

Activities ::: mod_customlabel
Maintained by Valery Fremaux
Course elements is a content strategy to improve course writing quality and editorial stability by providing preshaped pedagogic elements. The integrator or administrator (through custom CSS rules) can take over the styling of the elements. Some elements can have local dynamic behaviour, or have an internal logic strategy based on other data of Moodle. This plugin is supported by ActiveProLearn SAS.
Latest release:
148 sites
274 downloads
41 fans
Current versions available: 18

CHANGE :   We have spent time enough to use Moodle Plugin Maintenance API to support automated plugin update chain from our internal development workflow.

The course elements provide pre-shaped pedagogic bricks that can be used as ressources in a course. They behave like labels and are rendered in the course sequence (not like resources in separate content).

Course elements provide high semantic level objects that are commonly used on written learning content, such as "Important, local goals, reminder, example, work description, soluce elements, tips and tricks, see also"...

Contact points elements can clearly mark a location in a course where teacher ans learners should meet some way (face to face, phone call, online synchronous session, mail, other...)

Other course elements provide a pre-styled constant way of rendering course headings, section and sequences headings.

Course elements complete the logic of a flexipage format (or any multi-paged format) in order to improve authors productivity, and content homogeneity, by applying the samel HTML template each time an element is rendered.

Course elements come with a default icon set and layout templates. An overriding strategy is being developped and will be soon documented to let each administrator and integrator freely adapt output HTML and aspect

Course elements need to be used with the Enhanced Multilang Filter in order to display properly in multi language situations.

this plugin is supported by MyLearningFactory distributor's as ActiveProLearn SAS (Montpellier - France)

Screenshots

Screenshot #0

Contributors

Valery Fremaux (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Valery Fremaux
    Mon, 13 Mar 2017, 9:36 PM
    Actually located a regression following the travis-ci and code integrity checker constraints review. Issue located on the mod_form reloading path. Fix in progress.
  • Valery Fremaux
    Mon, 13 Mar 2017, 10:30 PM
    Reviewed and tested back. Regression was comming from a silly JSHint code check rule that forces strict equality in logical tests, thus (somevar === 0) and (somevar === '0') do not give identical result !
  • Yvan Urunuela
    Mon, 3 Jul 2017, 9:58 PM
    Hi,
    This plug-in seems to be really useful, but I have exactly the same problem as Paul Finton (March the 13th).
    I'm on Moodle 3.2 and plugin version 3.2.0
    Thanks.
  • Dinis Medeiros
    Wed, 7 Mar 2018, 3:28 AM
    Is it compatible with 3.4?
  • Florence Labord
    Thu, 5 Apr 2018, 12:32 AM
    it is compatible with 3.4.
  • Ann Hulton
    Sat, 26 May 2018, 8:41 AM
    I love this plugin! It is very smart! One small english error that I found was in the 'key points' custom label. The label reads now: "Remind", it should say "Reminder". I tried to contribute in Amos, but it only allows for standard modules. I also curious to know if you will be updating this to work with Moodle version 3.5.
  • Eli Fadida
    Mon, 26 Nov 2018, 7:13 PM
    Hello,
    Thank you for this fabulous plugin, installed it on 3.4 and it works smoothly,

    one question:
    I'm trying to replace some icons (for keynotes type) by replacing the images in the /customlabel/type/keypoints/pix (for example)
    but it doesn't work, seems like it has some kind of cache or DB image upload.

    I could uninstall the plugin, replace the images in the zip file, and then zip and plugin-install, then it works.
    but it doesn't look like a good practice (I believe it will delete any labels created before the re-installation)

    Any Idea how to replace the icons? maybe reloading them to some DB / cache ?

    Many Thanks!
  • Valery Fremaux
    Mon, 26 Nov 2018, 7:40 PM
    Hi Eli,

    actually this aspect of content caching is a caveheat i pull from it's original version in Moodle 1.9. There is no need now of this cache and it produces some tweaking complexity for integrators. There is a new version comming very soon, initially forged on moodle 3.5, but i will backport it to moodle 3.4 also...

    The main goal of this redraw is :
    - avoid internal caching. If we will face some performance issues, we might redraw a new caching technique using core moodle caches API.
    - convert all templates to mustache
    - get rid of old javascript and set it all to AMD modules for more robust implementation
    - Add completion on customlabels, that is, micro-completion conditions
    - Add new collapsetext subtype, for collapsible content presentation
    - some new dynamic features on some subtypes.

    This will be published this week.
    Cheers
    Valery
  • Valery Fremaux
    Mon, 26 Nov 2018, 7:44 PM
    In the meanwhile, there is (to disapear in the new version) a global config tool for refreshing all or part of customlabels, when the template design changes. If you only want to change images, actually you need to purge all caches for the new icons to appear.
    Generally, we put those alternate images into theme/yourtheme/pix_plugins/mod/customlabel/ than make an additional css file customlabels.css that we add to the current theme css list. In this css we renegociate the background-image of the customlabel type to ovverride the original one.
  • Eli Fadida
    Mon, 26 Nov 2018, 9:07 PM
    Many Thanks for the prompt response Valery, I'll wait for the update.
  • Preben Pedersen
    Fri, 31 May 2019, 3:09 PM
    Hello smile
    I'm unable to install this on Moodle v3.7.

    I get the following, when i try to install it:
    Validating mod_customlabel ... Error
    [Error] Extracted file not found [{"file":"customlabel\/js\/"}]

    Any ideas?
  • Алексей Подолинный
    Fri, 7 Jun 2019, 7:25 AM
    Same Error on Moodle 3.6.4+ (Build: 20190530) php 7.1.29
  • Bert van der Hooft
    Sun, 9 Jun 2019, 6:14 PM
    Unclear what is does an can do. I'm searching for reusable blocks on a site, such as WordPress have. Is this what it does?
  • Patrick Viney au MoodleMoot de Nîmes
    Wed, 12 Jun 2019, 8:20 PM
    Same error with Moodle 3.5 but I managed to make it work : it comes from the zip folder which contains a "js" folder which is empty (no file in it). I deleted this empty folder and re-zipped the whole thing.
  • Jean-François Raquin
    Mon, 30 Mar 2020, 9:38 PM
    Bonjour et merci pour ce plugin. Avez vous prévu une mise à jour vers les versions récentes de Moodle, 3.7 ou 3.8 sur cette page ?
    Merci de votre réponse
1 2 3 4
Please login to post comments