By Samuel Larsen on Wednesday, 28 May 2014
Posted in Technical Issues
Replies 9
Likes 0
Views 563
Votes 0
I am currently trying to edit the template EasyBlog uses when sending an automated Mailchimp campaign.
I would like to add the blog-image to the email. How do i do this?

Further more how do i change the subject line in the email?
Hello Samuel,

Yes you may include blog image in your email template. But you need to add some code in this file:
Dir:
\administrator\components\com_easyblog\tables\blog.php . Line 1117.
\components\com_easyblog\themes\default\email.blog.new.html.php Line 73.

You can change the email subject by editing this COM_EASYBLOG_NOTIFICATION_NEW_BLOG_POST in your language file or you can hardcode the subject in this file. \components\com_easyblog\themes\default\email.blog.new.html.php Line 18.

If you have anymore question, please don't hesitate to ask us.
Hope this will help.
Thanks.
·
Wednesday, 28 May 2014 19:26
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mohd.

Thank you very much

I have some problems with the output from mailchimp. Some HTML is being added to sent version.
This is the file i have uploaded (See attached)
And this is what i receive (See attached)

Do you have any idea why this happens?
·
Friday, 30 May 2014 15:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Samuel,

I am sorry but I can't open and see your attached files.
Can you zip them and attach back to us.

Please be advise.
Thanks.
·
Friday, 30 May 2014 16:33
·
0 Likes
·
0 Votes
·
0 Comments
·
Here you go
·
Friday, 30 May 2014 16:36
·
0 Likes
·
0 Votes
·
0 Comments
·
I tried making a new template, but the same thing happens

I have attached new code
·
Monday, 02 June 2014 18:41
·
0 Likes
·
0 Votes
·
0 Comments
·
Here
·
Monday, 02 June 2014 18:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Samuel,

I am really sorry for the delay of this reply, my colleague may have missed this thread earlier. Based on my understanding here, are you referring to those "footer" links? Those footer links are actually being generated by Mailchimp automatically and it actually not being added by EasyBlog
·
Monday, 02 June 2014 22:39
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark.

Not it is not the footer. Please compare the header of each document - then you will see what i mean.
·
Tuesday, 03 June 2014 15:38
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Samuel,

I am very sorry for the misunderstanding.

I have check your code and it seems like you have customize email.blog.new.html.php by adding <head> and <footer> to the template. If you compare to our original code, <head> and <footer> in email.blog.new.html.php is not included right? This is because it is later then combine with email.template.html.php which completed the email. That why you said earlier
Some HTML is being added to sent version
because of this. I am very sorry for the misunderstanding. Now the solution to this issue is, you can remove the head and footer in the email.blog.new.html.php and put it in email.template.html.php. Please give it a try and see if this issue is still persist?

I am sorry for the inconvenience caused earlier and Im looking forward to hear from you again.
Hope this will help.
Thanks.
·
Tuesday, 03 June 2014 16:14
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post