EllisLab text mark
Advanced Search
1 of 4
1
   
FCKeditor Extension
Posted: 10 February 2006 01:09 AM   [ Ignore ]
Joined: 2006-01-03
3 posts

UPDATE: Note that Version 1.1.9 is attached about two posts down

I believe that this is where it belongs…the original post being: http://ellislab.com/forums/viewthread/31422/.

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.

File Attachments
ext_fckeditor.zip  (File Size: 4KB - Downloads: 1839)
 
Posted: 19 February 2006 08:28 PM   [ Ignore ]   [ # 1 ]   [ Rating: 0 ]
Joined: 2006-01-03
3 posts

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…

 
Posted: 27 February 2006 02:30 PM   [ Ignore ]   [ # 2 ]   [ Rating: 0 ]
Joined: 2006-01-03
3 posts

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

File Attachments
ext_fckeditor_v1_1_9.zip  (File Size: 4KB - Downloads: 1954)
 
Posted: 12 April 2006 04:27 AM   [ Ignore ]   [ # 3 ]   [ Rating: 0 ]
Avatar
Joined: 2004-06-14
70 posts

Hi Jit,

First of all, thank you for your cool extension. I have installed it and it works well.


FCKeditor supports two resource types at this time, Images and Flash. Can I add others? I want to upload MS office file.

I added this

$Config['AllowedExtensions']['Office']= array('doc','xls','ppt') ;
$Config['DeniedExtensions']['Office']= array('mdb') ; 

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.

 
Posted: 12 April 2006 06:11 AM   [ Ignore ]   [ # 4 ]   [ Rating: 0 ]
Avatar
Joined: 2004-06-14
70 posts

I just found that I can use “Link” instead of “Image” to upload files smile so easy smile

 
Posted: 14 April 2006 04:12 AM   [ Ignore ]   [ # 5 ]   [ Rating: 0 ]
Avatar
Joined: 2004-06-14
70 posts

Hi Jit,

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.

Thanks

 
Posted: 14 April 2006 04:54 AM   [ Ignore ]   [ # 6 ]   [ Rating: 0 ]
Avatar
Joined: 2004-05-15
29075 posts

I don’t think that is (easily) possible.

 
Posted: 15 April 2006 02:45 PM   [ Ignore ]   [ # 7 ]   [ Rating: 0 ]
Avatar
Joined: 2006-04-15
12649 posts

Hi there Jit,

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?

Any help with this would be greatly appreciated.

Thank you in advance.

Regards,

Mark Bowen

 Signature 

Shopping Cart Plugin | Full List Of Add-Ons | About Me
——————————————————————————————
2.x Bug Tracker | Upgrade Errors

 
Posted: 15 April 2006 02:51 PM   [ Ignore ]   [ # 8 ]   [ Rating: 0 ]
Avatar
Joined: 2006-04-15
12649 posts

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.

Best wishes,

Mark

 Signature 

Shopping Cart Plugin | Full List Of Add-Ons | About Me
——————————————————————————————
2.x Bug Tracker | Upgrade Errors

 
Posted: 25 April 2006 11:06 AM   [ Ignore ]   [ # 9 ]   [ Rating: 0 ]
Joined: 2006-03-08
14 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…

Mark…glad you found a solution :D

 
Posted: 07 September 2006 05:10 PM   [ Ignore ]   [ # 10 ]   [ Rating: 0 ]
Joined: 2003-05-11
27 posts

Can someone help me?

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?

Help?

 Signature 

Dana DiTomaso | Pro Network Member

 
Posted: 07 September 2006 05:16 PM   [ Ignore ]   [ # 11 ]   [ Rating: 0 ]
Joined: 2006-03-08
14 posts

That’s curious…
what version are you using? (both EE and fckeditor)

I assume that you also followed the directions in the wiki?

The textAreaName is a generic name for the textArea, which you shouldn’t need to modify…

Jit

 
Posted: 07 September 2006 05:22 PM   [ Ignore ]   [ # 12 ]   [ Rating: 0 ]
Joined: 2003-05-11
27 posts

EE is 1.4.2, FCKeditor is 2.3.1.

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.

 Signature 

Dana DiTomaso | Pro Network Member

 
Posted: 07 September 2006 05:31 PM   [ Ignore ]   [ # 13 ]   [ Rating: 0 ]
Joined: 2006-03-08
14 posts

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

or just the setFieldName if you’re using 1.1.8

 
Posted: 10 September 2006 04:23 PM   [ Ignore ]   [ # 14 ]   [ Rating: 0 ]
Joined: 2003-05-11
27 posts

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?

 Signature 

Dana DiTomaso | Pro Network Member

 
Posted: 11 September 2006 09:29 AM   [ Ignore ]   [ # 15 ]   [ Rating: 0 ]
Joined: 2006-03-08
14 posts

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.

Let me know if that does it.

 
1 of 4
1