Thursday, July 24, 2008
  Search 
Categorías
  
Más Vistos
  
Actualizados
  
Soporte Web

Current Articles | Categories | Search | Syndication

Tuesday, October 10, 2006
Visor de Videos You Tube con XMOD
Por javier @ 2:15 AM :: 141 Vistas :: 0 Comentarios :: :: Módulos
 

El formulario de introducción de datos (Utiliza copiar y pegar)

<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 que es posible "filtrar" los registros que muestra el módulo XMOD por "Categorías", de esta forma podrás añadir varias páginas con un módulo XMOD en cada una de ellas, configurado para mostrar los registros de la categoría que te interese.

Deberás también hacer una página con enlaces a las otras páginas.

 Ejemplo Real

Predicador Ramírez - Base de datos de videos de Blues "Los Videos de los Profetas"

Rating
Comentarios
Currently, there are no comments. Be the first to post one!
Click here to post a comment
  
Inicio Servicios Soporte Técnico Ejemplos Contacto
Sugestionweb.com - C/ Andrade 287 1º 3ª 08020 BCN - Telf. +034 610678556   |  Terms Of Use  |  Privacy Statement