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 »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • WYSIWYG, JCE, and TinyMCE issues
Pages: [1]

Author Topic: WYSIWYG, JCE, and TinyMCE issues  (Read 3421 times)

Jonathan33

  • I’m new here
  • *
  • Posts: 16
  • Karma: 0
WYSIWYG, JCE, and TinyMCE issues
October 28, 2008, 07:09:10 am
Hi folks,
CiviCRM installed without a hitch. Nice.
I noticed description boxes that would normally have WYSIWYG editing where coming up with a 404 error in them.
Realising it couldn't find the WYSIWYG I found that setting in admin. I use JCE but there was no option for this. So my first question about usage is this: does it support JCE?

The two options were FCK and TinyMCE.
I don't have FCK installed, so I set it to TinyMCE.

Testing with the New Event page the description box no longer as the 404 error. I can put text in there. But there is no WYSIWYG controls. Is that normal? Should there not be some WYSIWYG control buttons for advanced formatting? Right now it's just a plain old multi-line text box.

With thanks,

Jonathan

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: WYSIWYG, JCE, and TinyMCE issues
October 28, 2008, 07:15:53 am
No, CiviCRM cannot use JCE. The only two available are FCK and Tiny for use within Civi. (you can continue to use JCE for other Joomla functions/extensions).

Go to administer civicrm > global settings > resource urls and make sure that the location is correct. It sounds like your install is not finding the javascript libs.
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

Jonathan33

  • I’m new here
  • *
  • Posts: 16
  • Karma: 0
Re: WYSIWYG, JCE, and TinyMCE issues
October 28, 2008, 08:04:28 am
Quote from: lcdweb on October 28, 2008, 07:15:53 am
No, CiviCRM cannot use JCE. The only two available are FCK and Tiny for use within Civi. (you can continue to use JCE for other Joomla functions/extensions).

Go to administer civicrm > global settings > resource urls and make sure that the location is correct. It sounds like your install is not finding the javascript libs.
Thanks. I'll check the resource locations.
I've also now noticed that drop down menus don't appear. I was filling out a test event in CiviEvent and it wouldn't let me continue past the Location page. It was saying I must select a valid Country. Then I looked closer and see the country field has instructions saying to select the country from a drop down list. There is no drop down.
Might this also be related to the Resource URLs?

Cheers,
Jonathan

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: WYSIWYG, JCE, and TinyMCE issues
October 28, 2008, 08:16:50 am
Yes. It's not able to access any of the javascript/dojo/etc. libraries.
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

Jonathan33

  • I’m new here
  • *
  • Posts: 16
  • Karma: 0
Re: WYSIWYG, JCE, and TinyMCE issues
October 28, 2008, 10:05:49 am
Thanks for the help.

I've checked the BASEURL setting in the civicrm.settings.php file. It seems perfect.
I've also set this again in the admin location you told me.

Neither of things these has worked.
The Joomla install is in "/site"
The CiviCRM Resource URL is set to:

Code: [Select]
http://www.mydomain.com/site/administrator/components/com_civicrm/civicrm/
The CIVICRM_UF_BASEURL is set to:
Code: [Select]
http://www.mydomain.com/site/
Anything else I've over looked?

Cheers,

Jonathan

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: WYSIWYG, JCE, and TinyMCE issues
October 28, 2008, 01:47:39 pm
Take a look at:

administrator/components/com_civicrm/civicrm/civicrm.config.php

It should have a single require_once statement pointing to the settings file for your civi installation. Check to make sure the full root path is correct.
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

Jonathan33

  • I’m new here
  • *
  • Posts: 16
  • Karma: 0
Re: WYSIWYG, JCE, and TinyMCE issues
October 28, 2008, 02:09:17 pm
Quote from: lcdweb on October 28, 2008, 01:47:39 pm
Take a look at:

administrator/components/com_civicrm/civicrm/civicrm.config.php

It should have a single require_once statement pointing to the settings file for your civi installation. Check to make sure the full root path is correct.
This is what it points to:
/home/jonathan/public_html/site/administrator/components/com_civicrm/civicrm.settings.php

Which looks correct to me.
What else could be throwing this out?  ???

Cheers,
Jonathan

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: WYSIWYG, JCE, and TinyMCE issues
October 28, 2008, 07:23:19 pm
Quote from: lcdweb on October 28, 2008, 07:15:53 am
Go to administer civicrm > global settings > resource urls and make sure that the location is correct. It sounds like your install is not finding the javascript libs.

Did you check / verify this (in the user interface)? An invalid Resource URL value is the most likely issue. You can also view source on a page that has problems and look for the url's to the various .js and .css files used by CiviCRM. Then try those URL's in your browser's location bar to see if they bring up the files.
Protect your investment in CiviCRM by  becoming a Member!

Jonathan33

  • I’m new here
  • *
  • Posts: 16
  • Karma: 0
Re: WYSIWYG, JCE, and TinyMCE issues
October 29, 2008, 01:49:08 am
Quote from: Dave Greenberg on October 28, 2008, 07:23:19 pm
Quote from: lcdweb on October 28, 2008, 07:15:53 am
Go to administer civicrm > global settings > resource urls and make sure that the location is correct. It sounds like your install is not finding the javascript libs.

Did you check / verify this (in the user interface)? An invalid Resource URL value is the most likely issue. You can also view source on a page that has problems and look for the url's to the various .js and .css files used by CiviCRM. Then try those URL's in your browser's location bar to see if they bring up the files.
Thanks Icdweb and Dave.

Ok... that did the trick... Looking at the source code showed me that there was a space at the end of the Resource URL.  ::)
I got rid of the space and all is well in the Kingdom of Jonathan.  ;)

I really appreciate your persistence in helping me to sort this out. It has made my week. I need to get this set up and a few things running on it by Friday. It's nice to have people like you (and all the other people helping online) who freely assist other people.  ;D

Thanks a lot...

Jonathan   8)

PS. CiviCRM looks a lot prettier too... now that the style sheets are kicking in. I kinda wondered why it was so bland and poorly laid out before! Nice. All the icons have appeared too.
« Last Edit: October 29, 2008, 01:52:19 am by Jonathan33 »

dragontree

  • Guest
Re: WYSIWYG, JCE, and TinyMCE issues
August 31, 2009, 10:09:11 pm
Got a question on the same topic.
Is it possible to use JCE on CiviCRM 3.0?

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: WYSIWYG, JCE, and TinyMCE issues
September 01, 2009, 02:48:44 pm
Nope. Currently CiviCRM only supports fckEditor and TinyMCE.
Protect your investment in CiviCRM by  becoming a Member!

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: WYSIWYG, JCE, and TinyMCE issues
September 01, 2009, 03:45:07 pm
Civi uses its own installation/configuration of a text editor -- it doesn't use the default Joomla configured editor. Which is why JCE is not available.
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • WYSIWYG, JCE, and TinyMCE issues

This forum was archived on 2017-11-26.