• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Implentation of FCKeditor

#1
[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

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

#3
[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...


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

FCKEditor

How to install FCKEditor

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

#5
[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.

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

i will try it.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.