Introduction
This article will help you design and upload your own template using HTML.
Before you start
Creating custom templates yourself require some basic HTML skills! Your IT or Marketing team may be able to assist. In case you do not have such department, or you need more assistance, the Perfect Gym Support Team is at your service! Fill in a Non-Development Request where you describe your need and send it to the Support Team. Be advised it is a paid service.
Instruction
To look at your templates, go to PGM >Automation > E-Mail notification templates.
You can look at existing templates used by pressing the Edit button, or press Add Custom template to create a new template.
Press Source to get the HTML Source code for this
You can either copy/paste into an HTML editor such as https://html-cleaner.com/ or edit the HTML code here. Standard template is included
You can host images externally on your site, or on PerfectGym in PGM > Settings > FileStore and use the URL Link to use the images. As a general rule 600px wide images is ideal.
Codes in HTML
Allow Automation Centre to control the style
<div contenteditable="true" id="content" > </div>
Or use HTML to control the style (recommended)
<div id="content" style="font-size: 16px; padding: 30px 14px; color: #8594a1;" contenteditable="true"> </div>
Press Ok to save the template. You can have an unlimited number of template's, however the Automation Centre rule needs to have some text in it to run. (Even if it’s just Dear [[USER_FIRST_NAME]])
Testing
To test out an email template, go into any automation centre rule and change the template to the newly created template. You should be able to enter in text and it should appear where the tag <div contenteditable="true" id="content" > </div> is located.
IMPORTANT!
Please remember that when you create a custom template during adding automation rule also you need to add some text to this event.
If you only change the template with default text you will be not able to the save event because the system will show you this error "Content template for language 'ENG' is empty.
We recommend ending the template add the mark "." or you can put some text eg. "Thank you" or "Have a nice day"
The above image is a snap shot of view from an automation rule to incorporate tags.