Hi everyone,
First, sorry for my english.
I just purchased a license, installed, configured and integrated th ckFinder in my website. Since I m a very poor javascript developper, I went for the php integration alternative.
I d like to do something pretty simple, but as I said already, I m a poor javascript developper. I d like to call a personnal javascript function when selecting an element in the finder. I have:
$finder->SelectFunction = "my_personal_jsFunction";
and everything goes just well; my_personal_jsFunction does nothing more than displaying an alert box that says "hello"
But now, i d like to pass to that function, a simple string value containing the selected file's url. It seems logical and common, but i ve seen no topic in the forum that explained this point easily enough. So I know i have to use the SelectedFunctionData property, but how do I do it in php? And where do I find the file's url to pass it to my personal function?
Thanks for your help!
Mon, 03/08/2010 - 09:06
#1
Re: How to pass data to SelectFunction
The first argument that is passed by CKFinder there is the file Url.
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: How to pass data to SelectFunction