Difference between revisions of "Email Templating"

From JReviews Documentation
Jump to: navigation, search
Line 1: Line 1:
JReviews uses both Joomla's and WordPress native mailing functions, so if you have a system that allows you to create your own email template in which to wrap emails, then that should work out of the box with JReviews.If you let us know which solution you are using that works for this, we can list it here as well.
+
JReviews uses both Joomla's and WordPress native mailing functions, so if you have a system that allows you to create your own email template in which to wrap emails that already works for you, there's no need to do anything else. Otherwise, if you want to specifically add a template for JReviews emails, continue reading.
  
 
If you want to add branding or wrap the JReviews emails specifically in your own template, you can customize the email layout theme files.
 
If you want to add branding or wrap the JReviews emails specifically in your own template, you can customize the email layout theme files.

Revision as of 14:18, 2 April 2020

JReviews uses both Joomla's and WordPress native mailing functions, so if you have a system that allows you to create your own email template in which to wrap emails that already works for you, there's no need to do anything else. Otherwise, if you want to specifically add a template for JReviews emails, continue reading.

If you want to add branding or wrap the JReviews emails specifically in your own template, you can customize the email layout theme files.

To use this feature, you just have to modify the following theme file (and place it in overrides in your custom theme):

In Joomla:

  • /components/com_jreviews/jreviews/views/themes/default/theme_layouts/email.thtml

In WordPress:

  • wp-content/plugins/jreviews/jreviews/views/themes/default/theme_layouts/email.thtml

If you are using EngageUsers, the Add-on has a separate email layout file found here:

In Joomla:

  • /components/com_jreviews_addons/engageusers/views/themes/engageusers/theme_layouts/engageusers_mail.thtml

In WordPress:

  • /wp-content/plugins/jreviews_addons/engageusers/views/themes/engageusers/theme_layouts/engageusers_mail.thtml