Activities: Custom certificate

Maintained by Picture of Mark Nelson Mark Nelson
Enables the creation of dynamically generated certificates with complete customisation via the web browser.
2705 sites
100 fans

This plugin allows the generation of dynamic PDF certificates with complete customisation via the web browser.

Currently supported versions: 3.2, 3.3 and 3.4.

If you like this plugin feel free to donate. smile btn_donate_LG.gif


This plugin is part of set MoodleCloud.


Screenshot #0
Screenshot #1
Screenshot #2


Picture of Mark Nelson
Mark Nelson (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Mark Nelson
    Tue, 28 Nov 2017, 5:59 PM
    Hi Brian - I still can't reproduce the issue in Moodle 3.2 running Safari on Clean or Boost.

    Hi Tony - I have created

    Hi rkLearn - The default size is determined by the image that is uploaded. It is automatically calculated.

    Hi Rolf - This would require code knowledge. You would have to create your own element or edit the existing date element to allow you to do this. You could also add a text element and write the date manually, or would this be something that is constantly changing?
  • Picture of Rolf Petersen
    Wed, 29 Nov 2017, 12:13 AM
    Hi Mark
    Thank you for your response. In deed the date to be displaey is changing for each customer. When course is finished (today or on any other day) the date to be displayed is always one year ahead.
    So I think I have to do some coding (I am a bit familiar!) Can you please direct me to the file I have to edit?
    Best would be, if it would become possible to have an additional Line in dropdown to add certificate-entries (now there are 15 entries, may be I can code a 16th "myDate") and than be able to adjust ...period ahead (= xxx days) or something useful similar to that.
    Or when I use simple Text to add, is it possible to have a coding block within that text?
    Thanks fpr careing!
  • Picture of Brian Warling
    Wed, 29 Nov 2017, 1:43 AM
    Hi Mark -- I wanted to report that I just upgraded my MacBook Pro to Sierra. Now, in Safari, the delete icon is sized correctly.
  • Picture of E C
    Thu, 30 Nov 2017, 4:47 AM
    We've been having a problem for the last couple months where two certificates are being issued to a user. This is happening at least every other day and it's happened twice today. Is anybody else seeing this? When this happens, users get a "Multiple Records Found" error when pressing the download certificate button. This also prevents the certificate emails from going out. To fix I delete the extra record out of the database and run the custom cert email scheduled task. We're running 3.3.3 with the latest custom cert module.

    Looking at the issuing code in view.php and can see that this is possible if a user where to press the download certificate button twice and fast enough where the duplicate issue check comes back false, but I haven't been able to recreate that.
  • Picture of Augusto R. M.
    Thu, 7 Dec 2017, 3:34 AM
    Hello. Currently using 3.3. and dosen't work propperly.
    I created a template. I added two text elements and image. All of them render one above the other, on the top left corner. Not center text option found. Further, I add border element, and put left and righ margin. Result: border render but none margin is set. Finally, where can I set page orientation?
  • Picture of Izabelle Paradis
    Wed, 20 Dec 2017, 9:44 PM

    I use Moodle 3.1 and installed this pluggin. Unfortunately, it does not seem to work.

    I'm trying to create a new template and the /mod/customcert/edit.php?contextid=1 page does not display anything.

    Thank you for your help
  • Picture of Mark Nelson
    Thu, 28 Dec 2017, 11:33 AM
    Hi Rolf - Have a look at the mod/customcert/element/date/classes/element.php file. This contains all the logic for saving and rendering the date.

    I don’t think a coding block in the text element is the answer as it would require using exec and would lead to all kinds of trouble.

    Hi Brian - Thanks for the update. Happy Moodling!

    Hi E C - Please create an issue at This is indeed worrying. Sounds like it could be a race condition, or perhaps the task isn’t working as expected. Would be great if you could reproduce it and let me know.

    Hi Augusto - Are you using the reposition page to reorder where the elements appear? The page orientation is determined by the width and height. Please create an issue at re: the margin error with steps to reproduce. Thanks.

    Hi Isabelle - Are you able to turn debugging on (see or check your apache logs and let me know what the actual error is?
  • Picture of Luis Eduardo Vahos Hernandez
    Fri, 5 Jan 2018, 10:30 PM
    Greetings install the plugin in moodle 3.1 and to modify the certificates the page is blank
    In debug mode this is the error

    Fatal error: Can't use method return value in write context in /home/luisvahos/public_html/app/mod/customcert/element/border/classes/element.php on line 109
  • Picture of ram yadav
    Tue, 9 Jan 2018, 5:12 PM
    Please, anyone, tell me how to send certificate automatically after the complete quiz.
  • Peter Jonker
    Thu, 11 Jan 2018, 7:21 PM
    Mark compliments for this plugin works perfectly. One suggestion for the verification. Noticed that unenrolling and suspending a user still gives the opportunity to verify which is great. However deleting the user account breaks it and gives the warning 'Not verified'. Would you be able to store the user Fullname and Coursename in a separate table on issuing the certificate. This way the verification proces will also work once the user has been deleted.
  • Picture of Mark Nelson
    Mon, 15 Jan 2018, 1:38 PM
    Hi Peter,

    Please create a request for this improvement at It would definitely require some work and re-factoring on the certificate behaviour. It's definitely possible but would require some time and I already have a large backlog of things to work on and do work on this in my spare time.
  • Picture of Mark Nelson
    Mon, 15 Jan 2018, 1:58 PM
    Hi Luis,

    I was unable to replicate this error. Are you able to list the steps you took to reproduce this error?
  • Picture of Luis Eduardo Vahos Hernandez
    Mon, 15 Jan 2018, 8:38 PM
    1.Install the plugin from the moodle website
    2.He perfectly updated the database
    3. And the application is installed
    4. When I generate a certificate, it goes blank.
    5. entry to edit the certificate and I get that error
  • Picture of Mark Nelson
    Tue, 16 Jan 2018, 12:17 PM
    For the record Luis kindly created and I was able to determine the problem. Fix will be applied to 3.1 next release, which I hope to get some time to do this week.
  • Picture of Tiffany Morgan
    Tue, 23 Jan 2018, 6:15 AM
    Hi Mark--great plugin! Wondering if there is a possibility of having first and surname each go to column in csv or text file, rather than the html for the user image? I can export as an html file and then copy/paste to excel, which works, but wondered if there was a simpler way I was overlooking? Thanks!
1 2 3 4 5 6 7 8 9 10 11 12 13
Please login to post comments