<form>
<controls>
<!-- Add Your Control Tags in This Area -->
<!-- You can create your tags using the above menu -->
<categorychooser ref="Categorias" appearance="minimal" class="NormalTextBox">
<label>Escoja el grupo del video: </label>
</categorychooser>
<input ref="Nombre" width="200" maxlength="200">
<label>Nombre</label>
</input>
<validate type="regexp" message="" expression=""/>
<input ref="RutaYouTube" width="400" maxlength="500">
<label>RutaYouTube</label>
</input>
<validate type="regexp" message="" expression=""/>
</controls>
</form>
Para la parrilla de videos utilizamos la siguiente plantilla (Añadela desde Gestionar Plantillas y personalizala a tu gusto)
<table border="0">
<tr>
<td class="normal"><div align="center><OBJECT height=175 width=250><PARAM NAME="movie" VALUE="<xmod:field name="RutaYouTube"/>">
<embed src="<xmod:field name="RutaYouTube"/>" type="application/x-shockwave-flash" height="175" width="250"></OBJECT>
</div></td>
</tr>
<tr>
<td class="normal"><div align="center"><xmod:field name="Nombre" class="normalbold" /></div><br><div align="center"><xmod:detailbutton text="Ver Grande" style="NormalBold" display="linkbutton" /></div></td>
</tr>
</table>
Para poder ver en grande el video, utilizamos una plantilla de detalle llamada por ej. DetalleVideo
<table width="425" height="425" border="0">
<tr>
<td><div align="center"><OBJECT height=425 width=500><PARAM NAME="movie" VALUE="<xmod:field name="RutaYouTube"/>">
<embed src="<xmod:field name="RutaYouTube"/>" type="application/x-shockwave-flash" height="425" width="500"></OBJECT>
</div></td>
</tr>
<tr>
<td width="325" height="21"><div align="center"><xmod:field name="Nombre" class="normalbold" /></div></td>
</tr>
</table>
<div align="center"><xmod:returnbutton text="Volver" class="Normalbold" display="linkbutton" /></div>
Para mostrar el paginador has de ir a la opción Gestionar Plantillas, editar la plantilla Parrilla Videos y en la pestaña "Template settings" seleccionar la opción "Show Pager"
En la pestaña "Item Settings" hay algunas opciones para terminar de personalizar el "paginador"
Comentar