I have uploaded ckeditor and ckfinder to
/ckeditor and /ckfinder
browsing through the sample files, www.domain.com/ckfinder/_samples/js/ckeditor.html, the editor finds ckfinder properly when clicking on the editor image link and then browse server button.
My editor will be called from a file in the root directory.
e.g. www.domain.com/pagewitheditor.php
I am including these files on the page
<script type="text/javascript" src="/ckeditor/ckeditor.js"></script>
<script type="text/javascript" src="/ckfinder/ckfinder.js"></script>
When I click on the image icon and then browse server though, the code is trying to call
www.domain.com/ckfinder.html
instead of
www.domain.com/ckfinder/ckfinder.html
What do I need to modify for ckeditor to set the correct path for ckfinder?
THX!!
Fri, 11/27/2009 - 12:05
#1
Re: CKEditor cant find ckfinder.html
In case anyone else runs into this.....
I had copied the code from _samples/js/ckeditor.html
and pasted it into my file.
This line needed modified
CKFinder.SetupCKEditor( editor, '../../' ) ;
to
CKFinder.SetupCKEditor( editor, '/myckfinderpath/' ) ;