KIN
Enviado: 07/09/2006 a las 18:09
Frecuente
Karma: 0 (0 Votos)
Registrado: 09/05/06
Mensajes: 39
Estado: Desconectado Ultima visita: 23/04/07
cuando se va a escribir en un cuadro de texto el editor prwegunta sis desea que lo utilicen a lo que el usuerio responde aceptar/cancelar
como puedo hacer que se obvie esto y que aparezca por defecto
gerkynet
Enviado: 07/09/2006 a las 18:09
Posteador de Oro
Karma: 7 (77 Votos)
Registrado: 11/02/06
Mensajes: 1490
Estado: Desconectado Ultima visita: 18/11/06
Tienes que cambiar las opciones del lanzador del script, en la página principal del tema, o en la plantilla deautotheme, o.., tienes esto:
Código <scr ipt type="text/javascript" >VISUAL=0 ; FULLCTRL=1 ; SECURE=1 ; USETABLE=1 ; USEFORM=1 ; LANGUAGE="language_spa.js" ;</scri pt>
debes cambiarlo a:
Código <scri pt type="text/javascript" >VISUAL=1 ; FULLCTRL=1 ; SECURE=1 ; USETABLE=1 ; USEFORM=1 ; LANGUAGE="language_spa.js" ;</sc ript>
(quizás el script se llame language.js)
KIN
Enviado: 07/09/2006 a las 23:09
Frecuente
Karma: 0 (0 Votos)
Registrado: 09/05/06
Mensajes: 39
Estado: Desconectado Ultima visita: 23/04/07
Cita
/*** CONFIGURATION - HERE YOU CAN SET DEFAULT-VALUES ********************/
if(typeof(SECURE)=="undefined") SECURE=1; //=0,1
if(typeof(VISUAL)=="undefined") VISUAL=1; //=0,1,2,3 see bottom of this file
if(typeof(POPWIN)=="undefined") POPWIN=1; //=1,0 Rightclick Popup dialog for textarea
if(typeof(DFFACE)=="undefined") DFFACE=''; // 'times new roman'; // Default fontFamily of Editor
if(typeof(DFSIZE)=="undefined") DFSIZE=''; // '14px'; // Default fontSize
if(typeof(DCOLOR)=="undefined") DCOLOR=''; // 'blue'; // Default color
if(typeof(DBGCOL)=="undefined") DBGCOL=''; // 'green'; // Default backgroundColor
if(typeof(DBGIMG)=="undefined") DBGIMG=''; // Default URL-backgroundImage
if(typeof(DCSS)=="undefined") DCSS=''; // 'test.css'; // Default-Stylesheet-URL
if(typeof(SYMBOLE)=="undefined") SYMBOLE='<QBFBR>' ; // Symbole for end-of-field in clipboard-chipcard.
if(typeof(USETABLE)=="undefined") USETABLE=1; // Enable table editor
if(typeof(USEFORM)=="undefined") USEFORM=0; // Enable form input
if(typeof(RETURNNL)=="undefined") RETURNNL=1; // Return-Button= Newline; Shift+Return= New Paragraph
if(typeof(FULLCTRL)=="undefined") FULLCTRL=0; //=0,1; 0=fast loading; 1=all control rows at bottom of Edi.
if(typeof(VDEVCSS)=="undefined") VDEVCSS= 'vdev.css'; // Edi. layout file - not for content of editor
if(typeof(LANGUAGE)=="undefined") LANGUAGE= 'language.js'; //your language file
/*********************** END CONFIGURATION ****************************/
es lo unico que encontre, pero no me funciona cambiando los valores que dices
por otra parte
el archivo languaje.js es la traduccion al español
si de algo sirve la version detypetool es 8.0
MrGer
Enviado: 07/09/2006 a las 23:09
Colaborador
Karma: 9 (30 Votos)
Registrado: 24/05/04
Mensajes: 384
Estado: Desconectado Ultima visita: 02/02/08
Te recomiendo que como estas modificando un javascript, recuerda eliminar el cache de tu maquina para que carge el script modificado. Suerte.
gerkynet
Enviado: 07/09/2006 a las 23:09
Posteador de Oro
Karma: 7 (77 Votos)
Registrado: 11/02/06
Mensajes: 1490
Estado: Desconectado Ultima visita: 18/11/06
¿Que tema tienes, xanthia, autotheme o estático?
(esa es la configuración de typetool por defecto, la del tema la sobreescribe)