I am using a PHP script and trying to figure out how to get the editor to work properly. I finally got the editor woking in my scripts by doing the following:
$content = "";
echo ("<div>");
echo ("<input type='hidden' id='MyEditor' name='MyEditor' value='$content'>");
echo ("<input type='hidden' id='MyEditor___Config' value='Key1=Value1&Key2=Value2&... (Key/Value:HTML encoded)'>");
echo ("<iframe id='MyEditor___Frame' src='/FCKeditor/editor/fckeditor.html?InstanceName=MyEditor&Toolbar=Default' width='100%' height='500' frameborder='no' scrolling='yes'></iframe>");
echo ("</div>");
Now when I try to insert/edit an image I get the upload/download window and the resources dropdown only shows images. The browse server button does not show anything. Upload looks as if it works, but I can't find the file - anywhere on the server. The create folder gives me an alert that says I have no permission to create the folder.
It appears that some default path is being used but I don't even know were to start. Any help would be appreciated.
$content = "";
echo ("<div>");
echo ("<input type='hidden' id='MyEditor' name='MyEditor' value='$content'>");
echo ("<input type='hidden' id='MyEditor___Config' value='Key1=Value1&Key2=Value2&... (Key/Value:HTML encoded)'>");
echo ("<iframe id='MyEditor___Frame' src='/FCKeditor/editor/fckeditor.html?InstanceName=MyEditor&Toolbar=Default' width='100%' height='500' frameborder='no' scrolling='yes'></iframe>");
echo ("</div>");
Now when I try to insert/edit an image I get the upload/download window and the resources dropdown only shows images. The browse server button does not show anything. Upload looks as if it works, but I can't find the file - anywhere on the server. The create folder gives me an alert that says I have no permission to create the folder.
It appears that some default path is being used but I don't even know were to start. Any help would be appreciated.