I’ve attached v. 1.1.8 (added comments over version 1.1.7) of the FCKeditor Extension. There is a readme on how the basic steps on how to install it. I also have provided supporting documentation on the Expression Engine Wiki at http://www.eewiki.com/wiki/FCKEditor
Just to note that the built in filemanager does work with expression engine, it just needs to be configured properly. I suggest reading the wiki for more information.
I just had a quick question for those using this extension…
How many people are annoyed by the automatic loading of the fckeditor on one click? I was thinking of changing the javascript and releasing a newer version where you have to double click on the textarea to activate the editor, but I wanted to get some input back before i do that…
It was starting to get annoying for me because I am using a server on the other side of the US and that has a slight delay in loading the necessary javascript files when I just wanted to do some simple editing…
New version, then only thing I changed in the code was the javascript
- v 1.1.9
- Needs to double click in order to activate FCKeditor
- Single click activates EE default editor (the button icons)
- Gave Credit to Paul Burdick as the original creator of the
TinyMCE editor
to filemanager\upload\php\config.php but it does not work. I guess I need to add a new icon to the toolbar and have this new icon linked with some script.
Could you please give me some advice?
Thanks.
By the way, I got some slight problem when using your extension. Please see this thread. I just changed everything to FCKeditor’s default and then it works correctly.
A suggestion: I just found FCKeditor only applies for publish/edit entries, but does not apply for sending emails (in Communicate). I would like to see I can also use FCkeditor to compose a HTML email.
Just wanted to say thanks for the FCKEditor for EE but wanted to see if anyone has had the problem I have had and if they could help out at all?
I am using EE 1.4.1 (Core) and have downloaded FCKEditor renaming the folder to fckeditor. I have then placed this folder into the main directory such as :
http://www.mysite.com/ee/fckeditor/
I then uploaded the two files, the extension and the language file to the respective folders.
I then activated the extension from the admin panel and changed the :
URL of FCKEditor script to - http://www.mysite.com/ee/fckeditor/fckeditor.js
If I then go to publish something and double click in the text field I see the following text appear :
—————————————————————————————————————————————————— Not Found
The requested URL /fckeditor/editor/fckeditor.html was not found on this server. ——————————————————————————————————————————————————
Does anyone know why this might be. I am pretty sure I have done everything correctly. I followed the instructions provided here - http://www.eewiki.com/wiki/FCKEditor, just the first part not the Pre EE V1.4 hopefully this was correct?
Sorry about the last post I just found a thread that stated that you must supply a base path in your extensions configuration area.
I have now supplied this information by going to Admin -> Utilities -> Extensions Manager -> FCKEditor Extension for EE -> Settings
and placed the following code into the FCKEditor Configuration field :
var oFCKeditor = new FCKeditor(textAreaName);
//Configuration goes here
oFCKeditor.BasePath = ‘http://www.mysite.com/ee/fckeditor/’ ;
oFCKeditor.ReplaceTextarea() ;
Worked like a charm!!!
Just thought I would post here now that I have found this out to help out anyone else that might have the same problems in the future. Pretty sure that it wasn’t in the WIKI documentation but I could be wrong. Hope I haven’t caused any problems with these posts.
Sorry about not answering any of these questions sooner, but I didn’t seem to get an e-mail saying that there were posts…also I signed up for a new account so somewhere something must have gotten lost. Anyway, in response to editessays question about applying the WYSIWYG editor to the communications…it should be possible.
Basically how fckeditor works is by replacing a text area with the corresponding WYSIWYG editor box and area. If you know what to replace, then you should be able to do it… you just need to know what extension hook to call. Unfortunately, i’m haven’t researched this further, so i dont’ know how easy or hard it is…I would agree with Ignar and I think the major issue would be to try to figure out that hook. I might look at this further on my spare time and see if i can come up with a solution…
I’m trying to install this and it’s not loading at all. I’m getting a JS error setFieldName is not defined when I try to edit the page.
Here’s my settings:
var oFCKeditor = new FCKeditor(textAreaName); oFCKeditor.BasePath = 'http://(www.mywebsite.ca)/fckeditor/' ; oFCKeditor.ReplaceTextarea() ;
I’m not using a custom config. Do I need to change the value of “textAreaName” to match the name of the text area that I’ve defined in the custom fields?
I did follow the instructions - installed FCKeditor, put up the included files, added the settings that you see up above. FCKeditor itself is working fine, you can see it here:
http://www.bohc.ca/FCKeditor/_samples/default.html
I did realize after I posted that the basepath should be FCKeditor instead of all lowercase. I changed that and still nothing is happening.
Oops, I mean which version of my extension plugin are you using? (v 1.1.9 or 1.1.8?)
The difference between that is that 1.1.9 requires a double click in order to activate it and a single click activates a setNameField function (which is EE’s minimal editor for bold, italic, etc)
The one thing that you can check is when you try to publish and item and then look at the source code for the page and see if you can spot
onclick=“setFieldName(this.name);” ondblclick=“setFieldName2(this.name);” if you’ve got 1.1.9
I’m using 1.1.9, and I see the onclick and ondblclick events, but nothing happens when I click. I’m still seeing the setFieldName is not defined JS error. Suggestions?
Try double clicking and see if anything happens, also, you may want to enable the editing fields in the weblog (Admin > Weblog Management > Publish Page Customization and make sure that Display Formatting Buttons is checked). A single click is supposed to use those buttons, so if you’ve disabled it, you probably can’t single click on the field.
Actually that’s the problem. With v1.1.9 a single click enables the EE Formatting fields. Of course, if you have turned it off under the weblog management, it will not find it (hence it will give a js error of setNameField not found). The extension that i created isn’t smart enough…I mean i haven’t made it smart enough…to figure out if the formatting fields have been disabled or not. Sorry about the confusion…
Ok, I’ve turned on the formatting buttons, and I am double-clicking in the field and still nothing. I really feel like I’m missing something, because I am showing those JavaScript errors that “FCKeditor is not defined” on line 1934. Suggestions?
can you post (or im me) the settings that you have for the extension? I would say that now that is the problem.
I realize that you have posted them above, but can you give them to me as you have it?
Thanks
[Update]: Silly question, but you are pointing to the correct fckeditor location in the settings right?
IE: URL of the FCKEditor Script: http://[your site URL]/FCKeditor/fckeditor.js