I have deleted the 'master' branch on github. This was simply a copy of MOODLE_33_STABLE and was tiresome to update. Please be aware of this change if you have been pulling from master (which you shouldn't be doing in the first place, please use the branch corresponding to the version of Moodle you are using).
In 3.3 and 3.2 I am getting rid of the hacky $this->element usage + the magic getter in an effort to improve code quality - it's an ongoing process. This will be in the next release in the plugins DB.
$this->element will still be able to accessed via any third-party element plugins, but if you are using it in definition_after_data() it will no longer work. Please explicitly set the value of any custom fields you have in the form (the diff has examples on how to do so).
For those who have implemented their own custom certificate element please consider sharing this (if applicable) with the community via https://moodle.org/plugins/browse.php?list=category&id=73.
Greetings Mark -
Do you have or know of any guidance for adding the "Duration" field from a F2F session, or how to setup a user-defined field to be added to a certificate?
Please don't use in the 'Important updates' thread as it's used for announcements etc, otherwise it would just fill up with unrelated topics!
In relation to your question - https://github.com/markn86/moodle-mod_customcert/issues/185 might interest you. You can set a date range. If this doesn't satisfy your requirements, you can create an issue on https://github.com/markn86/moodle-mod_customcert/issues with your desired functionality and i'll see what I can do, or even better, create a patch I can review!
Some good news - I will finally have some time to work on this plugin! I have been extremely busy with the Moodle 3.6 release and have neglected this plugin for a few months now, but now 3.6 has been shipped I can dedicate some time to this.
I will be working for a week (in the very soon future) on the backlog and hope to release a new version that should contain requested features and bug fixes.
Thanks for your patience!
Hi Mark Nelson, I would like to ask you a question.
I noticed that when a student finishes a course and the certificate is released to him, he can go to the profile, rename and issue another certificate with the new name.
How can I do to restrict this? Make the first name printed on the certificate remain even if it changes user settings !?