For those that don’t like the double-click, look at line 81 (or so) of ext.fckeditor.php:
$r = $DSP->input_textarea('field_id_'.$fieldID, $field_data, $rows, 'textarea', '100%','onclick="JS:setFieldName(this.name);" ondblclick="JS:setFieldName2(this.name);"', $convert_ascii);
(where ‘javascript”colon”’ is replaced with “JS:” for this post.)
It’s setFieldName2 that calls the FCKeditor, loaded when you double-click. The regular EE button JS is called when you just do a single-click. Either swap the onclick and ondblclick or remove one:
$r = $DSP->input_textarea('field_id_'.$fieldID, $field_data, $rows, 'textarea', '100%','onclick="JS:setFieldName2(this.name);"', $convert_ascii);
You could try other events, but onload didn’t work for me.
You could try other events, but onload didn’t work for me.
I’m also looking for a way to auto load the editor. My temporary way is to do a onmouseover event, so at least the user doesn’t have to click to activate.
I’m not experienced enough with EE extensions to get this thing to do a onload…
There is an alternative extension for FCKEditor!
I never knew about this until today, it worked for me: http://ellislab.com/forums/viewthread/34318/
I suggest checking it out. It solves a lot of the issues we’ve been talking about like the auto loading of the editor!
Completely agree…I would use the other one as it gives more control over what you want done. I hadn’t subscribed to this thread and I haven’t exactly been active on the forums lately so I didn’t know about the problems for this extension…
Yours is good too 😊 My only complaint really is the auto loading since clients have bothered me about that too many times.
lol..If i remember correctly, the only difference between 1.1.8 and 1.1.9 was the credit and the fact that in 1.1.9 i added the “double click to activate”…I think in 1.1.8 i had it automatically start up the editor, but I was annoyed by that because the changes i needed to make in the fields didn’t always require the full editor to be shown… Of course i don’t remember if it automatically loads (i think i still required a click..)
Hey there!
Love this extension and have it working great!
I do have one issue though… When I click on Browser Server to use and image/file that is already on the server, I get a blank file manager window. I don’t see any of the images that are available on the server.
Any ideas here? All help is greatly appreciated!
Cheers, Danielle
Hmm…I take it that you have followed the directions that specifies what directory to use?
http://expressionengine.com/wiki/FCKEditor/#Using_the_filemanager_built_into_FCKeditor_php_connector
When i was building it, i got the blank screen when the filemanager didn’t know where to get the files from…Hopefully that is the case here as well 😊
Oh also saw on your screen shot that you were browsing files…don’t know if there was an “images” dropdown or not…or whether you separated those out…
Hmm…I take it that you have followed the directions that specifies what directory to use? http://expressionengine.com/wiki/FCKEditor/#Using_the_filemanager_built_into_FCKeditor_php_connector When i was building it, i got the blank screen when the filemanager didn’t know where to get the files from…Hopefully that is the case here as well 😊 Oh also saw on your screen shot that you were browsing files…don’t know if there was an “images” dropdown or not…or whether you separated those out…
Hey there, Thanks for the reply. I did configure the php connector and I am able to upload files just fine… but when I click on the Image button, and then Browse the server.. I don’t see any of the files that are in my uploads folder. I would really like to be able to see what is already on the server to avoid uploading the same thing twice. Is anyone else able to see what is on their server by clicking on the Browse Server button? If so, could you please help me to set that up correctly on my site?
Thanks! Danielle
I believe this is still an active thread regarding FCKeditor…!
I just upgraded from 1.6.4 to 1.6.8, and the plug in is throwing the following errors when the Publish or Edit page is loaded in the CP:
Warning: Missing argument 1 for output_tag() in /www/account/public_html/system/extensions/ext.fckeditor.php on line 77 Warning: Missing argument 2 for output_tag() in /www/account/public_html/system/extensions/ext.fckeditor.php on line 77 Warning: Missing argument 3 for output_tag() in /www/account/public_html/system/extensions/ext.fckeditor.php on line 77 Warning: Missing argument 4 for output_tag() in /www/account/public_html/system/extensions/ext.fckeditor.php on line 77 Warning: Missing argument 5 for output_tag() in /www/account/public_html/system/extensions/ext.fckeditor.php on line 77 Notice: Undefined variable: fieldID in /www/account/public_html/system/extensions/ext.fckeditor.php on line 81 Notice: Undefined variable: field_data in /www/account/public_html/system/extensions/ext.fckeditor.php on line 81 Notice: Undefined variable: rows in /www/account/public_html/system/extensions/ext.fckeditor.php on line 81 Notice: Undefined variable: convert_ascii in /www/account/public_html/system/extensions/ext.fckeditor.php on line 81
This set of errors repeats 3 times. I am running version 1.1.9 of the extension, and have tried all permutations of the BasePath as presented in this thread, but no luck.
Has anyone encountered a similar error? If I disable the extension the error goes away, and I don’t have FCKeditor as well. It worked with 1.6.4.
Thanks!
mp/m
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.