Edición de «CKEditor, el mejor WYSIWYG.»
De KumbiaPHP Framework Wiki
Advertencia: no has iniciado sesión. Tu dirección IP se hará pública si haces cualquier edición. Si inicias sesión o creas una cuenta, tus ediciones se atribuirán a tu nombre de usuario, además de otros beneficios.
Puedes deshacer la edición. Antes de deshacer la edición, comprueba la siguiente comparación para verificar que realmente es lo que quieres hacer, y entonces guarda los cambios para así efectuar la reversión.
Revisión actual | Tu texto | ||
Línea 1: | Línea 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<!-- ESTO NORMALMENTE DEBERIA ESTAR EN TU ARCHIVO CSS. ES SOLO PARA EL EJEMPLO DE ABAJO --> | <!-- ESTO NORMALMENTE DEBERIA ESTAR EN TU ARCHIVO CSS. ES SOLO PARA EL EJEMPLO DE ABAJO --> | ||
<style> | <style> | ||
− | blue-especial { color:#266FDC; } | + | blue-especial { font color:#266FDC; } |
− | orange-especial { color:#F2AC24; } | + | orange-especial { font color:#F2AC24; } |
</style> | </style> | ||
− | |||
− | |||
<?php | <?php | ||
# CKEDITOR, EDITOR WYSIWYG. DESCARGA: http://ckeditor.com/download | # CKEDITOR, EDITOR WYSIWYG. DESCARGA: http://ckeditor.com/download | ||
Línea 21: | Línea 11: | ||
echo Tag::js( 'ckfinder/ckfinder' ); | echo Tag::js( 'ckfinder/ckfinder' ); | ||
?> | ?> | ||
− | |||
− | |||
<script> | <script> | ||
// RUTA DEL CKFINDER. FEATURES: http://docs.cksource.com/ckfinder_2.x_api/ | // RUTA DEL CKFINDER. FEATURES: http://docs.cksource.com/ckfinder_2.x_api/ | ||
Línea 38: | Línea 26: | ||
CKEDITOR.config.height = 400; | CKEDITOR.config.height = 400; | ||
</script> | </script> | ||
− | |||
− | |||
<!-- | <!-- | ||
− | RECUERDA CAMBIAR | + | RECUERDA CAMBIAR LO SIGUIENTE EN /javascript/ckfinder/config.php |
− | + | POR DEFECTO ESTA EN FALSE Y NO VERAS LOS ARCHIVOS DEL SERVIDOR | |
function CheckAuthentication() | function CheckAuthentication() | ||
{ | { | ||
Línea 50: | Línea 36: | ||
} | } | ||
− | + | AQUI EL PUBLIC DE TU APP | |
$baseUrl = '/'; | $baseUrl = '/'; | ||
− | + | CAMBIA images POR img | |
'url' => $baseUrl . 'img', | 'url' => $baseUrl . 'img', | ||
'directory' => $baseDir . 'img', | 'directory' => $baseDir . 'img', | ||
− | + | CAMBIA flash POR swf | |
'url' => $baseUrl . 'swf', | 'url' => $baseUrl . 'swf', | ||
'directory' => $baseDir . 'swf', | 'directory' => $baseDir . 'swf', | ||
--> | --> | ||
− |