Templating

EasySocial comes with 3 themes for you to apply. Here, you will learn all about these themes, from enabling them to configuring them. Get creative!

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:

  1. Overriding Default Email Template.
  2. 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:

/components/com_easysocial/themes/wireframe/emails/html/template.php

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:

/templates/protostar/html/com_easysocial/emails/html/template.php


Overriding Email Item Template

There are several email item templates available in EasySocial. You can find it at this path:

/components/com_easysocial/themes/wireframe/emails/html/<Any Item>

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:

/templates/protostar/html/com_easysocial/emails/html/event/approved.php

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.