HELP!! upgrade fckeditor to the latest version at fckeditor.net

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
carasmo
Power Poster
Power Poster
Posts: 506
Joined: Thu Feb 08, 2007 6:11 pm

HELP!! upgrade fckeditor to the latest version at fckeditor.net

Post by carasmo »

Hello,

I can't stand that in FireFox or gecko browser the br tag is used instead of the semantic paragraph tag. Apparenlty the latest version fixes this issue. How can I install it into CMSMS? Can I pay someone?

Thanks!
carasmo
Power Poster
Power Poster
Posts: 506
Joined: Thu Feb 08, 2007 6:11 pm

Re: HELP!! upgrade fckeditor to the latest version at fckeditor.net

Post by carasmo »

bump
Signex

Re: HELP!! upgrade fckeditor to the latest version at fckeditor.net

Post by Signex »

You can ask the person who made the FCKeditor module if he wants to update it.

Or you can try the TinyMCE editor module, much faster and spits out correct Xthml, including correct paragraph tags

I believe CMSMS 2.0 will have TinyMCE as its default editor
carasmo
Power Poster
Power Poster
Posts: 506
Joined: Thu Feb 08, 2007 6:11 pm

Re: HELP!! upgrade fckeditor to the latest version at fckeditor.net

Post by carasmo »

It's not that I'm particularly fond of fckeditor, but it allows for those templates for customers to choose whether they want the one with one photo, two photos, one photo with a caption, etc., and they just choose the template and fill in the blanks.

Thanks for your help.

Tiny MCE is much cleaner, does it allow for templates like fck?
chrisl
Forum Members
Forum Members
Posts: 57
Joined: Fri Dec 30, 2005 10:08 am

Re: HELP!! upgrade fckeditor to the latest version at fckeditor.net

Post by chrisl »

Yes I agree with you while Tiny MCE is smaller it lacks, among other things, this most important feature of being able to hand your customers ready-made templates so they don't screw up your design.

According to the FCK site
The new Enter Key Handler, guarantees that the editor will behave in the way you want when users hit the enter key. You can configure it to produce , or tags, and all browsers will behave in the same way.
I have put FCK 2.4 on several sites recently and it works fine and everyone is happy but I have only just today installed it onto a CMSMS 1.05 test site and similarly it's good and loads quickly.

If you want to do it yourself just download the latest zip FCK files replace the entire CMSMS FCKeditor directory (back up the old one) with FCK's editor directory. 
Copy across the two CMSMS files from the old plugins directory, make sure you enable the PHP connector in the connectors\php\config.php and also very important add
require_once(dirname(dirname(dirname(dirname(dirname(dirname(dirname(dirname(dirname(dirname(__FILE__)))))))))) . '/include.php');
check_login();
to the top of
browser/default/connectors/php/connector.php 
Greg
Power Poster
Power Poster
Posts: 598
Joined: Sun Sep 26, 2004 6:15 pm

Re: HELP!! upgrade fckeditor to the latest version at fckeditor.net

Post by Greg »

Connector.php from 1.0.4-svn version is missing this block of code at line 84.

Code: Select all

/////////////////////////////////////
/////////////////////////////////////
if (strcmp($sResourceType,"File")==0)
    $sResourceType = "/";
/////////////////////////////////////
/////////////////////////////////////
/////////////////////////////////////
/////////////////////////////////////
if (strcmp($sResourceType,"Image")==0)
    $sResourceType = "images";
/////////////////////////////////////
/////////////////////////////////////
Without this FCKEditorX looks in uploads/image instead if uploads/images for image files
Greg
carasmo
Power Poster
Power Poster
Posts: 506
Joined: Thu Feb 08, 2007 6:11 pm

Re: HELP!! upgrade fckeditor to the latest version at fckeditor.net

Post by carasmo »

Rock ON!

Thanks, thanks, thanks!!!
carasmo
Power Poster
Power Poster
Posts: 506
Joined: Thu Feb 08, 2007 6:11 pm

Re: HELP!! upgrade fckeditor to the latest version at fckeditor.net

Post by carasmo »

I haven't done it yet. I'm not that technical, so I have to read it over and over again before I attemp this. But I thought I'd share the paths to the files mentioned above.

modules/FCKeditorX/FCKeditor/editor/filemanager/browser/default/connectors/php/config.php

modules/FCKeditorX/FCKeditor/editor/filemanager/browser/default/connectors/php/connector.php
carasmo
Power Poster
Power Poster
Posts: 506
Joined: Thu Feb 08, 2007 6:11 pm

Re: HELP!! upgrade fckeditor to the latest version at fckeditor.net

Post by carasmo »

Okay, I did everything and I get this error:

Unknown toolbar item "UniversalKey"

Apparently it's happening with drupal users too, but I tried all their fixes, cleared cache, etc, and still no joy.

Did you run into this?
heatherfeuer

Re: HELP!! upgrade fckeditor to the latest version at fckeditor.net

Post by heatherfeuer »

When I tried upgrading FCKEditor, I had the same thing happened.  I finally went back to the last stable release.  I've been trying out Xinha because I had issues with both FCKEditor and TinyMCE and I think I like it a little bit better.
carasmo
Power Poster
Power Poster
Posts: 506
Joined: Thu Feb 08, 2007 6:11 pm

Re: HELP!! upgrade fckeditor to the latest version at fckeditor.net

Post by carasmo »

The previous poster has installed this version with no problems. I'm using this for a client site, so I need fckeditor as it allows for custom templates that the customer chooses.
chrisl
Forum Members
Forum Members
Posts: 57
Joined: Fri Dec 30, 2005 10:08 am

Re: HELP!! upgrade fckeditor to the latest version at fckeditor.net

Post by chrisl »

"UniversalKey" is an FCK toolbar item which in the 2.04 version they seem to have taken off.

Guessing what version you are using try going to the file

FCKeditorXcfg.js.php in the FCKeditorX folder

find  -  FCKConfig.ToolbarSets["Default"]

and if there is a line as below (about line 44)

['CMSModules','CMSContent','Link','Unlink','Anchor','UniversalKey'],

change to (back up this file before making changes)

['CMSModules','CMSContent','Link','Unlink','Anchor'],

please note there is no "," before the "]"

As a general principal items in the FCK Toolbar can be added or taken away so you can design a toolbar to your own or clients needs.
carasmo
Power Poster
Power Poster
Posts: 506
Joined: Thu Feb 08, 2007 6:11 pm

Re: HELP!! upgrade fckeditor to the latest version at fckeditor.net

Post by carasmo »

That did the trick!!!


Thank you very, very much!
Post Reply

Return to “CMSMS Core”