Text Replace

Certificate elements ::: customcertelement_textreplace
Maintained by Vanderson Farias
This is the text, allowing the use of variables that will be substituted in the text that will be displayed in the PDF.
Latest release:
7 sites
10 downloads
1 fans
Current versions available: 1

This is a custom certificate element that allows the use of dynamic variables within the text that will be displayed in the generated PDF.

You can include placeholders in the text, such as:

  • {user:firstname} — will be replaced by the user's first name.

  • {course:fullname} — will be replaced by the course's full name.

Other fields related to the user and the course can also be used in the same format.

This makes it easier to personalize certificates based on user and course data automatically.

Example:

Hello {user:firstname}, welcome to the course {course:fullname}.

→ Output:

Hello John, welcome to the course Introduction to Moodle.

Features:

  • Simple syntax for inserting variables.

  • Support for custom course fields.

  • Optional fallback text if the field is not available.

Maintainer: Vanderson Farias

Screenshots

Screenshot #0

Contributors

Vanderson Farias (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
Please login to post comments