I have integrated CKFinder with CKEditor. Both the most recent versions, just downloaded today. I can upload files no problem, but when I try to go and select a image from CKFinder so that it passes the URL back to CKEditor it doesn't work. The option to select isn't in the right click menu of CKFinder and a double click of the image doesn't return the URL either.
I am integrating into a CodeIgniter project and am using the following code:
asset_url() just returns the url to where I store all my JS files and what not.
I am integrating into a CodeIgniter project and am using the following code:
asset_url() just returns the url to where I store all my JS files and what not.
$this->load->library('ckeditor'); $this->load->library('ckFinder'); //configure base path of ckeditor folder $this->ckeditor->basePath = asset_url().'js/ckeditor/'; //$this->ckeditor->config['toolbar'] = 'Basic'; $this->ckeditor->config['toolbar'] = $toolbar; $this->ckeditor->config['scayt_autoStartup'] = TRUE; $this->ckeditor->config['resize_enabled'] = FALSE; $this->ckeditor->config['language'] = 'en'; $this->ckeditor->config['enterMode'] = 'CKEDITOR.ENTER_BR'; //CKFinder Config $this->ckeditor->config['filebrowserBrowseUrl'] = asset_url() . 'js/ckfinder/ckfinder.html'; $this->ckeditor->config['filebrowserImageBrowseUrl'] = asset_url() . 'js/ckfinder/ckfinder.html?type=Images'; $this->ckeditor->config['filebrowserFlashBrowseUrl'] = asset_url() . 'js/ckfinder/ckfinder.html?type=Flash'; $this->ckeditor->config['filebrowserUploadUrl'] = asset_url() . 'js/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files'; $this->ckeditor->config['filebrowserImageUploadUrl'] = asset_url() .'js/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Images'; $this->ckeditor->config['filebrowserFlashUploadUrl'] = asset_url() . 'js/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Flash';
Re: CKFinder - Select Option
Does it happen in all browsers?
Is CKEditor launched inside of a modal dialog or in any other non-standard environment?
Could you check if the CKEditor integration sample works fine for you (_samples\ckeditor.html)?
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+