Ok I've gone thru the forum - lots of comments, lots of time wasted, but several years old and not relating to FCKeditor v2.6.3 which I'm using in a PHP CMS
Here's the thing! Im using an install "out of the box" - no changes (except $oFCKeditor->BasePath = '/fckeditor/' ; to $oFCKeditor->BasePath = 'fckeditor/' ; and perhaps the toolbar!!!) Wow! Big deal!
This is what I'm using within my .php -
$oFCKeditor = new FCKeditor('FCKeditor1') ; $oFCKeditor->BasePath = 'fckeditor/' ; $oFCKeditor->ToolbarSet = htmlspecialchars('MAA'); $oFCKeditor->Height = '295' ; $oFCKeditor->Config['EnterMode'] = 'br'; $oFCKeditor->Config['UserFilesPath'] = "{$GLOBALS['SITE_URL']}{$tourType['directory']}"; $oFCKeditor->Config['UserFilesAbsolutePath'] = "{$GLOBALS['SITE_PATH']}{$tourType['directory']}"; $oFCKeditor->Value = $text; $page_body .= $oFCKeditor->Create() ;
Re: Changing image upload URL's + paths
Those settings doesn't exist in the FCKeditor configuration. I guess that you want to change the configuration of the file manager where they do exist.
Re: Changing image upload URL's + paths
Well, if that's the case, I'm highly disappointed in FCK and FCKEditor! Such a wonderfully feature-rich piece of work severely handicaped by a blindingly obvious omission.
The next time you'll see me here is when this obvious and monumentally missed opportunity has been realised and coding work finished! I'm back to use the slightly cheaper HTMLArea - which incidentally can be found at http://www.interactivetools.com/
Although I don't have time for this, I also tried just inserting some js at the end of my document in the hope that the FCKConfig instance had been created and would over-ride any previous settings! Well, it didn't of course.
Re: Changing image upload URL's + paths
Ok, if you don't want to read a little then go and pay them instead of using FCKeditor for free.