<?
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">';
$oFCKeditor = new FCKeditor('descrtemp') ;
$oFCKeditor->BasePath = '/fckeditor/' ;
$oFCKeditor->Config['CounterName'] = $_SESSION['descrtemp'];
$oFCKeditor->Config['MaxLength'] = 500;
$oFCKeditor->Value = $_SESSION['descrtemp'] ;
$oFCKeditor->Create() ;
echo '<br>
<input type="image" name="submit" src="images/visu.gif" align="middle" alt="Visualiser">
</form>
</body></html>';
?>FCKConfig.Plugins.Add( 'CharsCounter' );
Re: Help for a newbie ?
$oFCKeditor = new FCKeditor('descrtemp') ; $oFCKeditor->BasePath = '/fckeditor/' ; $oFCKeditor->Config['CounterName'] = $_SESSION['descrtemp']; $oFCKeditor->Config['MaxLength'] = 500; $oFCKeditor->Value = $_SESSION['descrtemp'] ; $oFCKeditor->Create() ;using another name in new FCKeditor('descrtemp') ;2) did you put the plugin also in the plugin directory?
Re: Help for a newbie ?
Re: Help for a newbie ?
<? 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">'; $oFCKeditor = new FCKeditor('descrtemp1') ; $oFCKeditor->BasePath = '/fckeditor/' ; $oFCKeditor->Value = $_SESSION['descrtemp1'] ; $oFCKeditor->Create() ; echo '<br><br>'; $oFCKeditor = new FCKeditor('descrtemp2') ; $oFCKeditor->BasePath = '/fckeditor/' ; $oFCKeditor->Value = $_SESSION['descrtemp2'] ; $oFCKeditor->Create() ; echo '<br> <input type="image" name="submit" src="images/visu.gif" align="middle" alt="Visualiser"> </form> </body></html>'; ?>Re: Help for a newbie ?
Re: Help for a newbie ?