Results 1 to 10 of 10

Thread: Email Template Background

  1. #1
    smallspring is offline Junior Member
    Join Date
    Feb 2010
    Posts
    1

    Default Email Template 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

  2. #2
    jackquil36 is offline Junior Member
    Join Date
    Feb 2010
    Posts
    1

    Default Re: Email Template 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.

  3. #3
    sfahey is offline Junior Member
    Join Date
    Mar 2010
    Posts
    2

    Default Re: Email Template Background

    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!

  4. #4
    salesagility's Avatar
    salesagility is offline Sugar Community Member
    Join Date
    Aug 2006
    Location
    UK
    Posts
    2,379

    Default Re: Email Template Background

    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

  5. #5
    sfahey is offline Junior Member
    Join Date
    Mar 2010
    Posts
    2

    Default Re: Email Template Background

    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!

  6. #6
    freelancer05 is offline Junior Member
    Join Date
    Mar 2010
    Posts
    3

    Default Re: Email Template Background

    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?

  7. #7
    blackradius is offline Senior Member
    Join Date
    Apr 2010
    Posts
    41

    Default Re: Email Template Background

    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....

  8. #8
    buma is offline Junior Member
    Join Date
    Apr 2009
    Posts
    4

    Default Re: Email Template Background

    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>&nbsp;</td>
    <td>&nbsp;</td>
    </tr>
    <tr>
    <td>&nbsp;ddddddddd</td>
    <td>&nbsp;<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

  9. #9
    davidir's Avatar
    davidir is offline Member
    Join Date
    Feb 2009
    Location
    Barcelona, Spain
    Posts
    11

    Default Re: Email Template Background

    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!

  10. #10
    Adair is offline Junior Member
    Join Date
    Apr 2011
    Posts
    1

    Default Re: Email Template Background

    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 .

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 2009-06-04, 12:14 PM
  2. Updating Email Template Creates New Template
    By SpacemanSpiff in forum Developer Help
    Replies: 2
    Last Post: 2008-04-29, 08:27 AM
  3. Changing background color...
    By ensiate in forum Help
    Replies: 0
    Last Post: 2005-12-14, 04:37 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •