Hello, I am sorry to post here but I've spent hours on this and I don't understand why it doesn't work.
I have ckeditor and ckfinder folders instlled in the ROOT of the server.
I have the following code in the HEAD section:
and I have the following code in the page:
All the paths seem fine to me but somehow it will not work. I tried everything but the browser just does NOT appear. I would love some help and thank you if you are reading my post! Thanks!
I have ckeditor and ckfinder folders instlled in the ROOT of the server.
I have the following code in the HEAD section:
<script type="text/javascript" src="/ckeditor/ckeditor.js"></script> <script type="text/javascript" src="/ckfinder/ckfinder.js"></script>
and I have the following code in the page:
<script type="text/javascript"> if ( typeof CKEDITOR == 'undefined' ) { document.write( '<strong><span style="color: #ff0000">Error</span>: CKEditor not found</strong>.' + 'This sample assumes that CKEditor (not included with CKFinder) is installed in' + 'the "/ckeditor/" path. If you have it installed in a different place, just edit' + 'this file, changing the wrong paths in the <head> (line 5) and the "BasePath"' + 'value (line 32).' ) ; } else { var editor = CKEDITOR.replace( 'data' ); editor.setData( '<p>Just click the <b>Image</b> or <b>Link</b> button, and then <b>"Browse Server"</b>.</p>' ); // The second parameter (optional), is the path for the CKFinder installation (default = "/ckfinder/"). CKFinder.SetupCKEditor( editor, '/ckfinder/' ); } </script> <textarea class="ckeditor" cols="80" id="data" name="data" rows="10"></textarea>';
All the paths seem fine to me but somehow it will not work. I tried everything but the browser just does NOT appear. I would love some help and thank you if you are reading my post! Thanks!
Re: trouble with ckfinder + ckeditor
The textarea filed needs to be BEFORE the javascript.