Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-8249

Issues choosing template for email/PDFletter with Drupal WYSIWYG

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.4.2
    • Fix Version/s: 4.3.0
    • Component/s: None
    • Labels:
      None

      Description

      I have configured CiviCRM to use the default Drupal WYSIWYG editor.

      It is working well except for when I want to use a saved template for my email message or PDF Letter.

      To reproduce these issues:

      1) Bring up a contact, then click "Create PDF Letter" or "Send Email"

      2) Click the select list to choose an existing template, such as "Birthday Greetings"

      Nothing happens! The template wording is NOT put within the body of the email/letter

      3) Click the select list again to choose a different template. This time the template is inserted into the message body.

      4) Click the select list again to choose a different template.

      Now the contents of the newest template are placed into the body, but the previous template text was not removed. So the letter body is now the combination of the 2 templates.

      If I go back to using the CiviCRM-provided TinyMCE, then everything works fine.

      I cannot reproduce this in the CiviCRM sandbox because the Drupal WYSIWYG editor is not available.

        Attachments

        1. civicrm-d7-wysiwyg.patch
          3 kB
          Matt Moen
        2. civicrm-d7-wysiwyg-2.patch
          5 kB
          Matt Moen
        3. civicrm-wysiwyg.patch
          3 kB
          Matt Moen
        4. civicrm-wysiwyg-d7.patch
          4 kB
          Matt Moen

          Activity

            People

            • Assignee:
              kurund Kurund Jalmi
              Reporter:
              sgladstone Sarah Gladstone
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: