Part of the EllisLab Network
   
2 of 2
2
CKeditor and CI implementation
Posted: 18 January 2011 05:51 PM   [ Ignore ]   [ # 16 ]  
Summer Student
Total Posts:  2
Joined  01-18-2011

I have problems with window.parent.CKEDITOR.tools.callFunction(1, $url)
Argument “1” didn`t want to work. This is how i solved problem, mybe it will be useful for somebody.

parse_str($_SERVER['QUERY_STRING']$_GET);
$ckefunc $_GET['CKEditorFuncNum'];
$output "<html><body>< script type='text/javascript'>window.parent.CKEDITOR.tools.callFunction($ckefunc, '$url');< /script></body></html>";
echo 
$output
Profile
 
 
   
2 of 2
2