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:
34 sites
98 downloads
2 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

Amosar os comentarios
  • Plugins bot
    mér., 28 de maio de 2025, 4:30 AM
    Approval issue created: CONTRIB-9936
  • Gabriel Richard
    mér., 28 de xan. de 2026, 1:30 AM
    Boa tarde Vanderson.
    Tentei instalar ele direto pelo site e após a validação e instalação ele abre uma aba de novas configurações do banco de dados, LDAP e shibboleth e não passa.
    Alguma sugestão ? Estamos usando o moodle 5.1
  • Vanderson Farias
    ven., 30 de xan. de 2026, 3:37 AM
    Possivelmente algum outro plugin que esteja utilizando não seja compatível com a versão do moodle.
Please login to post comments