Hi there!
I am running:
CakePHP: 2.1.1 stable
CKEditor: CKEditor 3.6.2
On a local server, I extracted the directory to my root directory.
http://localhost:8888/admin/ckeditor/
WIth admin being the root directory.
I tried the samples directory:
http://localhost:8888/admin/ckeditor/_s ... index.html
And I'm presented with a white page with unordered lists. Each link goes to a demo of sorts that works properly.
In one of my cakeviews, I include the javascript file:
<html>
<head>
<title>Sample CKEditor Site</title>
<script type="text/javascript" src="/ckeditor/ckeditor.js"></script>
</head>
I doublecheck and the IDE confirms that it's able to access the javascript file. Great.
I test the sample script provided for "Quick Start", below:
<form method="post"> <p> My Editor:<br /> <textarea id="editor1" name="editor1"><p>Initial value.</p></textarea> <script type="text/javascript"> CKEDITOR.replace( 'editor1' ); </script> </p> <p> <input type="submit" /> </p> </form> </body> </html>
Re: CKEditor Installation
If you extract the contents of CKEditor under http://localhost:8888/admin/ckeditor/, then your script should load it from that path
<script type="text/javascript" src="/admin/ckeditor/ckeditor.js"></script>
I don't really understand why the IDE states that the previous path is right, but I also can't understand why you say that your root is /admin/ instead of /