22 posts / 0 new
Last post
BD
Offline
Last seen: 3 years 3 months ago
Joined: 01/09/2016
How to Create a Certificate?

Hi Everyone,

Hope all are doing well! I am recently new to Opigno, and I wanted to reach out to see if anyone would be able to help provide me with more detailed instructions on creating Certificates for my various courses. I am able to go to Content then Create Certificate. Once I do that, I get the Create Certificate Page where I am asked to put in the Title, the Orientation, and then I have a Body Typing Area with a list of Tokens above that. What do I need to do from this point? I am trying to generate a standard certificate with the Date of Course Completion, the Student's Name, the Business Name and Logo, and the number of credits earned for that course taken. I have a sample certificate in Word/PDF that I would like the certificates to look like, but I have no idea how to go about designing the certificate within Opigno at this point. I realize that this may be a Novice question, but I feel that a lot of the guides out there that talk about using Drupal Modules and Apps give very little instruction and somewhat assume that everyone is an expert at Drupal, LOL. Any help would be appreciated! Thanks!

axel
Offline
Last seen: 4 hours 43 min ago
Staff
Joined: 09/25/2013
Hi

Hi

You were at the right place to create a certificate (you can also go to the administration area  and then click on the "Add certificate" link)

You need to enter a title, choose the orientation and fill-in the body.

The body is what is used to generate the certificate. Tokens are useful to dynamicall insert some values at certificate generation, like the course name or the student's name.

For example for the student name you should use [user:name], for the date when the certificate was granted [node:certificate_granted_node]

Feel free to post on this forum if you need additional help

Best regards,

BD
Offline
Last seen: 3 years 3 months ago
Joined: 01/09/2016
Hi Axel,

Hi Axel,

Sorry for the delay in responding back! Didn't get a chance to check the forum until now. Thank you so much for the feedback! I really do appreciate it! Okay, I tried playing around with inserting different things into the Body area, and I think I have it all figured out. The only issue is that, when I click on a Token to insert it into the body area, I get the message of "First, click on text field to insert your token into." I thought that the body area is a text field, since I am able to type into it. Do I have to create a special text field to be able to insert the tokens by clicking on them? I can copy/paste the tokens or type them out manually, but it just seems like it would be much easier to click and insert them. Thanks!

alias123456
Offline
Last seen: 2 years 5 months ago
Joined: 02/09/2016
Certificates for exams.

Dear, I want to create a certificate for a standalone exam. is it possible and if it is, how would i implement it.

I want to assign a certificate to an exam content type instead of course content type.

alias123456
Offline
Last seen: 2 years 5 months ago
Joined: 02/09/2016
Certificate Trigger

Another question is what triggers certificates. How should i say whether this user takes the certificate or not. whether he should take the certificate by passing the exam or other triggers.

axel
Offline
Last seen: 4 hours 43 min ago
Staff
Joined: 09/25/2013
Hi

Hi

You need to disable rich text for the editor before clicking on the token to be inserted.

Then it should be working

Best regards,

BD
Offline
Last seen: 3 years 3 months ago
Joined: 01/09/2016
Certificate Design Problems

Hi Axel and All Users,

I posted a few months ago about help with generating a certificate, and it looks like I require a bit more assistance. I was able to design my certificate on the Create Certificate page, and it looks really nice and is formatted the way I want it to look. However, when a course is completed and the PDF Certificate is generated, I have the following issues. 1. The formatting is not maintained in terms of word spacing and alignments, 2. Any tokens that I have entered simply come up as the token on the certificate, and the information that the token points to is not inserted automatically into the certificate, and 3. Any images I have added to the certificate design do not appear.

I am a bit frustrated, as it does not seem that it should be a difficult task to design the certificate. All I want is a certificate that shows the name of the person, the date the course was taken, and the name of the course, the business logo, and the authorized signatures on the bottom of the certificate. I am wondering if someone has a sample certificate template that they would be willing to share with me? Any help would be appreciated, as I have spent a great bit of time trying to figure out what to do in order to fix the certificate. I would also be willing to share a screenshot of what my designed certificate looks like and what the generated PDF certificate appears as to help show exactly what is happening. Thanks so much !!

axel
Offline
Last seen: 4 hours 43 min ago
Staff
Joined: 09/25/2013
Hi,

Hi,

I just tested on a fresh Opigno installation and it works fine for all the points you mention: displaying images, using tokens for student name, course name, date.

Does it work correctly on your platform with the default course certificate provided with Opigno?

Which Opigno version are you using by the way?

Something should be going wrong on your platform, you should check if you have error messages, if the file system permissions are correct, etc.

If you want you can also post on this forum the HTML code used for your certificate, so that we can check it.

Best regards,

BD
Offline
Last seen: 3 years 3 months ago
Joined: 01/09/2016
Hi Axel,

Hi Axel,

Thanks so much for responding quickly and working to help me resolve this issue. First off, I am using the latest Opigno 1.21. For the tokens, I think my issue was that I was not using the right tokens, so the information was not being populated into the certificate. I was able to figure out which tokens to use for the Student Name and Date, but what token would I use to populate the name of the course into the certificate? For the formatting issues, what I did to resolve that was I changed the spacing and kept generating a PDF certificate until the spacing looked correct in the PDF form of the Certificate.

