CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Tokens not entered when using default Drupal CKEditor (with module Wysiwyg)
Pages: [1]

Author Topic: Tokens not entered when using default Drupal CKEditor (with module Wysiwyg)  (Read 1549 times)

myles

  • I post frequently
  • ***
  • Posts: 263
  • Karma: 11
Tokens not entered when using default Drupal CKEditor (with module Wysiwyg)
June 08, 2012, 05:12:58 am
For information as much as a request...

Set up details:
  • Drupal 6.latest and civicrm 4.1 series
  • Drupal CKEditor is installed in a 'libraries' subdirectory of sites > all.
  • the Drupal module Wysiwyg 6.x 2.4 is installed to make the link to the CKEditor installed in the libraries directory.(This is done so that CKEditor doesn't have to be re-installed every time there is a Drupal update.)
  • 'Use default Drupal' in the site preferences field that selects the Wysiwyg editor

Problem:

It is not possible to select CiviCRM tokens in the rich text editor
You can enter them by hand, or enter them into the plain text area then copy and paste them.
With CiviCRM's own CKEditor you can also select tokens as expected.

Presumably the problem is in the Wysiwyg module - it needs a plugin for CiviCRM in the same way that it needs a plugin for IMCE.

Temporary work-arounds for admins pulling their hair out...
1) use civirm's own CKEditor installation (sites settings)
2) tell users to use the plain text editor to find the token, then cut and paste into the rich text editor.

Request

Can anyone
a) confirm this is the case (that a plugin is needed) - or is there a simpler solution?
b) has anyone made such a plugin, or
c) have a really good handle on how to make one?

dlats

  • I post occasionally
  • **
  • Posts: 77
  • Karma: 0
  • CiviCRM version: 4.0.7
  • CMS version: Drupal 7.12
  • MySQL version: 5.0.91
  • PHP version: 5.2.17
Re: Tokens not entered when using default Drupal CKEditor (with module Wysiwyg)
January 12, 2013, 06:44:40 am
This is also true for Drupal 7.18 and civicrm 4.2.6

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Tokens not entered when using default Drupal CKEditor (with module Wysiwyg)

This forum was archived on 2017-11-26.