Ver Mensaje Individual
  #3 (permalink)  
Antiguo 10/09/2010, 17:37
Avatar de destor77
destor77
 
Fecha de Ingreso: noviembre-2004
Ubicación: Gálvez, Santa Fe, Argentina
Mensajes: 2.654
Antigüedad: 20 años, 3 meses
Puntos: 43
Respuesta: fckedito.js y variable php

Cita:
Iniciado por DooBie Ver Mensaje
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
  1.             <p><label>Titulo:</label>
  2.             <input type="text" class="text-long" name="titulo" value="<?php echo $datos['titulo'];?>"/>
  3.             </p>
  4.             <p><label>Contenido:</label>
  5.             <?php
  6.             $oFCKeditor = new FCKeditor('texto') ;
  7.             $oFCKeditor->ToolbarSet = 'Normal' ;
  8.             $oFCKeditor->BasePath = $config->get('urlRoot').$config->get('adminViewsFolder').'js/fckeditor/' ;
  9.             //Ancho del TextArea
  10.             $oFCKeditor->Width = '100%' ;
  11.             //Alto del TextArea
  12.             $oFCKeditor->Height = '400' ;
  13.             if($datos['texto'] ==''){
  14.             $oFCKeditor->Value = '' ;
  15.             }
  16.             else{
  17.             $oFCKeditor->Value = $datos['texto'];
  18.             }
  19.             $oFCKeditor->Create() ;
  20.                                     ?>      
  21.             </p>           
  22.         </fieldset>

a eso te referias?