So this just leaves the issue of the images. The error that I am getting in the PDF certificate in place of the images is "Image Not Found" and then it has a web link to the image right underneath the message where the image was supposed to be. After reading your response, I went in to my web hosting file manager and made sure that the permissions were set for the folder that contained the images I wanted to add. To test, what I did was I created a new sample certificate using one of the templates from the CKeditor toolbar. I do not see a Certificate Template, but I see templates like Matrix 2x2 or Table or Two Columns, etc. I selected the Matrix Template and it generated a standard Opigno Matrix with the Opigno lms image. I saved that as a new certificated, and the saved version of the certificate comes up correctly in the preview. However, I added that standard certificate to one of the courses, and when I generated the PDF, I still received the same error. I even went in and copied the images to the same folder as where the template image is located (/profiles/opigno_lms/modules/opigno/opigno_wt_app/img/) and the PDF Certificate still did not display the images.

axel
Offline
Last seen: 4 hours 43 min ago
Staff
Joined: 09/25/2013
Hi,

Hi,

The token for course title is: [node:title]

I did a test with the same templates as you and the images are rendered in the PDF (i kept the default image, that is the Opigno logo).

You should double-check all your folders permissions.

BD
Offline
Last seen: 3 years 3 months ago
Joined: 01/09/2016
Hi Axel,

Hi Axel,

Sorry for the delay in responding. I finally got back to troubleshooting this, and I eventually figured out what the problem was. I was not looking in the right place for permissions. I was thinking folder and directory permissions, but it was actually the permissions settings for the PDF module itself. When I went under Modules and clicked on PDF Module, there was an option that was deselected to prevent the PDF Printer from accessing site images. I checked that, and everything worked as it should. I do have two more quick troubleshooting questions, but I will ask them in a new thread since they are not related to this issue. Thanks so much for all of your help and assistance!

Jonathan Siviter
Offline
Last seen: 2 years 10 months ago
Joined: 06/30/2016
Certificate Design Problems

Hi Axel, I am new to Opigno as well and have found the above all very useful. Thank you both! Is there a token for the score at the end of the course? Thanks

Christinelle
Offline
Last seen: 3 months 2 weeks ago
Joined: 10/14/2016
Certificate Design Problems

Hi Jonathan,

I am looking for the token for the score too... Did you find an issue ? Thanks

patoregon
Offline
Last seen: 6 months 3 days ago
Joined: 04/08/2016
images in certificates

I've struggled with adding an image to a certificate, and finally have a process that works for me. I'd be happy to know there is a better way... First, I followed this advice: 'When I went under Modules and clicked on PDF Module, there was an option that was deselected to prevent the PDF Printer from accessing site images. I checked that, and everything worked as it should.' That didn't solve my issue. Next, I cloned the Opigno course certificate. I uploaded my images to the same folder as the Opigno image. Then I adjusted the html code for the Opigno image as needed (height, width, image name). I finally have an image on the PDF certificate. It isn't a background image, which I had hoped to create, but I can live with this. A sample certificate with a background image would be really helpful. By the way, I unchecked the "Access images via local file access" on the pdf page, and that did not seem to make a difference.

amanda.hinman
Offline
Last seen: 1 year 8 months ago
Joined: 07/27/2016
Background Image on Certificate

How do you add a background image to a certificate. I have the image uploaded on the server and can add it to a certificate but it will not show as a background. HTML code on other systems works. Please help.

amani
Offline
Last seen: 1 year 7 months ago
Joined: 12/14/2017
Hello Axel

Hello Axel Kindly Assist me on how to create a certificate in the course (Step by step) I am using Opigno LMS. I will appreciate a lot. Thank you

amani
Offline
Last seen: 1 year 7 months ago
Joined: 12/14/2017
Certificate

Anyone please assist with certificate creation step by step

Hugh Daniel
Certificate Creation

Amani, you should check out the documentation from the main Opigno.org website / downloads / documentation / Certificates / Manage certificate templates.

For me, the easiest was to first create a new template following the instructions, then view the source for the default templates, cut and paste into the new one, then tweak it by editing the source code and adding graphics in the new one, just as if you were hand coding a web page. Then test it out by viewing. It really is like creating a web page that will be converted to a PDF and if you take that approach, you should be able to create a new template, either for a class or a course.

amani
Offline
Last seen: 1 year 7 months ago
Joined: 12/14/2017
Certificate Creation

Hugh Daniel, Thank you so much, I have just done that and it works,...how do you link the certificate to the course ? Because I can't see the button that says download your certificate. Do I have to set new rules? Thank you again for support

Hugh Daniel
If on the Opigno website, you

If on the Opigno website, you click on Download / User Manual / Pages / Certificates / Link a certificate to a class or course, it details out how to link a certificate to a course or a class.

BTW, if you are wanting to add borders to the certificate, the WYSIWYG editor does not work well with tables to create the borders, nor does the PDF generator seem to take a background image. But if you use divs and absolute placement, you can create pretty snazzy borders if you get a border image, then slice it up to fit in top, side and bottom divs, with the certificate content in a middle div.

admin
Offline
Last seen: 1 day 22 hours ago
Staff
Joined: 09/07/2012
Hi Daniel,

Hi Daniel,

Yes, tables are a known issue with the dompdf library.

At the end of the installation, you might have seen our recommendation to install wkhtmltopdf if you want to create more complex certificates. Installation is server dependent, hence why it does not come by default.

Best regards

ronaldo
Offline
Last seen: 1 day 23 hours ago
Joined: 06/19/2019
time based expiring certifications

Will you add to your roadmap?... opigno allowing for time-based expiring certifications? So, if someone is required to take a course every year, the course can be set to repeat to the user every year so they can update their certificate. Thank you.