DNN Designer
viernes, 10 de febrero de 2012   Entrar | Registro   Buscar
Ud. está aquí > Foros
 
 
InicioRecursosArtículosComunidadForosRSSProfesionalesContacto
Foros
 
ForumForumForos específic...Foros específic...XModXModAyuda para lista desplegable en plantillaAyuda para lista desplegable en plantilla
Anterior Anterior
 
Siguiente Siguiente
Nuevo Mensaje
 05/08/2009 15:05
 

Hola,

A ver si alguien me echa un cable, porque ando un poco perdido. Tengo un form+plantilla muy sencillos, que muestran una lista de artículos con media docena de datos, entre ellos el año y el mes. Lo que necesito es poder filtrar la plantilla a partir de un desplegable con los años, de forma que cuando el usuario elija un año, la plantilla sólo cargue los artículos de ese año.

Gracias,
Francisco


Francisco Pérez Andrés
DOTWARE · tecnología a punto
www.dotware.es
www.dotnetnukeole.com
Nuevo Mensaje
 05/08/2009 23:40
Respuesta Aceptada 

Creo que esto podría ayudarte...

Select "Configure XMod Module" from the Actions menu of any XMod module.
 
On the "General" tab, make sure you have a data-entry form selected. XMod uses this to determine which fields to make available to you.
 
Still on the "General" tab, in the filtering section, select which field you want XMod to filter on from the drop-down list box.
 
In the text box to the right of the list box, enter the value you want to use as the filtering condition. For instance, if the field you select is "FavoriteColors" - a multiple-value, or list-based field - then you might enter "red" to only show records in which the user selected "red" as their favorite color. Filtering is not case-sensitive.
 
If you choose a list-type field for filtering, you have another option available to you. Each item in a list has two components: the text displayed to the user and the value of the item. Depending on how you set up your list, these values may be the same or they may  be different. By default, XMod searches the display text of list fields. To direct it to search the values, check the "use values" check box.
 
One final note about list fields. You can choose list fields that allow multiple selections. However, in this case, XMod will only look for your filter value in the first selected item in the list.
 
Finally, save your changes and exit.

Nuevo Mensaje
 10/08/2009 22:20
 

¿A qué versión de Xmod corresponden esas instrucciones? No logro reproducirlas en mi portal.

Francisco


Francisco Pérez Andrés
DOTWARE · tecnología a punto
www.dotware.es
www.dotnetnukeole.com
Nuevo Mensaje
 11/08/2009 12:28
 

Es de la 5.5, te envío el pdf a tu mail...

Nuevo Mensaje
 11/08/2009 19:04
 

Je, yo tengo la 5.1, por eso no encuentro la configuración que mencionas. Anyway, muchas gracias por la pista.

Salu2,
Francisco


Francisco Pérez Andrés
DOTWARE · tecnología a punto
www.dotware.es
www.dotnetnukeole.com
Anterior Anterior
 
Siguiente Siguiente
ForumForumForos específic...Foros específic...XModXModAyuda para lista desplegable en plantillaAyuda para lista desplegable en plantilla

Estadísticas
En total, tenemos 1018 nuevo(s) hilo(s) y 5016 nuevo(s) mensaje(s)
Los hilos más populares han estado en Subir mi localhost a un Hosting
Los hilos más activos han estado en no veo el portal desde los pc's de la red
Inicio
Recursos
Artículos
Comunidad
Foros
RSS
Profesionales
Contacto
Últimos Mensajes...
Más activos

UserTotalPosts
jmaldonadom 1082
TColl 798
javier 487
Faco 357
vitolo 182
Guillaume 168
dormio 153
ccolonia 146
hiunkeru 140
elijo_otroo 134
sonsai 84
Dreamvk 67
tirillos 48
vte_torres 47
oskr226 46
 
Inicio | Recursos | Artículos | Comunidad | Foros | RSS | Profesionales | Contacto
Copyright 2007 tododnn.es | Términos de Uso | Declaración de Privacidad
DNN Designer