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) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 4.6 Release Testing »
  • New mailing - this page has it's own way of getting a HTML editor [ANSWERED]
Pages: [1]

Author Topic: New mailing - this page has it's own way of getting a HTML editor [ANSWERED]  (Read 609 times)

ken

  • I live on this forum
  • *****
  • Posts: 916
  • Karma: 53
    • City Bible Forum
  • CiviCRM version: 4.6.3
  • CMS version: Drupal 7.36
  • MySQL version: 5.5.41
  • PHP version: 5.3.10
New mailing - this page has it's own way of getting a HTML editor [ANSWERED]
March 05, 2015, 04:09:19 pm
The New Mailing screen should obtain its CkEditor using templates/CRM/common/wysiwyg.tpl (like other screens such as New Event).

Background: I tweaked templates/CRM/common/wysiwyg.tpl so it gets the CkEditor JS from the Drupal module and library. I do this to ensure my users have a consistent experience in HTML editing across Drupal and CiviCRM.

The New Mailing screen must obtain its CkEditor via another means, because I get the CiviCRM-packaged version of CkEditor. (On New Event, by contrast, I get the one packaged with Drupal.
« Last Edit: March 05, 2015, 06:53:58 pm by Coleman Watts »

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: New mailing - 4.6.beta1 - this page has it's own way of getting a HTML editor
March 05, 2015, 05:48:33 pm
Sorry, it's a known issue and not slated to be fixed in this release cycle.

Out of curiosity, why are you overriding the tpl instead of using the setting from Admin -> Customize Data & Screens -> Display Preferences -> Use Drupal Editor
Try asking your question on the new CiviCRM help site.

ken

  • I live on this forum
  • *****
  • Posts: 916
  • Karma: 53
    • City Bible Forum
  • CiviCRM version: 4.6.3
  • CMS version: Drupal 7.36
  • MySQL version: 5.5.41
  • PHP version: 5.3.10
Re: New mailing - this page has it's own way of getting a HTML editor [ANSWERED]
March 06, 2015, 07:40:54 pm
Coleman,

I don't get that option. Under "WYSIWYG editor" I have the choice of Textarea, TinyMCE and CKEditor.

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: New mailing - this page has it's own way of getting a HTML editor [ANSWERED]
March 07, 2015, 08:00:43 am
I think it only appears if you have the drupal wysiwyg module installed.
Try asking your question on the new CiviCRM help site.

sonicthoughts

  • Ask me questions
  • ****
  • Posts: 498
  • Karma: 10
Re: New mailing - this page has it's own way of getting a HTML editor [ANSWERED]
March 18, 2015, 08:47:57 am
FYI - I spent 20 minutes searching for that option and duh it was under Display Options.  I would have expected under system and other CMS options...

Also, I rarely use the Drupal WYSIWYG option as it has lead to site problems and limitations so @ken, if you are happy with it, you may want to consider adding to docs or posting what you did for others:)

Trying to educate end users on WYSISYG is hard enough without having different interfaces ....

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: New mailing - this page has it's own way of getting a HTML editor [ANSWERED]
March 18, 2015, 11:05:58 am
There has been talk amongst the core team of removing that option entirely. Mixing the Drupaly wysiwyg module in with CiviCRM creates no end of problems, and based on forum feedback hardly anyone seems to be using that option.
Try asking your question on the new CiviCRM help site.

sonicthoughts

  • Ask me questions
  • ****
  • Posts: 498
  • Karma: 10
Re: New mailing - this page has it's own way of getting a HTML editor [ANSWERED]
March 18, 2015, 11:33:42 am
I can definitely understand that, but having a consistent widget + filebrowser is pretty important for end-users.

Perhaps it is a matter of documenting or changing how /where to maintain a custom ckeditor configuration and then let the admin ensure it is consistent with CMS.  Right now the package (older version than I would like) is in ./packages/ckeditor.  Is there an elegant way to provide an alternate location or configuration?

... Just a thought.

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: New mailing - this page has it's own way of getting a HTML editor [ANSWERED]
March 18, 2015, 11:36:18 am
Last time Tim and I discussed this we thought creating an abstract interface for pluggable wysiwyg editors was a fairly solid idea. So CiviCRM core would ship with just one editor (the latest version of CK) and extensions could provide others.
Try asking your question on the new CiviCRM help site.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 4.6 Release Testing »
  • New mailing - this page has it's own way of getting a HTML editor [ANSWERED]

This forum was archived on 2017-11-26.