Hello,
I'm trying to use FCKEditor and I'm experiencing difficulties. My main problem is that Javascript is (much worst than) greek to me...
Here is my test program :
<? session_start(); include_once "../fckeditor/fckeditor.php"; echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <head><title>Calendrier-annuaire de la vie associative locale</title> <meta http-equiv="content-type" content="text/html; charset=iso-8859-15"> <style type="text/css"> BODY { background: #BBEFFF; color: navy; font-family: Optimum,Helvetica,Verdana,sans-serif; font-size: medium; width: 80%; margin: auto; text-align: center;} </style> </head> <body> <form action="voirtest.php" method="post" target="_blank">'; // $_SESSION['descrtemp']='mon beau texte'; $oFCKeditor1 = new FCKeditor('descrtemp1') ; $oFCKeditor1->BasePath = '/fckeditor/' ; $oFCKeditor1->Value = $_SESSION['descrtemp1'] ; $oFCKeditor1->Create() ; $oFCKeditor1->Config['CounterName'] = 'counter001' ; $oFCKeditor1->Config['MaxLength'] = '500' ; echo '<input type="text" name="counter001" id="counter001" value="500" disabled>'; echo '<br><br>'; $oFCKeditor2 = new FCKeditor('descrtemp2') ; $oFCKeditor2->BasePath = '/fckeditor/' ; $oFCKeditor2->Value = $_SESSION['descrtemp2'] ; $oFCKeditor2->Create() ; $oFCKeditor2->Config['CounterName'] = 'counter002' ; $oFCKeditor2->Config['MaxLength'] = '2500' ; echo '<input type="text" name="counter002" id="counter002" value="2500" disabled>'; echo '<br> <input type="image" name="submit" src="images/visu.gif" align="middle" alt="Visualiser"> </form> </body></html>'; ?>
Re: Basic help for a newbie
Re: Basic help for a newbie
Hello LesBarstow,
Thank you for your answer. I did this, but unfortunately, it doesn't work.
Re: Basic help for a newbie
does it works with the current FCKeditor ?
Re: Basic help for a newbie
Thank you for your answer, Alfonso. Yes I have.
As far as I know, it is the newest characters counter plugin, so, isn't it supposed to work ?
Re: Basic help for a newbie
I don't know.
I've never used those plugins as their concept is flawed (IMHO), but I've always seen people claiming everynow and then that they can't make it work.