Learndot automatically sends emails to both staff as well as customers, participants, and other parties involved in your business. Administrators may like to configure and customize email templates. In this tutorial we will explain on updating email templates, overriding default templates, and related system settings in learndot.
Updating Email Templates
The templates are fully customizable via Settings in the Learndot Admin.
To figure out which template to update, here's the naming convention:
All email templates start with email.template, so you can search just for that via Search box.
All templates have a <module> that will give you a good idea when it's being used.
<extension> is one of the following:
subject - simply the email subject
body.txt - text version of the email body
body.html - HTML version of the email body
So, for example, if you want to change email that is sent to participants when they register, you'd edit:
email.template.registration_info.subject to change the subject of that email email.template.registration_info.body.html to set the HTML version of email body email.template.registration_info.body.text to set text version of email body
The email body is composed using FreeMarker, an open source templeting engine which should be easy to figure out.
Overriding Default Email Templates
When overriding default email templates using system settings, a restart of the server will be required in order for the new templates to be applied.
Email Related System Settings
Here is a explanation of our current email templates and their triggers:
Sent to affiliate when an end-user that came from the affiliate's site does something that is considered a conversion (e.g. registers for a class)
Sent to affiliate after they register for the first time
Sent to staff members with enabled Affiliate Registration notification when an affiliate registers
Sent to contacts manually (along with a custom subject and message) by staff members. The contacts are explicitly selected from contact lists (e.g. contact search, expert search, registration search, etc.)
Sent to experts (instructors) after they register for the first time
Sent to staff members with enabled Expert Registration notification when an expert registers
Sent to all users subscribed to a particular forum topic (i.e. when a new reply is added)
Sent to all users subscribed to a particular forum (i.e. when a new topic is created)
Sent to a regular user after they register for the first time
Sent to staff members with enabled Member Registration notification when a member registers
Sent to customer after they purchase a product that is downloadable (as opposed to shippable)
Sent to customer after they make a product purchase (contains the summary of their entire order)
Sent to staff members with enabled Product Order notification when somebody purchases one or more products
Sent to customer of a product order (inc. additional bcc addresses) after a staff member explicitly requests this email to be sent along with their optional and custom message (contains the summary of their entire order)
Sent to a provider after they register for the first time
Sent to staff members with enabled Provider Registration notification when a provider registers
Sent to a participant of a particular class when they (or somebody else) registers; a separate email is sent for each registration in a given order
Sent to customer after they submit a registration order (contains the summary of their entire order)
Sent to staff members with enabled Registration Order notification when somebody registers for one or more classes
Sent to customer of a registration order (inc. additional bcc addresses) after a staff member explicitly requests this email to be sent along with their optional and custom message (contains the summary of their entire order)
Sent to staff members with enabled Request for Class notification when a potential customer requests a class
Sent to staff members with enabled Expert Registration notification when a customer submits an RFC (inquiry request)
Sent to staff members with enabled Request for Quote notification when a potential customer requests a quote for an onsite delivery
Sent to staff members with enabled Request for Talent notification when a potential customer submits a request for talent
Sent to the end user who requests their password to be reset