Offer certificates
To automatically generate a certificate and display it to the learner, proceed as follows:
- Open the course editor and navigate to the desired course element. To receive a certificate for the entire course, go to the top course node.
- In the selected element, switch to the tab Assessment.
- Enable the option Use certificates.
- Choose the desired certificate template from the selection list Template for certificates. Apart from the example template, you can also use individually created templates. The latter will appear at the top of the selection list.
- If you activate the option Display certificates only for tutors, the PDF files of the certificates will only be accessible via the assessment tool. A simple user has no access to this area and can thus not view, print, or download their certificate.
Please note that the template, which was chosen in step 4, is used for all certificates that are newly acquired after the publication of this modification. However, users will also receive a new certificate if they improve on their original result. The template will not affect existing certificates. This also applies if you exchange the template. It will only be used for new certificates.
Use individual certificate templates
Individual course templates must be saved to the storage folder of the course and linked to the respective course element. First open the course and switch to the course editor. Then select the entry Storage folder from the editor tools menu. Choose one of the following options according to your certificate template:
- One or more certificate files with any name:
- First, create a new folder in the course storage folder with the exact title certificate_templates.
- Second, copy all HTML templates as well as images and CSS files referenced in these templates to the folder certificate_templates.
Third, close the storage folder.
Tip
Use the following example template file to test the function: certificate_templates.zip.
Upload this file to the storage folder in the course editor and unzip it. Take a look at the examples included in the folder certificate_templates and edit them if necessary. The certificate templates will then be available under Use certificates in the Assessment tab of the course or course element.
- A single template with the specified file name certificatetemplate.html (all letters in lowercase):
- Upload the HTML file with the specified file name to the course storage folder or the assigned resource folder of the course.
- All images and CSS files referenced in the template must also be copied to the course storage folder / resource folder as well.
- Close the storage folder.
When configuring the course element in the tab Assessment, select exactly this template from the list Template for certificates.
Placeholder
When preparing the certificate template, you can use different placeholders in the HTML file depending on the configuration of the learning platform. In the certificate of the respective user, the placeholders will then be filled with the corresponding data of the course or user.
Such a certificate template can, for example, directly be created and designed in the course storage folder using the built-in HTML editor. If you have created and uploaded a certificate template with an external editor, the system will warn against possible loss of information when editing the template with the integrated editor.
Course element ID
For some of the placeholders, you will need the individual course element ID. The IDs can be found in the course editor of the respective course element in the tab Title and description in the form of a number combination in the bottom right corner (e.g. ID: 94862470524389). Just replace the number combination with the one in the table using: ### indicated signs (e.g.: %%MARK:94862470524457%%).
Placeholder | Value |
---|---|
%%COURSE_TITLE%% | Title of the course for which the certificate is issued |
%%COURSENODE_TITLE%% | Title of the course element for which the certificate is issued |
%%CERTIFICATE_DATE%% | Date on which the performance results were achieved. The formatting of the placeholder is based on the language selected by the user. It can be adjusted with the following options: |
%%GRADE%% | Display of grades as text |
%%MARK%% | Mark for the entire course |
%%MARK:###%% | Mark for the course element with the ID ### (the course must be assessable) |
%%ROOT_NODE_SHORT_TITLE%% | Short title from the course root node |
%%ROOT_NODE_TITLE%% | Title from the course root node |
%%METADATA:moduleduration%% | Course metadata: Duration of the module |
%%METADATA:moduleects%% | Course metadata: ECTS |
%%METADATA:moduleexam%% | Course metadata: Exams |
%%METADATA:modulelevel%% | Course metadata: Level |
%%METADATA:modulelink%% | Course metadata: Link to the module |
%%METADATA:modulemethods%% | Course metadata: Teaching and learning methods |
%%METADATA:modulename%% | Course metadata: Name of the module |
%%METADATA:modulenumber%% | Course metadata: Module number |
%%METADATA:moduleresponsible%% | Course metadata: Person responsible for further education |
%%METADATA:moduleversion%% | Course metadata: Version |
%%METADATA:moduleworkloadpresence%% | Course metadata: Attendance time |
%%METADATA:moduleworkloadprivate%% | Course metadata: Private study time |
%%METADATA:moduleworkloadtotal%% | Course metadata: Total workload |
%%PASSED%% | Displays "Bestanden" or "Passed" in the certificate, depending on the configured user language at the time of passing |
%%PROPERTY:birthDay%% | Date of birth with the following options:
|
%%PROPERTY:email%% | Email address |
%%PROPERTY:firstName%% | First name |
%%PROPERTY:institutionalName%% | Institution |
%%PROPERTY:lastName%% | Last name |
%%PROPERTY:orgUnit%% | Organisation unit |
%%SALUTATION:LANG=de%% | Salutation (German) |
%%SALUTATION:LANG=en%% | Salutation (English) |
%%SCORE%% | Score for the entire course |
%%SCORE:###%% | Score for the course element with the ID ### (the course must be assessable) |
%%OUTCOME:[variable name]:###%% | Output value of an ONYX test |
%%SEMESTER%% | Semester |
%%USERNAME%% | First and last name of the person who obtains the certificate as proof of performance. |
%%VALIDTO_DATE%% | Expiration date of the certificate (system-dependent metadata) |