By William Matson on Tuesday, 31 March 2015
Posted in General Issues
Replies 7
Likes 0
Views 727
Votes 0
Hello --

I need to add our logo to the email notifications. I followed the instructions as described in this posting:

http://stackideas.com/forums/company-logo-in-email-template
<div style="margin:10px auto;text-align:center;display:block">
<img src="/<?php echo rtrim( JURI::root() , '/' );?>/components/com_easydiscuss/themes/simplistic/images/img.png" alt="" />
</div>

I added this code to the "/components/com_easydiscuss/themes/default/email.template.html.php"
template. I changed the image name. I placed the code under the <body style="margin:0;padding:0"> line

The logo image does not display, although the "alt" tag text is visible.

Guidance is appreciated.
Hi William,

Thanks for updating us back. You can remove the Intekex word appears on the right by removing:
<b style="font-family:Arial;font-size:17px;font-weight:bold;color:#333;display:inline-block;"><?php echo $emailTitle;?></b>


About the code, I am really sorry for the inconvenience caused. I will update it.
Have a nice day.
·
Tuesday, 31 March 2015 13:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi William,

I am sorry for the late reply.
I can't understand you well, "The logo image does not display, although the "alt" tag text is visible." Can you please provide us with any screenshot of your issue so that we can understand you better. By the way, you can use, /components/com_easydiscuss/themes/simplistic/emails/email.template.html.php to customize email template.

Can you kindly provide us with backend access and FTP access as well so that we can assist you much quicker on this issue.

Please advise.
·
Tuesday, 31 March 2015 11:12
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Mohd --
I already modified "/components/com_easydiscuss/themes/simplistic/emails/email.template.html.php"
as directed in http://stackideas.com/forums/company-logo-in-email-template
It did not work. That is why I am requesting support.

See attached screenshot and Site Details

Thanks for your help
·
Tuesday, 31 March 2015 11:57
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi William,

I have checked your email template and it seems like you have "/" infront of the image tag. I have helped you remove this and now the image should display correctly. On your second inquiry, I believe you have wrongly put the image tag location. You should put the image tag in the <td>. Here is my screenshot: http://screencast.com/t/STYpcxYTE9Y .

Hope this helps.
·
Tuesday, 31 March 2015 12:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mohd --
The Logo image displays nicely, but the company title ("Interkex") also displays. I need to remove or hide the word "Interkex" that appears on the right side of the image. Please see attached screenshot

As for the earlier problem:
The "/" is shown in
http://stackideas.com/forums/company-logo-in-email-template

I simply copied it. You may wish to update that posting.
·
Tuesday, 31 March 2015 12:51
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you. That worked.
·
Tuesday, 31 March 2015 13:37
·
0 Likes
·
0 Votes
·
0 Comments
·
HI William,

Thanks for updating us back.

Have a nice day.
·
Tuesday, 31 March 2015 14:39
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post