By KT on Tuesday, 06 June 2017
Posted in Technical Issues
Replies 3
Likes 0
Views 448
Votes 0
Your latest adjustments to the template.php file for email is not compatible with mandril (mailchimp), elasticmail or sendgrid (all of which are dependent on Acymail) for email template overrides on joomla emails. The problem is your additional "Visually Hidden Preheader Text" which includes the extra (<?php echo $contents; ?>).

In all of these email sending systems, your ES emails are now sending out emails with double the ES content message, because they are seeing (<?php echo $contents; ?>) twice in the ES email template... and they do not understand the "Visually Hidden Preheader" statement.
Hey Andy,

Perhaps you can try download my attached file and replace into following file and see how it goes? Because our developer already found the solution for this.

JoomlaFolder/administrator/components/com_easysocial/includes/mailer/mailer.php
JoomlaFolder/components/com_easysocial/themes/wireframe/emails/template.php


Regarding the template override path for this email template, you should override in this following file location :
JoomlaFolder/templates/echo/html/com_easysocial/emails/template.php
·
Wednesday, 07 June 2017 10:13
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Andy,

Hm, this is odd because in the template.php, we have already specifically hidden this text. I think we'll need to find a better way to render a preview of the e-mail. Temporarily, you may remove the codes below from the template.php file

[gist]
<div style="display:none;font-size:1px;line-height:1px;max-height:0px;max-width:0px;opacity:0;overflow:hidden;mso-hide:all;font-family: sans-serif;">
<?php echo $contents; ?>
</div>
[/gist]

By the way, how does the e-mail output look like with those e-mail providers? Is it just splurging both the $contents in the mail contents?
·
Tuesday, 06 June 2017 04:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Mark. I'm a step ahead of you. I removed it and I'm in good shape now. One thing that is not working properly for me know, is the override of the template.php in my DOMAIN-NAME/template(Echo)/html/email/

I'm going to dig in to this further to see if it's on my end, or if the override is no longer working because of the latest ES update. I will let you know what I find out.

Thanks!
KT
·
Wednesday, 07 June 2017 01:09
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post