Master Templates

In the Master Templates tab, you can find the default template for all PaaS emails with the corresponding logo, header, and footer.

default primary template

Choose the Default Master Template item to preview it within the right-hand section for all available languages or just for a specified one (use the corresponding drop-down list above).

Also, you can customize this master template and apply the changes to all emails:

Logo Customization

Each email contains the platform logo by default. It can be substituted with the hosting provider’s logo. If you want to customize it, navigate to the System Settings section and follow the next instructions:

1. Search for the HOSTER_EMAILS_LOGO parameter inside the jclient settings sections.

hoster email logo settings

2. Double-click the record to open the edit frame. Adjust the settings value by providing the required image URL, preferred width and height. For example:

1
{ 	"url": "https://res.[platformDomain]/images/logos/vz/Virtuozzo_logo_white_small.png", 	"width": "220", 	"height": "55" }

change hoster email logo setting

Click OK to proceed.

3. Don’t forget to Apply the changes by clicking the same-named button above the list.

apply system settings changes

If you wish to customize text within the master template, check the next section.

Text Customization

Follow the next steps to change the default texts of the master template.

1. Double-click the Default Master Template or select it and click the Edit button above.

master template edit button

2. In the opened Editor you can customize the master template based on your requirements.

primary template editor

Note: If you provide support of additional languages (except the default English one), you should choose the required Language using the drop-down menu at the top. The master template for each of the available languages should be edited separately.

You can edit the template directly in the opened window or update its HTML source using the appropriate email editor html button button.

3. Placeholders are a special type of variables, which are adjusted based on the particular email. For example, you can not provide user email within notifications explicitly (as it will be sent to all your customers and not just one), so you should add the ${USER_NAME} placeholder instead, which will be converted into the appropriate account email automatically.

The list of available Placeholders for the email notification is displayed in the same-named section to the left (hover over each particular item to view a short description). There are two kinds of placeholders:

  • Required - these are recommended by the platform for the current email
  • Common - other placeholders, which may be useful within the template

To add or change any placeholder, click the email editor placeholders button button in the editor tools menu at the top. Choose the needed placeholder using the list in the opened window and Submit your choice.

add placeholder in email editor

Most of the placeholders are defined in the System Settings > jclient section, which allows adjusting their values for all of the email templates at once.

4. To insert a link, select some text or placeholder and click the email editor links button button.

insert edit link in email editor

In the opened window, select the necessary link placeholder within the Link List field or paste the needed link to the Link URL field and click Insert.

5. Once all of the edits are done, Save the changes you’ve made.

rollback save buttons in email editor

If you want to revert any custom changes applied to the email template, you can Rollback to the default version.

Do not forget to publish emails, making changes available in production.

What’s next?