Is it possible to set background image on the email template?
I set table background with width:100% but I can only get bgcolor working
but not the background
Is it possible to set background image on the email template?
I set table background with width:100% but I can only get bgcolor working
but not the background
I am having same issue. Our company has got a very fancy email template that comes with our branded background image. can;t get it to work![]()
Last edited by jackquil36; 2010-04-02 at 06:20 AM.
I am also running into this issue. I've tried setting background using CSS inside a style tag, or as an attribute of a body or table tag. The image appears in the WYSIWYG window after updating the html source, but after I hit save the code for the background is wiped out. Is there a way to prevent Sugar from modifying my source code? Thanks for any help!
you should look at the forums at tinymce (the sugar WYSIWYG editor) ... it's the parameter file that controls the behaviours of the editor ... there are many, many variables ... sometimes in trying to help, it hinders![]()
Apache/2.2.3 (Debian) PHP/5.2.0-8+etch11 MySQL 5.0.32
SalesAgility.com - SugarCRM Experts (UK)
Authors of Advanced OpenSales - Open Source Quotations, Invoices, Products and Contracts modules for SugarCRM Community Edition - Download here
Thanks salesagility, I've done some reading up on TinyMCE. There are some config options, in include/javascript/tiny_mce/tiny_mce.js I've had some success with changing the "valid_elements" setting to "*[*]" and also using IE instead of Firefox. Pretty weird, but I've also read that the developers of TinyMCE believe in editing code to a certain standard, so some stripping some source content is inevitable with their product...unless somebody has more info on this. Here is an interesting thread that includes comment from their main developer: http://tinymce.moxiecode.com/punbb/v...ic.php?id=6431
Thanks!
Hi,
I've been trying to make an html email template but the design I'm basing it on requires a background image with some html text on top.
Each template offers complete flexibility—with just a click, add your logo, teasers, articles, links, promotions, coupons, and more. Not sure what to say? Every email template has suggestions on creating powerful.
The problem with email templates is that there are many markups and css that do not work, one of them is bg image that seems to work for yahoo mail.
Anyone know of a workaround?
This appears to be deeper than just tinymce as the background image is stripped out even when the template is added via a soap call.
I doubt that the soap function is running it through the editor... but I've seen crazier things....
Maybe I have an idea (it worked for me)l:
<table style="width: 362px; height: 109px; background-image: url(cache/upload/b901050d-294f-6336-dee1-4aadf5defca4.jpg);" border="1">
<tbody>
<tr style="background-image:url('cache/upload/b901050d-294f-6336-dee1-4aadf5defca4.jpg');">
<td> </td>
<td> </td>
</tr>
<tr>
<td> ddddddddd</td>
<td> <img src="cache/upload/b901050d-294f-6336-dee1-4aadf5defca4.jpg" alt="" /></td>
</tr>
</tbody>
</table>
a) First I put an image into the template. This is the line above the last closing table row. So I saw the source path of the image.
b) I used this source path in the CSS background-image rule in the second line
d) I made all modification in the HTML view
We're trying to to put a default css style for all outbound emails without selecting an email template. The idea is to make as default style our corporate css into the email compose.
Has anybody any idea to make it possible?
Thanks a lot!
When I faced the same problem I just decided to trust this issue to the professionals and addressed dotMailer. They made a wonderful email template for my company. Besides, they have free email templates .
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks