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:
45 sites
91 downloads
3 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

Show comments
  • Plugins bot
    Wed, 28 May 2025, 4:30 AM
    Approval issue created: CONTRIB-9936
  • Gabriel Richard
    Wed, 28 Jan 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
    Fri, 30 Jan 2026, 3:37 AM
    Possivelmente algum outro plugin que esteja utilizando não seja compatível com a versão do moodle.
  • Irlanilson Irlan
    Tue, 10 Mar 2026, 8:38 PM
    Bom dia Vanderson, gostaria de saber como faço para exibir no texto do certificado a nota do aluno no curso e a data atual utilizando o pluggin.
  • Irlanilson Irlan
    Wed, 11 Mar 2026, 1:42 AM
    Só complementando a pergunta, gostaria de saber se tem como exibir a nota concatenada com o texto, exemplo: "Fulano concluiu o curso com a nota {course:grade}", eu tentei com dessa forma descrita mas o plugin não reconhece essa anotação aí.
  • Vanderson Farias
    Wed, 11 Mar 2026, 8:09 PM
    Ainda não, nessa versão, o plugin só trabalha com user e dados básicos do curso (nome e campos personalizados).
  • Irlanilson Irlan
    Wed, 11 Mar 2026, 8:48 PM
    Entendi, obrigado.
Please login to post comments