Results 1 to 3 of 3

Thread: creating an email template using html

  1. #1
    agcilantro is offline Sugar Community Member
    Join Date
    Nov 2007
    Posts
    45

    Default creating an email template using html

    I have been trying for some time to utilize the campaigns module. I create an html newsletter template using notepad++ and then open a new email template window and copy the html into the html source code popup window. When I press update on the popup window the style sheet and most of the other css gets lunched, disappears. If I paste the code in after putting in a few carriage returns, it (sometimes) shows up correctly. I can preview the template and it looks fine, but when I save it it deletes all of the css.

    Thanks for any suggestions.

  2. #2
    SpacemanSpiff is offline Sugar Community Member
    Join Date
    Apr 2008
    Posts
    19

    Cool Re: creating an email template using html

    It sounds as though maybe you are trying to use more than just the "standard" HTML tags that Sugar allows inside it.
    Have you tried creating your template using the onscreen WYSIWYG editor within Sugar?
    We have found in the past that if you have non-standard code elements within your markup (especially PHP and CSS) and try to insert it into an "HTML" field within Sugar, that it does all sorts of strange things (can lock out an HTML box so you can never re-edit it etc.) resulting in lots of garbage being stored in the database.

    It is far simpler (and 100% foolproof) to use the editor within the Create Email Template, than to try to edit outside and pull it into Sugar.

  3. #3
    agcilantro is offline Sugar Community Member
    Join Date
    Nov 2007
    Posts
    45

    Default Re: creating an email template using html

    Thanks for the tip Spaceman. I will try to use the wysiwyg editor and add the style stuff inline. Have you tried utilizing the editor and then adding an external style sheet?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. problemi step 6 di SugarSuite-Full-4.0.1h
    By lucia in forum Italiano
    Replies: 0
    Last Post: 2006-12-27, 08:50 AM
  2. Replies: 1
    Last Post: 2006-10-12, 12:07 AM
  3. 4.0.1 Installation Problem
    By clawton in forum Help
    Replies: 14
    Last Post: 2006-02-13, 04:17 PM
  4. Fatal error: Max
    By spokes2k4 in forum Help
    Replies: 3
    Last Post: 2006-01-15, 03:50 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
  •