Hello,
Hopefully someone can help me.
I have followed the guide: http://wiki.fckeditor.net/Developer%27s_Guide/Configuration/Built_in_File_Browser
whcich demonstrates how to use the File Browser/Chooser outside of FCKeditor.
I have FCKeditor installed on my site, the "FCKeditor" folder is in the root of my website directory.
As per the wiki article I have downloaded pick.js referenced this in my page source and put a HTML button control on the page that calls 'BrowserServer('objectID')
I DO want to use the aspx connector so I have left my pick.js code as default.
When I click my button I get the following error:
HTTP Error 404 - Not Found.
The function calls:
/FCKeditor/editor/filemanager/browser/default/browser.html?Type=Image&Connector=connectors/aspx/connector.aspx
The FCKeditor folder is in the same directory (root) as pick.js
The file browser.html does exist in the above directory
and my connector does exist in connectors/aspx/connector.aspx
Has anyone else been able to get this working with ASP.net? I have FCKeditor installed on my site and the file browser/uploader work fine for this.
Many thanks,
Retroviz
Re: Using the File Browser outside of FCKeditor
Had to remove the leading "/" from "/FCKeditor/editor/filemanager..." in pick.js
However then had a problem loading the asp.net connector.
Looking at the the connector param passed to Browser.html? - "browser/default/browser.html?Type=Image&Connector=connectors/aspx/connector.aspx'"
the URL is relative to the path of Browser.html. However in the version of FCKeditor I have installed (latest), the aspx connector is in ...FileManager/Browser/Connectors/aspx NOT ...FileManager/Browser/Default/Connectors/aspx
As I did not want to change any of the functions in Browser.html (in case this affected FCKeditor) I took the easy option and created a "connectors" folder in ...Browser/Default and then copied in my aspx folder.
At least this way, I have the option to change the connector configuration for the separate upload control without changing the settings used with FCKeditor.
Hope that helps people who have had similar issues.
Thanks,
Retroviz
Re: Using the File Browser outside of FCKeditor
You should just take a look at the fckconfig.js file and adjust your call to the browser that way instead of duplicating files.