php code:
include_once 'ckeditor/ckeditor.php';
include_once 'ckfinder/ckfinder.php';
$ckeditor1 = new CKEditor();
$ckeditor1->basePath = '/ckeditor/';
CKFinder::SetupCKEditor($ckeditor1, '/ckfinder/');
$ckeditor1->editor('CKEditor1');
Static pages generated code:
<textarea name="CKEditor1" rows="8" cols="60"></textarea>
<script type="text/javascript">//<![CDATA[
window.CKEDITOR_BASEPATH='/ckeditor/';
//]]></script>
<script type="text/javascript" src="/ckeditor/ckeditor.js?t=A39E"></script>
<script type="text/javascript">//<![CDATA[
CKEDITOR.replace('CKEditor1', { ... });
//]]></script>
But It doesn't work because of javascript's error!
The error : 'CKEDITOR' is not defined!
Why! help me!
include_once 'ckeditor/ckeditor.php';
include_once 'ckfinder/ckfinder.php';
$ckeditor1 = new CKEditor();
$ckeditor1->basePath = '/ckeditor/';
CKFinder::SetupCKEditor($ckeditor1, '/ckfinder/');
$ckeditor1->editor('CKEditor1');
Static pages generated code:
<textarea name="CKEditor1" rows="8" cols="60"></textarea>
<script type="text/javascript">//<![CDATA[
window.CKEDITOR_BASEPATH='/ckeditor/';
//]]></script>
<script type="text/javascript" src="/ckeditor/ckeditor.js?t=A39E"></script>
<script type="text/javascript">//<![CDATA[
CKEDITOR.replace('CKEditor1', { ... });
//]]></script>
But It doesn't work because of javascript's error!
The error : 'CKEDITOR' is not defined!
Why! help me!