Welcome Guest, Not a member yet? Register   Sign In
Implentation of FCKeditor

Can anyone help me that how can i implement the fckeditor in my code page. To show the editor the code is
   $oFCKeditor = new FCKeditor('notes') ;
$oFCKeditor->BasePath = 'fckeditor/' ;
$oFCKeditor->Value  = "";
$oFCKeditor->Width  = '700' ;
$oFCKeditor->Height = '450' ;
$oFCKeditor->Create() ;

Whereever i m trying for
include, include_once, require, require_once
function but it shows the following error :

Warning: require(libs/fckeditor.php) [function.require]: failed to open stream: No such file or directory in D:\wamp\www\mvc\index.php on line 8

Please helpme, its urgent.....

Thanks in advance

Create it to a CI library then load it using CI

Hello PM InsiteFX

I am not that much experience in mvc format that i create a library...

Is there any reference or something then please give help me...


See this thread:


How to install FCKEditor

I do not use this one anymore, I use the newer CKEditor now.


This relative path is not resolved well, obviously. I would try an absolute path, something like this:

require FCPATH.'additional/path/here/fckeditor/fckeditor.php';

or (because I don't know where the file actually is):

require APPPATH.'additional/path/here/fckeditor/fckeditor.php';

Try to calculate somehow an absolute path and use it.

k, thank u for the reply....

i will try it.

Theme © iAndrew 2016 - Forum software by © MyBB