I've taken another look at this, and it seems fairly straightforward
to me.   I think most of the differences between a default
installation of FCKEditor and the one delivered with ColdFusion are
either files omitted because they're unnecessary - related to the ASP
or PHP implementation for example,   or the configuration file which
is <siteroot>\CFIDE\scripts\ajax\FCKeditor\fckconfig.js

So to update your FCKEditor to the current version   ...

[A]  I'm not an expert on the CF8 implementation, so no guarantees.
Backup your whole \CFIDE\scripts\ajax\FCKeditor\  folder and
sub-folders, so you can roll back if necessary.

[B]  download the current version from http://www.fckeditor.net/   The
current stable version is 2.6.3

[C]  HAVING MADE SURE YOU HAVE BACKEDUP AS IN [A] ABOVE ....  unzip
the current version into \CFIDE\scripts\ajax\FCKeditor\ .

[D]  the \ajax\FCKEditor folder should then contain a folder called
editor,  and the following files: (the rest are unnecessary and can be
deleted but don't cause any harm if they remain)   fckconfig.js,
fckeditor.js, fckpackager.xml, fckstyles.xml, fcktemplates.xml,
license.txt.

[E] there's an additional file in the CF8 implentation - htaccess.txt
you may need to copy this over from the backup.   the notes on this
file say:

[quote]
 On some specific Linux installations you could face problems with Firefox.
 It could give you errors when loading the editor saying that some illegal
 characters were found (three strange chars in the beginning of the file).
 This could happen if you map the .js or .css files to PHP, for example.

 Those characters are the Byte Order Mask (BOM) of the Unicode encoded files.
 All FCKeditor files are Unicode encoded.

 Just rename this file to ".htaccess" and leave it in the editor directory.
 There are no security issues on doing it. It just sets the ".js" and ".css"
 files to their correct content types.
[/quote]

[F]  transfer the customisations for CF8 to the fckconfig.js  OR use
an additional sheet to override the settings in the default
fckconfig.js.  That's a much better way to do it, because then you can
just download new versions of FCKEditor as they are released, and copy
them into the folder and that's it.   Your customisations are still
available on your external config file.     There is instructions on
how to do that in the FCKEditor documentation at
http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Configuration/Configuration_File
 (see method 2)   you can put any setting in there and it will
over-ride the setting in the default fckconfig.js.

[G]  you might have to restart your application if you have put some
of your fckeditor into the application scope.    IN a shared hosting
environment, you can wait till it times out,  or you can simply change
the application name and upload application.cfc again - i usually name
my applications things like name="mysite0001"  name="mysite0002"  etc.

You will know if you have been successful because when you call a page
and see the editor embedded, and you click on the last icon on the
bottom row.  It will open with a popup showing the specifics of the
fckeditor version you have installed.

DISCLAIMER:  I have not actually done this myself - i dont use the
embedded FCKEditor - i have always installed FCKEditor separately and
deleted the one that came with CF8 because i wanted more control of
the way it looks myself.    THEREFORE _ follow my instructions at your
own risk,  BACKUP BACKUP BACKUP!!   But having used FCKEditor
successfully for quite a few years through quite a few versions, I am
fairly sure of what i'm saying.

Hope this helps.     Please give me some feedback as to whether what
i've said worked ok or not.


Cheers
Mike Kear
Windsor, NSW, Australia
Adobe Certified Advanced ColdFusion Developer
AFP Webworks
http://afpwebworks.com
ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313103
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to