Customizing Completion Certificate

Customizing Completion Certificate

by Anthony Tony -
Number of replies: 3

Hello

I am trying to get  some feedback on the difficulty on modifying completion certificates for end of course completions in Moodle. We have been able to load in a signature but we wanted to do some more customizing to the certificate that will meet our needs better.

I have attached two certificates. The first is what is generated now, the second one is something we envision Moodle being able to generate that would better service our needs.

Does anyone know if this is something that can be accomplished? We are currently using version 2.5.7 and I am told that will change in a few months, possibly sooner if security issues continue,

Respectfully,

Tony Davidson

Attachment Finished Certificate.jpg
Attachment Modified Certificate.jpg
Average of ratings: -
In reply to Anthony Tony

Re: Customizing Completion Certificate

by Floyd Saner -

Tony,

Yes, you can customize the certificate.  I've created many highly customized certificates.  You need access to the Moodle files on your server, though.

The code that generates the certificate is located in <path_to_your_moodle>/mod/certificate/type/<type_you_are_using>/certificate.php.  I usually create a new folder in the type folder and add my customized certificate.php file there. 

If you don't have access to the Moodle code files, you might want to look at Simple Certificate.  You can do some customization in the setup section for that certificate.

Let me know if you need assistance.  Like I said, I've done many of these.

Floyd

Average of ratings: Useful (1)
In reply to Floyd Saner

Re: Customizing Completion Certificate

by Anthony Tony -

Floyd

Somehow I expected this to be the response, thank you! On the other side, I will say that having this confirmed is a bit frustrating. I do not have access to the place where this probably needs to be done as I am not a Moodle administrator,

I am an instructor for my college, we have two administrators whose entire function is to run Moodle. When I asked them if it would be possible to modify the completion certificate this was the response "Unfortunately, we are not able to add custom items to the certificate. The certificate settings you see in Moodle are the only items we can control. "

So then this makes me ask, what is the issue? 

If I had administrator rights I would definitely take you up on your offer of assistance.

So now the question is where do I go from here? More than likely I will be calling on the Moodle People to read this thread and see what happens.

Thanks Again Floyd,

Tony

 

In reply to Anthony Tony

Re: Customizing Completion Certificate

by Floyd Saner -

Anthony,

Somehow I expected this to be the response.  Note I'm using your same words for me reply to you! I wondered if you might use an external host that will not permit custom certificate code.  However, not all is lost.  There are still several approaches we can try.

  1. It might be worth the time to talk with your hosting service and explain what you want to do. I fully understand why a hosting service will not permit custom code.  It can really make a mess of things, and creates a host of maintenance issues. However, customizing certificate code is a bit different from customizing Moodle core code. I've had one Moodle Partner and two non-partner Moodle hosting companies install my custom certificate code. In each case however, the hosting company knew me and was familiar with my work. What I usually do is set up my own server (you can do that on your local computer) and then develop and fully debug the custom certificate.  I can then go to the hosting company and tell them I have a working certificate type and ask them to install it for me. Send me a personal message or email (fesaner@gmail.com) and let me know who is hosting Moodle for you.

  2. In recent versions of the Certificate, there is a settings page where you can upload some images (Border, Watermark, Signature, Seal): go to Site administration ... Plugins ... Activity modules ... Certificate ... Upload image. Your Moodle system admin can do this for you. The 'trick' you can use is that the Border image is overlaid on the entire certificate page. What you can do is create a jpeg image that has a border and the elements you want to add.  After this is uploaded it will appear an an option in your certificate Border settings. The difficult part is getting all the additional elements to line up properly.

    It looks like you selected Fancy1-black.jpg as the border for your certificate.  If you want to keep that, you can download that image and add your elements - be certain to rename the image file before you upload it. To get the image download the certificate plugin, unzip the file and go to folder certificate/pix/borders.  I would print the current certificate you have, then print the downloaded Fancy1-black.jpg image and be certain the two line up properly.  Then add your elements to the Fancy1-black.jpg image - keep comparing that to the current certificate image and be certain everything lines up.  When finished, be certain your modified image is renamed, upload that as described in the prior paragraph and select that as your border image in the certificate setup.

  3. The only other option is to see if your hosting service will install the Simple Certificate plugin.  Simple Certificate allows you to upload a background image and create the certificate text in the certificate settings page.  The main disadvantage is that the certificate image and text are not global settings - you have to copy or insert them into each course. Also, placement of individual certificate text elements is not as finely controlled as with the  Certificate plugin.

Keep me posted on how things progress.

Floyd