drupalckeditorcivicrm

Special characters get converted in CiviCRM templates


I am sure I am missing something. I have a Civicrm template. I need to add logic to format the output like including paragraphs under certain conditions. I edit the source to add my logic like a '>' symbol, it gets converted to &GT. I am using CKEDITOR which CiviCRM provides at 4.0.1. The 4.1 version allows for preventing these conversions. I have tried upgrading the Drupal supplied CKEDITOR but could not get it working.

I do not have a problem switching to the text editor, but I have other people editing content. I also have an administrator who would bring the template up in the default editor, try to save it and brake the template. How are others handling the conversion of special characters in civi templates.

I looked at 4.5 and tried it on the demo system the conversion still occurs.


Solution

  • The easiest way to upgrade your editor is to configure the editor you want in the CMS (Drupal ou Joomla) and then change the WYSIWYG Editor to "Drupal Default Editor" or "Joomla Default Editor" in Administer -> Customize data and screen -> Display preferences (civicrm/admin/setting/preferences/display?reset=1)