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) »
  • Feature Requests and Suggestions »
  • Usability Improvements (Moderator: Dave Greenberg) »
  • Take advantage of other HTML editor in Joomla
Pages: [1]

Author Topic: Take advantage of other HTML editor in Joomla  (Read 3913 times)

genkml

  • Guest
Take advantage of other HTML editor in Joomla
March 03, 2009, 12:05:03 am
I'm only using CiviCRM with Joomla, so my comments / suggestions may or may not be relevant to those running with Drupal or Standalone install.

There have been a lot of HTML editors modules developed for Joomla, some of which has reached a pretty good maturity level. As the result, Joomla administrator can install and use HTML editors of their choice. CiviCRM currently offers the option between TinyMCE and FCKEditor as the WYSIWYG HTML editors. While they are pretty good editors, they lack some of the functionality of the others I have come across for Joomla.

If there's a way for CiviCRM to utilize whatever HTML editors installed in Joomla, it will improve the integration between Joomla and CiviCRM, from consistency point of view. Currently, I have to deal with different editors, depending on whether I'm updating CiviCRM or Joomla content. Besides, I have noticed quite a few queries in the forum related to editors. Having the option to use other editors out there, hopefully relieve CiviCRM development and support group from dealing with some of the queries.

Just a thought.

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: Take advantage of other HTML editor in Joomla
March 12, 2009, 02:04:49 pm
I'm happy with TinyMCE. I've configured it for Joomla! but the CiviCRM version is unconfigured, so users are confused by the difference in behaviour. 'genkml's suggestion would solve this issue. But in the interim, has anyone had any joy setting the TinyMCE configuration for CiviCRM to match their Joomla! one?

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Take advantage of other HTML editor in Joomla
March 12, 2009, 07:12:54 pm

can u let us know where the tinymce settings are for joomla and how do u set it. We can potentially provide instructions on how to edit a text file within tinymce to set those settings in the worst case

thanx

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Tim Homewood

  • I’m new here
  • *
  • Posts: 14
  • Karma: 0
Re: Take advantage of other HTML editor in Joomla
February 24, 2010, 05:08:16 am
I'm not sure i understand your question lobo, but the TinyMCE settings are managed through the Plugin management page in Joomla! and stored in the database in a single field for TinyMCE in the plugins table.

To improve the useability of TinyMCE in CiviCRM I've been editing the settings file:
administrator/components/com_civicrm/civicrm/packages/HTML/QuickForm/tinymce.php

For ken, the trick is to add in the name of the button you want in the button lists that are on lines 151-155 in my file. Here is a useful reference list of the buttons available:
http://wiki.moxiecode.com/index.php/TinyMCE:Control_reference

So, in my case I find the anchor button ('anchor') and a formatting list for standard heading styles ('formatselect') absolutely essential and my config looks like:
Code: [Select]
       theme_advanced_buttons1    : "separator,bold,italic,underline,|,fontselect,fontsizeselect,formatselect",
        theme_advanced_buttons1_add: "separator,forecolor,backcolor,separator,link,unlink,anchor,separator,image,hr,emotions",

Now that I see it I'd probably also remove the 'emotions' button as I hate smileys  ;)

I hope this helps.

(ed. Apologies for replying to such an old post so late. Only just noticed the original date but hopefully this might help others)
« Last Edit: February 24, 2010, 05:10:12 am by timhomewood »

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: Take advantage of other HTML editor in Joomla
February 24, 2010, 12:32:04 pm
Thanks, Tim!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions »
  • Usability Improvements (Moderator: Dave Greenberg) »
  • Take advantage of other HTML editor in Joomla

This forum was archived on 2017-11-26.