
Activities: Course element
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.
this plugin is supported by MyLearningFactory distributors as ActiveProLearn SAS and Edunao SAS (French Moodle Partner).
Each time I choose an item from the pre-defined list a dialog box appears in the browser, [my site] says: "you are about to change the internal data structure of this element...."
This then takes me to the following:
Invalid course module ID
More information about this error
Using Moodle 3.1+ (Build: 20160609)
In $plugin->version = 2013041802; type localgoals is present, but in $plugin->version = 2017020700; type localgoals is missing. plugin checker complains.
- Changing strings : the best practice is to edit the local language package and override strings in customlabeltype_xxxxxx entry. If you change in the component strings you anyway will have to clear all caches to get strings taen into account.
- localgoals missing : Misfit indeed as it has been eroneously discarded as supposed being part of the special CMMI elements (it was not indeed). I reintroduce it in the public pack.
- Invalid course module ID : I invetigate if reproduceable here. The alert message is normal. As course elements contain a micro data model that is not liely to be compatible across elements, the course label type change cannot maintain payload integrity when the type is changed.
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.
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!
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
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.