I develop a large number of websites, and would like to use one install of FCK editor that would be referenced by a number of different domains. However, I have not been able to successfully set up FCK editor with a basepath like http://www.domain.com/fckeditor/, and access it from another domain using the FCKeditor PHP class.
e.g.
--------------------
$fck = new FCKeditor( 'textfield' );
$fck->BasePath = 'http://www.otherdomain.com';
$fck->Value = 'Test';
$fck->Create();
--------------------
Is this supported?
Tue, 04/26/2005 - 21:54
#1
RE: Using a full URL as BasePath
I had a similar problem.. recieving the error message "Permission Denied".
The workaround I found was, in my case all the sites are on the same server so you can set the base path to something like:
http://www.localsite.com/~mainsite/scripts/fckeditor
..that way it's still accessing it locally. Obviously will only work if your server is set up in that way. Hope that helps!