By IBS Software on Wednesday, 01 March 2017
Posted in General
Replies 5
Likes 0
Views 148
Votes 0
Hi,

Is it possible to override email template for a new blog notification to our subscriber?

I need to insert post cover image in email template for new blog notification to our subscriber

For ex: http://blog.ibsplc.com/innovation/blockchain-how-to-explain-it-to-a-10-year-old

I need to call our post cover image in the email.

Can you guys please help me to brand the email with our logo and post cover image.

Thanks
Arun
Hi there,

You can replaced attached file on this path .../components/com_easyblog/themes/wireframe/emails/html/post.new.php. But this fixes will be overwrite when on your next update/upgrade. By the way, in case you required this on next version, you can do email template override on this file, by replace attached file to this path /templates/*current_template/html/com_easyblog/emails/html/post.new.php

Note:
You have to place you logo image on this path JoomlaFolder/media/com_easyblog/images/logo.png and named your logo to "logo.png".

Please give it a try and see how it goes.
·
Wednesday, 01 March 2017 19:03
·
0 Likes
·
0 Votes
·
0 Comments
·
For testing purpose, How can i test the override email to a single person?


Thanks
Arun
·
Wednesday, 01 March 2017 19:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

You can go to Backend>Components>EasyBlog>Settings>Notifications>General and Blogs. At General view, you have to disable 'Send emails on page load' and at Blogs view, disable everything except, this option 'Notify admin on new entries'. Then go to Backend>Components>EasyBlog>Mail Activities. Please give it a try and see how it goes
·
Wednesday, 01 March 2017 20:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

I need to insert my blog image as well in the email. I mean the post cover. Is it Possible

Thanks
Arun
·
Friday, 03 March 2017 12:36
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arun,

I have included you above both email icons and photo cover. Below are those code i included.

For email logo
<img src="<?php echo JURI::root();?>/media/com_easyblog/images/logo.png" width="60" height="60" /><br>

For blog's cover photo, maybe you can adjust it styling
<img src="<?php echo $blogCover;?>" width="60" height="60" />


Please advice.
·
Friday, 03 March 2017 12:52
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post