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.
2289 sites
94 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 Francisco Carllinni
    Tue, 7 Nov 2017, 2:45 AM
    Hi Mark, i've got one question: is it possible to verify every certificate (say you have several in diferent courses/clases in your platform) with the same verify link? if not, what could i do to dodge this problem? the fact is i need to let anywho to be able to verify any certificate and i find that having links for each course is a mayor dificulty (there are 12 of them)
    Thanks in advance.
  • Picture of Mark Nelson
    Tue, 7 Nov 2017, 12:09 PM
    Hi Francisco, this has been requested before. Please see Next time I get to work on development for this plugin I hope to finish that (it shouldn't be too hard).
  • Picture of Brian Warling
    Wed, 8 Nov 2017, 8:02 AM
    Hi. Great plugin. With the latest version -- that includes the ability to delete individual certificates in courses -- I'm noticing that in Safari (Mac), the delete icon (the X) is massive. While in Chrome and Firefox, the delete icon (X) is scaled down to an appropriate size. I'm wondering if this is a known issue... do others also see this on Safari?

    Thanks.... Brian
  • Picture of Brian Warling
    Thu, 9 Nov 2017, 2:27 AM
    About the delete icon issue I mentioned on 11/7. I'm running Moodle 3.2.5+. I can further report that, when using Safari (Mac), the delete icon (X) only appears to be massive when using the Clean theme. When using Boost, the delete icon is appropriately sized in Safari (as it is for both Clean and Boost in Chrome and Firefox). Unfortunately, my site is using a theme built from the Clean theme, so the delete icon is huge for Safari users. Thanks... Brian
  • Picture of Mark Nelson
    Fri, 10 Nov 2017, 12:26 PM
    Hi Brian,

    I just checked on Moodle 3.2 using the corresponding version of the custom certificate on Safari and the 'X' is no larger than normal. Have you tried purging the caches for your browser? I looked at the code and it simply does the following -

    $icon = new \pix_icon('i/delete', get_string('delete'));
    $link = new \moodle_url(...);
    return $OUTPUT->action_icon($link, $icon, null, ['class' => 'action-icon delete-icon']);$OUTPUT->action_icon($link, $icon, null, ['class' => 'action-icon delete-icon']), so is using the standard

    You can see it is simply using the standard pix_icon class combined with the standard action_icon function. Nothing out of the ordinary.

    Have you tried inspecting the page on your safari browser and seeing what CSS setting is causing it to display that size?
  • Picture of josh blevins
    Sat, 11 Nov 2017, 8:05 AM
    I’m looking to add a script to the download certificate button, when pressed to update another db as completed. Any help pointing me to the right file would be appreciated
  • Picture of Brian Warling
    Tue, 14 Nov 2017, 4:15 AM
    Hi Mark -- Thanks for the response. It's looking like a Safari issue. The Mac where I see this issue is running Yosemite, and Safari 10.1.2. I don't see the problem on another Mac running Sierra (and Safari 11.0.1). This was also confirmed by a colleague running Sierra on his Mac -- he doesn't see the huge delete (X) icon. Purging the browser cache on my Mac running Yosemite didn't help. So perhaps this is an issue with Safari 10.1.2 -- at least, that's our working theory. Thanks again.... Brian
  • Picture of Brian Warling
    Tue, 14 Nov 2017, 7:13 AM
    Mark -- I see the huge delete icon issue in 3.2.5 (Clean theme) when using Safari (on a Mac running Yosemite; Safari 10.1.2). But on the same Mac, using Safari, the delete icon is correctly sized on Moodle 3.3.3 (Clean theme). So I'm only seeing the problem on 3.2, not 3.3. -- Brian
  • Picture of Claudio Bartoloni
    Tue, 14 Nov 2017, 5:47 PM
    Hi Mark
    I'm using your valuable plugin in a moodle installation in italy using the italian language for my users.
    But in a course I need to produce a certificate in english and I have a problem with the issue date that is translated in italian.
    In other words all the certificate is written in english (using english texts) but the date is in italian and it looks very strange.
    Is it possible to customize the plugin specifying the date language?
    Thank you in advance
  • Picture of Marcos Almeida
    Thu, 16 Nov 2017, 5:26 AM
    Boa Noite Mark

    qual a possibilidade de incluir QRcode nesta nova versão assim como tinha na verão anterior??.... eu estava usando esta opção antes e senti falta nesta aqui que esta bem melhor!
  • Picture of Mark Nelson
    Thu, 16 Nov 2017, 2:48 PM
    Hi Brian - will have to check when I get home. I am running Linux at work, so no copy of safari to confirm. I still find the issue odd and suspect it may be something to do with your custom theme. Are you able to check the DOM via the browser and see what CSS rule (if any) is making it appear so large?

    Claudio - Currently the date's language defaults to whatever timezone is being set, so in your case it is most likely 'Europe/Rome'. This would be a bit tricky to fix. I have created to look into it.

    Marcos - I have created
  • Picture of Brian Warling
    Fri, 17 Nov 2017, 3:35 AM
    Mark -- I did test this on a new Moodle 3.2 install (doesn't include our custom theme), and saw the same result -- huge delete icon when using a Mac running Yosemite (Safari 10.1.2). On the same Mac running a new Moodle 3.3 install, the delete icon is sized correctly.

    In Moodle 3.2 (huge icon in Yosemite/Safari), I see this:

    img class="smallicon" alt="Delete" title="Delete" src="http://xxxxxxx/moodle32/theme/image.php/clean/core/1510616534/i/delete"

    .action-icon img.smallicon {
    vertical-align: text-bottom;
    margin: 0 .3em

    (note that in Moodle 3.2, the icon is sized correctly in Boost, and in both Clean and Boost on Chrome and Firefox; the icon is correctly sized in all themes/browsers in macOS Sierra and High Sierra)

    In Moodle 3.3 (normal icon in Yosemite/Safari), I see this:

    img class="icon " alt="Delete" title="Delete" src="http://xxxxxxxx/moodle33/theme/image.php/clean/core/1510613464/i/delete"

    img.icon {
    height: 16px;
    vertical-align: text-bottom;
    width: 16px;
    padding-right: 6px

    I hope this helps. Let me know I can provide any more info. Thanks.. Brian
  • Picture of rkLearn .
    Wed, 22 Nov 2017, 7:40 AM
    Hi, Custom certificate is giving error when I edit an element. What could be the reason for this? Thanks
  • Picture of Mark Nelson
    Wed, 22 Nov 2017, 11:11 AM
    Hi rkLearn,

    I can't really tell without anymore information. Can you please turn on debugging and check what the errors are?
  • Picture of Mark Nelson
    Wed, 22 Nov 2017, 11:11 AM
    Hi Brian - keep forgetting to check this on my laptop. On my work machine (linux) atm.
1 2 3 4 5 6 7 8 9 10 11 12
Please login to post comments