CodeIgniter Forums
Implentation of FCKeditor - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Implentation of FCKeditor (/thread-60079.html)



Implentation of FCKeditor - El Forum - 01-11-2014

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

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

Code:
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


Implentation of FCKeditor - El Forum - 01-11-2014

[eluser]InsiteFX[/eluser]
Create it to a CI library then load it using CI



Implentation of FCKeditor - El Forum - 01-13-2014

[eluser]rash[/eluser]
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...




Implentation of FCKeditor - El Forum - 01-13-2014

[eluser]InsiteFX[/eluser]
See this thread:

FCKEditor

How to install FCKEditor

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



Implentation of FCKeditor - El Forum - 01-13-2014

[eluser]ivantcholakov[/eluser]
Code:
include("fckeditor/fckeditor.php");

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

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

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

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

Try to calculate somehow an absolute path and use it.


Implentation of FCKeditor - El Forum - 01-19-2014

[eluser]rash[/eluser]
k, thank u for the reply....

i will try it.