Lo de las plantillas:
Action Menu > Manage Template >crear nuevo template (selecciona plain text), selecciona List View, le das el nombre productos lista, y pegas el siguiente código en la ventana editor:
<table border="0">
<tbody>
<tr>
<td width="400"><span style="font-size: 12px; font-weight: bold;"><xmod:field name="ProductName" detaillink="true" encodehtml="true"/></span></td>
<td align="right"><img src="Portals/{XMOD_PortalId}/Clientes/Imagenes/<xmod:field name='Vineta'/> width="50" height="50"/></td>
</tr>
<tr><td colspan="2"><xmod:field name="ShortDesc" maxlength="500"/></td></tr></tbody></table>
Como verás el link de la imagen del ListView Template no me funciona, no me ha dado tiempo de arreglarlo, pero te servirá para comprender la lógica en tres capas de xmod (Form, List view, Detailled view). SI lo arreglas, postea por fa
.
Luego, manage template de nuevo, create new template, lo nombras Productos - detallados, selecciona el plain text y te vas a la ventana editor donde pegas el código siguiente:
<div border="0" width="80%" class="Normal"><h2><xmod:field name="ProductName"/></h2>
<xmod:dateadded class="NormalBold" format="MMMM dd, yyyy"/><br />
<div style="text-align: justify;"><xmod:field name="Parrafo1"/></div><br />
<div style="text-align: justify;"><xmod:field name="Parrafo2"/></div><br />
<div style="text-align: justify;"><xmod:field name="Parrafo3"/></div><br />
<div style="text-align: justify;"><xmod:field name="Parrafo4"/></div><br />
<div style="text-align: justify;"><img src="Portals/{XMOD_PortalId}/Clientes/Imagenes/<xmod:field name='Foto' />" /></div></div>
Ahora, para hacer lo funcionar, tienes que ir en un modulo XMOD (no el formview) y seleccionar configure Xmod Module en el menu de acciones: desde aqui, seleccionas la fuente de datos (el primer formulario), el list view template (productos - lista) y el detailled view (productos - detallado) y guardas.
Para ver algo, le das a Add item y rellenas el formulario, seleciona las imagenes (no te olvides de darle al upload link) y envias el formulario.
Luego te aparece el list view, le dás al titulo y te carga la página detallada.
Espero haber sido claro (tengo mis dudas razonables
)
Saludos.