Customizing Email Template
EasySocial allows you to create custom email template overrides in your Joomla template. This is ideal when you need to customize the theme files but do not want the updates to override your existing changes. There are 2 parts of this guide:
- Overriding Default Email Template.
- Overriding Email Item Template.
NOTE: In major version updates, you need to ensure that your customized file is up to date.
Overriding Default Email Template
The default email template (
template.php) is included in the
wireframe theme of EasySocial. This default email template also being used by all email item in EasySocial. It can be accessed at this path:
To create an override for default email template, you'll need to have the following folder in your site. Assuming your current Joomla template is Protostar, you'll need to create
html/com_easysocial/emails/html/ and paste the override version of
template.php there. The final path of the override file should be like this:
Overriding Email Item Template
There are several email item templates available in EasySocial. You can find it at this path:
Here, we'll provide you a guide to create an override for Approved Event email item. Assuming your current Joomla template is Protostar, you'll need to create
html/com_easysocial/emails/html/event/ and paste the override version of
approved.php there. The final path of the override file should able like this:
If you wish to create override template for other email item, you can follow the guide above. Rest assure that EasySocial will pick up the override template file over the existing template.
NOTE: In a case where your override template file doesn't get pick up, you should check for the path of the override template file with the provided path above.