Tak jsem chtěl vyzkoušel i tu variantu:
// FCK init
$mydir = str_replace("/admin.php","",$_SERVER['SCRIPT_NAME']);
echo "
<script type=\"text/JavaScript\">
function FCKinit() {
var oFCKeditor = new FCKeditor( 'aeuvod', '580px', '250px') ;
oFCKeditor.Config['CustomConfigurationsPath'] = '".$mydir."/fckeditor/fckconfig.js' ;
oFCKeditor.BasePath = '".$mydir."/fckeditor/' ;
oFCKeditor.Config['SkinPath'] = oFCKeditor.BasePath + 'editor/skins/silver/' ;
oFCKeditor.ToolbarSet = 'MyBasic' ;
oFCKeditor.ReplaceTextarea() ;
}
window.onload=FCKinit;
</script>
";
Tak s tímhle mi to vůbec nespustí FCKeditor. Zjevně je potřeba ještě něco jiného, než tím nahradit tu část
include_once("./FCKeditor/fckeditor.php");
$oFCKeditor = new FCKeditor('aeuvod') ;
$oFCKeditor->ToolbarSet=$jakygenerovat;
$oFCKeditor->Value= RS_CLA_CL_FORM_UVOD_INFO ;
$oFCKeditor->Height = '150' ;
$oFCKeditor->Create() ;
(podle [
http://www.phprs.net/forum/read.php?14,24566,24575#msg-24575] )
Do tohoto opravdu nějak nevidím. PHP trochu, ale java je pro mne španělská vesnice... :-(
=== JiHo === WEB:
Jitřní země ===