Hi Guys,
Really love this app.....I think its the best one out there!
Have one question: How or is it possible to use the file browser and uploader from outside the editor as a separete application?
Really love this app.....I think its the best one out there!
Have one question: How or is it possible to use the file browser and uploader from outside the editor as a separete application?
RE: Using File Browser/uploader separately
RE: Using File Browser/uploader separately
<server/context>/FCKeditor/editor/filemanager/browser/default/browser.html?Connector=connectors/jsp/connector
This works when I use an anchor to open a new window. However I can't seem to get it to work in a popup window by using the javascript fuction for window.open(...). I want to use a popup to make the navigation more consistent (similar to clicking "Browse Server" in the link window. This will also allow me to make the URL for the connector much less obvious.
I've brought in much of the code from the fck_link.js BrowseServer() function but I cannot get the window.open to work. From what I can tell it's not a popup blocking problem from the browser and I have no JS errors getting output to the console.
Is this some limitation of the how the file browser utility is set up? If anyone has any suggestions please pass them along. Thanks.
RE: Using File Browser/uploader separately
<script>
function SetUrl(url)
{
document.frm.txtFile.value=url;
}
</script>
Then start the filebrowser like this in your form:
<form name="frm">
<input type="text" name="txtFile">
<input onClick="Javascript:window.open('../fckeditor/editor/filemanager/browser/default/browser.html?Type=Image&Connector=connectors/asp/connector.asp','Filebrowser','width=800,height=600');" type="button" name="Browse">
</form>
Hope it helps!
RE: Using File Browser/uploader separately
RE: Using File Browser/uploader separately
SetUrl( url, width, height, alt )
I don't care about the alt text, but the width and height would be nice.
How do I modify Javascript:window.open('../fckeditor/editor/filemanager/browser/default/browser.html?Type=Image&Connector=connectors/asp/connector.asp','Filebrowser','width=800,height=600') to be able to have it call SetUrl( url, width, height, alt )?
Thanks