Tema: typetool
KIN

Frecuente
Frecuente
Mensajes: 39

Enviado:
7.sep 2006 - 18:15

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
avatar
Posteador de Oro
Posteador de Oro
Mensajes: 1490

Enviado:
7.sep 2006 - 18:33

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
  1. <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
  1. <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)


Hispa-PN.net - Desarrollos PostNuke

KIN

Frecuente
Frecuente
Mensajes: 39

Enviado:
7.sep 2006 - 23:04

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
avatar
Colaborador
Colaborador
Mensajes: 384

Enviado:
7.sep 2006 - 23:08

Te recomiendo que como estas modificando un javascript, recuerda eliminar el cache de tu maquina para que carge el script modificado. Suerte.



El portal de la Industria y la construcción.


gerkynet
avatar
Posteador de Oro
Posteador de Oro
Mensajes: 1490

Enviado:
7.sep 2006 - 23:10

¿Que tema tienes, xanthia, autotheme o estático?

(esa es la configuración de typetool por defecto, la del tema la sobreescribe)


Hispa-PN.net - Desarrollos PostNuke