Cita:
Iniciado por DooBie Eso te funcionaria de pasar el fichero js por el intérprete de php, pero tal cual, nunca te funcionará.
lo que puse antes esta en el archivo fckconfig.js y después en mi html tengo esto:
Código HTML:
Ver original <input type="text" class="text-long" name="titulo" value="<?php echo $datos['titulo'];?>"/>
<?php
$oFCKeditor = new FCKeditor('texto') ;
$oFCKeditor->ToolbarSet = 'Normal' ;
$oFCKeditor->BasePath = $config->get('urlRoot').$config->get('adminViewsFolder').'js/fckeditor/' ;
//Ancho del TextArea
$oFCKeditor->Width = '100%' ;
//Alto del TextArea
$oFCKeditor->Height = '400' ;
if($datos['texto'] ==''){
$oFCKeditor->Value = '' ;
}
else{
$oFCKeditor->Value = $datos['texto'];
}
$oFCKeditor->Create() ;
?>
a eso te referias?