By Giulia Magnesa on Thursday, 10 November 2016
Posted in General Issues
Likes 0
Views 354
Votes 0
Hi
I'm upgrading our blog in the latest version of EasyBlog.
My question reagards the new blog post notification mail:
In the old EasyBlog version this email was unattractive, I'm wondering if in the latest version the email layout is better and how can I customize it

Thank you
Giulia
Hi Giulia Magnesa,

We did some improvement in the email layout in our latest version of EasyBlog where it looks more clean compare to the older version.
Yes you can do modification of the email template by refer to this documentation: https://stackideas.com/docs/easyblog/administrators/customizations/overrides-email-templates
·
Thursday, 10 November 2016 19:57
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi
Thank you
But as I cannot text actually the email and I don't know how to see the actual template?
Do you have a screen shot? just to see how it appears

I'm not a pho expert but I would like to add the cover image in the email notification
Is it possible?

Thank you
·
Thursday, 10 November 2016 23:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Giulia,

You can actually preview it by accessing the E-mail activities at the back end of EasyBlog
·
Thursday, 10 November 2016 23:44
·
0 Likes
·
0 Votes
·
0 Comments
·
ok I have seen it.
Is it possible to add the cover page of blog post?
·
Friday, 11 November 2016 17:21
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Giulia,

Correct me if I'm wrong, do you mean you want to add cover image from blog post into the email template?
If yes, you can echo $blogCover in the email template
·
Friday, 11 November 2016 20:27
·
0 Likes
·
0 Votes
·
0 Comments
·
yes exactly
But where I have to insert the code? before echo $content?

<tbody>
<?php echo $ $blogCover; ?>

<?php echo $contents; ?>


Sorry I'm not an expert of php
·
Friday, 11 November 2016 21:28
·
0 Likes
·
0 Votes
·
0 Comments
·
hey there,

I think you are looking for the wrong file (JomlaFolder/components/com_easyblog/themes/wireframe/emails/html/template.php) because this file is contain the email template like email header, email content, and email footer.

If you would like to add each new blog post cover in email content, you have to add in this file ->
JoomlaFolder/components/com_easyblog/themes/wireframe/emails/html/post.new.php
·
Saturday, 12 November 2016 01:37
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi
Thank you for your help . I have modified the suggested file but I have 2 questions:
In the email preview I cannot see the image but only the link to the image. Is it possible to show the image? and how I can be sure it will be resized for an email format?

Second question: I would avoid to lose this customization if I update Easy blog component at future new version. Is it possible to maintain my customization?
·
Monday, 14 November 2016 21:50
·
0 Likes
·
0 Votes
·
0 Comments
·

In the email preview I cannot see the image but only the link to the image. Is it possible to show the image? and how I can be sure it will be resized for an email format?

Not really sure what you mean here. Can you please elaborate more on this please?


$text = str_ireplace($urlTags[$i], '<a href="' . $url . '"' . $targetBlank . $noFollow .'>' . $titles[ $i ] . '</a>', $text);

We have already documented this under https://stackideas.com/docs/easyblog/administrators/customizations/overrides-email-templates , you can refer to this guide on how you can create template overrides.
·
Monday, 14 November 2016 23:37
·
0 Likes
·
0 Votes
·
0 Comments
·
In my first question:
When I open the email preview in EasyBlog I see the enclosed image (sorry I have forgotten to upload it before).

As you can see in the preview there isn't any image but only the url of image. So i'm not sure if and how it works.

Hope it is clear now

Thank you
·
Tuesday, 15 November 2016 00:05
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Giulia,

I think you've echo it wrongly, in order to make the cover get render you need to echo you must use the <img src= /> tag. For example:

<img src="<?php echo $blogCover;?>" width="60" height="60" style="border-radius: 100%; display: inline-block;" />

Where you can change the styling as you prefer
·
Tuesday, 15 November 2016 10:18
·
0 Likes
·
0 Votes
·
0 Comments
·
ok done
but I don't like the image in a circle (see the enclosed image)
How I can insert as a rectangle?
·
Tuesday, 15 November 2016 17:57
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Giulia Magnesa,

We cannot help much on this where this is fall under customization as stated in our support policy it is beyond our support scope's http://stackideas.com/support . However you can try this code :

<img src="<?php echo $blogCover;?>" width="600" height="76.8" display: inline-block;" />


For more information how to styling the image you can refer this : http://www.w3schools.com/css/css3_images.asp

Having said that, if you require us to perform the customization for you, you can always request for a quote from us at https://crm.stackideas.com and select "Customizations" . Our sales person would be glad to send you a quote for the customizations that you have requested.
·
Tuesday, 15 November 2016 18:47
·
0 Likes
·
0 Votes
·
0 Comments
·
ok I have set a different size and it seems to work
I will try to apply it to my template
·
Wednesday, 16 November 2016 15:57
·
0 Likes
·
0 Votes
·
0 Comments
·
Great! Please give it a try
·
Wednesday, 16 November 2016 16:06
·
0 Likes
·
0 Votes
·
0 Comments
·
The override works too

Thank you
·
Wednesday, 16 November 2016 22:32
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome. Glad to hear that your issue has been resolved now.

As a gentle reminder, kindly start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiry. I will lock and mark this thread as resolved.

Have a nice day ahead
·
Thursday, 17 November 2016 10:04
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post