Friday, July 20, 2012

How to use fck editor in php

First download the fck editor and ck finder and place them in your directory and  replace the path with your own path

ckeditor from here ---
http://ckeditor.com/download/

ckfinder from here ----
http://ckfinder.com/download/
 

basePath = 'http://localhost/test_new2/wp-content/themes/twentyeleven/ckeditor/';
CKFinder::SetupCKEditor($ckeditor, '/ckfinder/');
$ckeditor->editor('CKEditor1');
$FCKeditor->Width = '220px';
$FCKeditor->Height = '100px';
$ckeditor->ckeditor->config['toolbar'] = 'Full';
$ckeditor->ckeditor->config['language'] = 'en';
*/
?>

No comments:

Post a Comment