Moodle plugins directory: Course element | Moodle.org
Course element
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)
lang/en/customlabeltype_wotktodo.php
...
$string['workeffort']=
...
$string['WORKEFFORT']=
I have to uninstall this plugin because it generates exception when I try to customize translations. See the detals at github: https://github.com/vfremaux/moodle-mod_customlabel/issues/1
Now just some points about elizabeth's request :
- just saying its not working does not make things go ahead in any case. Our installed versions are working nice, and publishing that result of thousand hours working on it is a bonus.
- although all the attention and heavy work we can spend on contributions, some environment will sometimes give the "bad case". Usually, contribution users are expected to :
- positively report
- solve by them selves the smaller points (trivial mistakes, that do not affect component architecture)
- ask for support in other cases
I was going through this plugin and this plugin is very good and is very helpful for everyone using moodle. I found a small issue ( Might be taken as an improvement smile) in this plugin. I actually installed this plugin on my local system and found that the images ( example: If I take an example of Important Label or tips and tricks) are not being displayed.
After some tinkering I discovered that if the following changes are made in (customelabel->type->important->customelabel.css) for all the subtypes then this issue can be resolved and images can be visible.
I just saw that the path of the background image "background-image: url("/mod/customlabel/type/localgoals/icon_goals.png");" was creating this issue.
I just changed the path in order to view the image. In the path I just added the full moodle path background-image: url("/mymoodlename/mod/customlabel/type/localgoals/icon_goals.png");].
After changing the path, the image was visible.
Alternatively, we can simply give the name of the image without any path e.g,
background-image: url("icon_goals.png");.
If we follow either of the above then the image is visible properly.
Please have a look into this issue. Hope this is correct and help as I am not a PHP developer.
Best
Lokesh
sudo ln -s moodle/mod mod
However, I think it would be better to fix this in the code. I suspect many of the places where $CFG->dirroot is used should be $CFG->wwwroot instead. This is defined in config.php to point to the moodle root directory. Is there a reason you used $CFG->dirroot instead?
Une version compatible avec Moodle 2.9 est-elle prévue?
Merci.
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.