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

Template content replacement not functioning in Send Email and CiviMail in Joomla

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.1
    • Component/s: CiviMail, Core CiviCRM
    • Labels:
      None

      Description

      When sending an email to a contact(s) or in step 3 (Mailing Content) of CiviMail wizard, selecting a template from the drop-down, does not fill the text message box with the template content. Instead, content similar to the following is inserted:

      <?xml version="1.0" encoding="iso-8859-1"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      <html xmlns="http://www.w3.org/1999/xhtml">
      <head>
      <title>CiviCRM 2.0 Demo - Administration [Joomla!]</title>
      <link rel="stylesheet" href="templates/joomla_admin/css/template_css.css" type="text/css" />
      <link rel="stylesheet" href="templates/joomla_admin/css/theme.css" type="text/css" />
      <script language="JavaScript" src="http://joomla.demo.civicrm.org/includes/js/JSCookMenu_mini.js" type="text/javascript"></script>
      <script language="JavaScript" src="http://joomla.demo.civicrm.org/administrator/includes/js/ThemeOffice/theme.js" type="text/javascript"></script>
      <script language="JavaScript" src="http://joomla.demo.civicrm.org/includes/js/joomla.javascript.js" type="text/javascript"></script>

      <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
      <meta name="Generator" content="Joomla! Content Management System" />
      <link rel="shortcut icon" href="http://joomla.demo.civicrm.org/images/favicon.ico" />
      </head>
      <body onload="MM_preloadImages('images/help_f2.png','images/archive_f2.png','images/back_f2.png','images/cancel_f2.png','images/delete_f2.png','images/edit_f2.png','images/new_f2.png','images/preview_f2.png','images/publish_f2.png','images/save_f2.png','images/unarchive_f2.png','images/unpublish_f2.png','images/upload_f2.png')">

      <div id="wrapper">
      <div id="header">
      <div id="joomla"><img src="templates/joomla_admin/images/header_text.png" alt="Joomla! Logo" /></div>
      </div>
      </div>

      .....Lots more...

      Reproduced on Joomla demo. Go to step 3 of CiviMail new message dialog and select a template from drop down.

        Attachments

          Activity

            People

            • Assignee:
              amit Amiteshwar Prasad
              Reporter:
              lcdweb Brian Shaughnessy
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: