Hi all,
I'm making a website in PHP and i want to put a "Submit Form" for people want send me news. I want to use FCKeditor to the form but i've do this :
_______________
<head>
<script type="text/javascript" src="/FCKeditor/fckeditor.js"></script>
<?php include("config.php"); require("functions.php"); ?>
<style type="text/css">
@import url("style.css");
</style>
</head>
_______________
And where i want (here, in a php file which is included):
_______________
<form action="sampleposteddata.asp" method="post" target="_blank">
<script type="text/javascript">
var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
oFCKeditor.BasePath = "/FCKeditor/" ;
oFCKeditor.Create() ;
</script>
<br>
<input type="submit" value="Submit">
</form>
_______________
But i get this error : "FCKConfig is not defined". The baspath is good : the page which has the form is http://localhost/animoo/?pid=Submit&Kind=Article and the path of fckeditor is : http://localhost/animoo/FCKeditor/ !
So if someone has the solution it would be great since i really want to include FCKeditor in my website!
Thanks a lot
RE: Error: "FCKConfig is not defined"
a bit like my question about paths ...
https://sourceforge.net/forum/forum.php ... _id=379487