Quote from: rthrash at Jul 19, 2005, 06:00 PM
That’s why I prefer Tiny MCE. 
Yeah, yeah, yeah...we all know how good TinyMCE is!

LOL! I agree though, FCK isn’t without it’s quirks. Then again, none of the editors (TinyMCE, FCK, and Xinha) are perfect. But at least having the option to use any of the three is certainly a plus.
Regarding the upload ability, this was just introduced in the new 2.0 final. All it does is add a new tab to the Image, Link, and Flash Property windows. You can still use the ’Browse Server’ button to upload and manage files with the Resource Manager. I just chose to disable the new tabs at the moment till I can work out how to get the path variables into the new upload scripts for the Upload tabs in the property windows. Shouldn’t be too difficult...it’ll just take a little time is all.
Now for another quirk. With the MCPUK Resource Browser, I’ve always noticed that "out of the box" it has a problem refreshing the window whenever a file is uploaded. I’ve played around with this for several months. The solution is fairly simple...just assign a full directory path to the connector for the call to the resource browser. Looking at the code for the FCKeditor plugin, you’ll see a few lines like this:
var FCKImageBrowserURL = '{$base_url}manager/media/browser/mcpuk/browser.html?Type=images&Connector=connectors/php/connector.php&ServerPath=';
var FCKLinkBrowserURL = '{$base_url}manager/media/browser/mcpuk/browser.html?Connector=connectors/php/connector.php&ServerPath=';
var FCKFlashBrowserURL = '{$base_url}manager/media/browser/mcpuk/browser.html?Type=flash&Connector=connectors/php/connector.php&ServerPath=';
var FCKCustomToolbarSet = {$tbCustomSet};
With the code above, you simply add a similar path as the call to the browser.html file. The resulting code would look like this:
var FCKImageBrowserURL = '{$base_url}manager/media/browser/mcpuk/browser.html?Type=images&Connector={$base_url}manager/media/browser/mcpuk/connectors/php/connector.php&ServerPath=';
var FCKLinkBrowserURL = '{$base_url}manager/media/browser/mcpuk/browser.html?Connector={$base_url}manager/media/browser/mcpuk/connectors/php/connector.php&ServerPath=';
var FCKFlashBrowserURL = '{$base_url}manager/media/browser/mcpuk/browser.html?Type=flash&Connector={$base_url}manager/media/browser/mcpuk/connectors/php/connector.php&ServerPath=';
var FCKCustomToolbarSet = {$tbCustomSet};
With a full path to the connector, the Resource Browser should refresh and show newly uploaded files without the need to force a refresh. However, there is a downside to this...another bug is introduced! The new bug has to do with the Image Editor. It seems that whenever you upload a new image and try to click on the Edit icon for an image, a ’Not Found’ error happens. Weird part is that if you force a refresh then the edit icon works just fine. Hmm...looks a bit like a JavaScript issue in the frmresourceslist.html for the mcpuk browser...but I’ll be damned if I can figure it out at the moment. Perhaps an extra button for manual refreshing is in order on the mcpuk browser?
Well...that’s the jist for now. More to come I’m sure.
Jeff