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 14: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.dnnole.com
Nuevo Mensaje
 05/08/2009 22: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 21: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.dnnole.com
Nuevo Mensaje
 11/08/2009 11:28
 

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

Nuevo Mensaje
 11/08/2009 18: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.dnnole.com
Anterior Anterior
 
Siguiente Siguiente
ForumForumForos específic...Foros específic...XModXModAyuda para lista desplegable en plantillaAyuda para lista desplegable en plantilla

En total, tenemos 1098 nuevo(s) hilo(s) y 5265 nuevo(s) mensaje(s)
Los hilos más populares han estado en ¿por que?
Los hilos más activos han estado en no veo el portal desde los pc's de la red

Más activos


UserTotalPosts
jmaldonadom 1101
anonymous 798
javier 488
Faco 395
hiunkeru 184
vitolo 182
Guillaume 168
ccolonia 159
dormio 157
elijo_otroo 138
sonsai 84
Dreamvk 67
tirillos 48
vte_torres 47
oskr226 46

Últimos Mensajes...