i have integrated CKFinder into FCKEditor and am trying to run the selectFunction.
I have found the following line in ckfinder.js :
this.SelectFunction = selectFunction || testfunction;
But when im trying to run the 'testfunction', nothing happens. It doesnt error or anything, is this the correct setup to get this working if im using the file browser through FCKEditor?
Basically, im trying to run a function with a CFC, when a user selects a file. Is this possible?
If i can get the SelectFunction to work, im sure i can do the rest.
Help please?
I have found the following line in ckfinder.js :
this.SelectFunction = selectFunction || testfunction;
But when im trying to run the 'testfunction', nothing happens. It doesnt error or anything, is this the correct setup to get this working if im using the file browser through FCKEditor?
Basically, im trying to run a function with a CFC, when a user selects a file. Is this possible?
If i can get the SelectFunction to work, im sure i can do the rest.
Help please?
Re: selectFunction
The SetUrl function can be found in:
- fckeditor\editor\dialog\fck_link\fck_link.js
- fckeditor\editor\dialog\fck_image\fck_image.js
- fckeditor\editor\dialog\fck_flash\fck_flash.js
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: selectFunction
Re: selectFunction
The problem I'm trying to solve is, that when I select an image in ckfinder, the URL input field in the Image Dialog gets updated correctly, but the preview window in the dialog can't find the image and shows noimage.png.
BasePath is set to '../../ckfinder/'
Any idea anyone?
Re: selectFunction