I believe you can just call the function SetUrl of the image dialog from your filemanager. You can find the function in fckeditor\editor\dialog\fck_image\fck_image.js, line 425 ('function SetUrl( url, width, height, alt )')
saul11 wrote:I believe you can just call the function SetUrl of the image dialog from your filemanager. You can find the function in fckeditor\editor\dialog\fck_image\fck_image.js, line 425 ('function SetUrl( url, width, height, alt )')
saul11 wrote:I believe you can just call the function SetUrl of the image dialog from your filemanager. You can find the function in fckeditor\editor\dialog\fck_image\fck_image.js, line 425 ('function SetUrl( url, width, height, alt )')
how would you call this function?, i've got the url ready on the client side, what must i add to make the url be passed back to fck?
saul11 wrote:I believe you can just call the function SetUrl of the image dialog from your filemanager. You can find the function in fckeditor\editor\dialog\fck_image\fck_image.js, line 425 ('function SetUrl( url, width, height, alt )')
how would you call this function?, i've got the url ready on the client side, what must i add to make the url be passed back to fck?
(Please note that this is not the base tag in the html page but an Fckeditor option)
Is the relative path '/file_thumbnailer.ashx?file_id=2' correct, or should it be '../file_thumbnailer.ashx?file_id=2'? If so just add '..' to your path when sending it to the FCKeditor.
saul11 wrote:(Please note that this is not the base tag in the html page but an Fckeditor option)
Is the relative path '/file_thumbnailer.ashx?file_id=2' correct, or should it be '../file_thumbnailer.ashx?file_id=2'? If so just add '..' to your path when sending it to the FCKeditor.
the file_thumbnailer.ashx would be sitting on the same level as the fckeditor folder on the root level of the web server, so would i need to use "/" or "../"
saul11 wrote:hmm ../ would indeed be useless if you already have / so ignore my previous reply. But are you sure your 'ile_thumbnailer.ashx' is in the document root? The link http://localhost:3323/FileManager%20Cod ... ?file_id=2 point to it in dir 'FileManager Codebase 1.5'. So insteasd of '/file_thumbnailer.ashx?file_id=2' it might be '/FileManager Codebase 1.5/file_thumbnailer.ashx?file_id=2' that you need.
this has really help, i now got it working as you suggested,
if you know any other way or what i need to change in fckeditor's config.js to make it i only need to pass /file_retriever.ashx?file_id=2 that would be great
Re: custom filemanager passing url back to fckeditor
You can find the function in fckeditor\editor\dialog\fck_image\fck_image.js, line 425 ('function SetUrl( url, width, height, alt )')
Re: custom filemanager passing url back to fckeditor
http://www.codeplex.com/fckeditfilemanager
Re: custom filemanager passing url back to fckeditor
how would you call this function?, i've got the url ready on the client side, what must i add to make the url be passed back to fck?
Re: custom filemanager passing url back to fckeditor
BUT
http://localhost:3323/FileManager%20Cod ... ?file_id=2
Re: custom filemanager passing url back to fckeditor
Re: custom filemanager passing url back to fckeditor
Re: custom filemanager passing url back to fckeditor
Is the relative path '/file_thumbnailer.ashx?file_id=2' correct, or should it be '../file_thumbnailer.ashx?file_id=2'? If so just add '..' to your path when sending it to the FCKeditor.
Re: custom filemanager passing url back to fckeditor
the file_thumbnailer.ashx would be sitting on the same level as the fckeditor folder on the root level of the web server, so would i need to use "/" or "../"
Re: custom filemanager passing url back to fckeditor
http://localhost:3323/FileManager%20Cod ... ?file_id=2
Re: custom filemanager passing url back to fckeditor
Re: custom filemanager passing url back to fckeditor
Re: custom filemanager passing url back to fckeditor
so i take it i don't need to use basehref, just pass /FileManager Codebase 1.5/file_thumbnailer.ashx?file_id=2 back to fckeditor
Re: custom filemanager passing url back to fckeditor
But basehref is actually for when you have a "Back Office system that produces contents to another site (different domain)"
Re: custom filemanager passing url back to fckeditor
this has really help, i now got it working as you suggested,
if you know any other way or what i need to change in fckeditor's config.js to make it i only need to pass /file_retriever.ashx?file_id=2 that would be great
Re: custom filemanager passing url back to fckeditor
http://ckfilemanager.codeplex.com/