Skip to content

advanced customization of certificate templates #5927

Answered by rikukissa
manitra asked this question in Q&A
Discussion options

You must be logged in to vote

Hey Manitra! Unfortunately, currently, it is not possible to run completely arbitrary javascript on the certificate values. We have a few built-in Handlebars Helpers for internationalisation, if conditions, date formatting and fetching location details by id. However, these might not be sufficient for your use case. We acknowledge that custom formatting logic is a very common use case and are planning to support this in future releases.

Modifying core is never a good idea, but if you have no choice, I recommend you write your own Handlebars helper. We haven't yet designed how we could allow countries to add custom formatting to their certificates, but my hunch is that it would involve all…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@manitra
Comment options

@rikukissa
Comment options

Answer selected by manitra
Comment options

You must be logged in to vote
1 reply
@euanmillar
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants