This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## serializar( $array ); | |
te hace un merge de un array separado por comas, útil por ejemplo para un IN (id1, id2) | |
## unserializar ? ? | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//sea q.data("_secciones") un array compuesto por objetos del tipo { titulo: "texto aquí", otrasPropiedades: "etc"}; | |
// dado un string, oculta todas las secciones hijas que no coinciden con ese criterio de búsqueda | |
"_filtra": function(busqueda){ | |
const q = this.quontrol; | |
const secciones = q.data("_secciones"); | |
const visibles = secciones.filter((seccion) => | |
q._eliminarTildes(seccion.titulo).includes( q._eliminarTildes(busqueda) ) | |
); | |
q.find(".qawb_nodo").hide(); | |
for (const seccion of visibles) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//función auxiliar que elimina las tildes de un string | |
"_eliminarTildes": function(texto) { | |
return texto | |
.normalize("NFD") | |
.replace(/[\u0300-\u036f]/g, "") | |
.toLowerCase(); | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
->lista("SUM(time_to_sec(qpersonal_registro_personal_dia.horas_tt))/3600 as total_tt"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Diapositiva de contacto | |
Se duplica una diapo existente, tenemos algunas en invest (DEV) o en La Rioja (quejas y sugerencias) o en Gran Canaria en PRO. | |
Los campos se pueden configurar en el json: | |
Para decidir a quién le llega el formulario: | |
* Se saca el id web | |
* Se va a variables, y se busca el idvariable de **destinatarioFormularioPublico** (1299 en pro) | |
* En variables valores, se pone el email del destinatario para esa web y esa variable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Páginas quidificadas | |
### Se puede invocar a una función de Quid (o SVN) desde qWeb sin necesidad de un módulo, o incluso intercala con el contenido editable de la página. | |
Para ello: | |
1) Crear la pagina en qWeb de forma normal, obtener su ID (desde el árbol) | |
2) Buscar en la BD el registro de la página | |
3) En el campo "tipocontenido" establecer el valor: quid | |
4) En el campo "contenido" ponemos la llamada a API, por ejemplo: | |
* ```[[{"api":"Faqs.fichaFaqPublica","carga_id":"3"}]]``` | |
* ```[[{"api":"DataObjetivos.DataControl.ultimosValoresIndicadores","var_expandido":1,"where":"DataObjetivos.id=1454"}]]``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Visibilidad y acceso a páginas web | |
En qWeb una página puede estar visible o no en función de si estás autenticado, y permitir acceso o no en función de si estás autenticado. | |
Esto se cambia desde BD con los campos: | |
* **visibilidad_autenticación**: para la visibilidad de la sección, pero no afecta si metes la url a mano). Este también se puede cambiar desde la interfaz de qWeb en "opciones avanzadas" | |
* **acceso_autenticacion**: limita el acceso a una página, independientemente de si está visible o no en el menú, solicitando autenticación. Se puede elegir entre varios tipos de autenticación: UNED,PDI, etc.. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
• Entrar en qinnova como Santiago en pro (pedirle que ponga su pass) | |
• configuracion->Usuarios->centro que sea ->insertar personas | |
En esta misma pantalla, podemos gestionar los permisos, si hacemos click arriba a la derecha en “Acciones” | |
Si por un casual un usuario ya pertenece a otro centro, y queremos que pertenezca a dos, acudimos a: | |
Webex -> (panel derecho) configuración general -> permisos de usuario ->(centro al que pertenece)-> ? (creo, era algo así) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Abrir en Acrobat PRO | |
Guardar como otro -> optimizado -> (versión acrobat 4, no limpiar, no descartar objetos, no descartar datos de usuario) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Enlaces principales | |
[conocimiento.quned.es](http://conocimiento.quned.es) | |
[https://sugestion.quned.es/conocimiento](https://sugestion.quned.es/conocimiento) | |
[www.unedgrancanaria.es](http://www.unedgrancanaria.es) | |
[www.unedtudela.es](http://www.unedtudela.es) |