Skip to content
Snippets Groups Projects
Forked from Extensions / Certificates
29 commits behind the upstream repository.
Matthew Wire's avatar
mattwire authored
f591255b
History

certificates

A framework for generating PDF certificates.

The extension is licensed under AGPL-3.0.

Installation

Learn more about installing CiviCRM extensions in the CiviCRM Sysadmin Guide.

Getting Started

Event certificates

Configuration

Administer->System Settings->certificates Settings:

  • Event Attendance Certificate Message Template Id: Set to the ID of a message template that you have setup as a template for the event attendance certificate.

Usage

Embed the URL with parameters somewhere (eg. via a button on a searchkit):

civicrm/certificates/attendance/pdf

Parameters (required):

  • cid: Contact ID
  • pid: Participant ID

Example: https://example.org/civicrm/certificates/attendance/pdf?cid=123&pid=456

Activity certificates

Configuration

Administer->System Settings->certificates Settings:

  • List of activity types that are certificates: Specify a list of activitytypes mapped to message templates eg.:
  58:70
  12:68

This would mean: Activity type ID 58 should use message template ID 70 to generate a certificate. Activity type ID 12 should use message template ID 68 to generate a certificate.

Usage

Embed the URL with parameters somewhere (eg. via a button on a searchkit):

civicrm/certificates/activity/pdf

Parameters (required):

  • cid: Contact ID
  • aid: Activity ID

Example: https://example.org/civicrm/certificates/activity/pdf?cid=123&aid=456