Hola Quique,
Para lo que quieres hacer creo que es mejor emplear el filtro "alterner", es decir, alternar, como se explica en http://www.spip.net/es_article149.html.
Otro comentario,
<span style="font-size: 11pt">, <font face="Verdana" style="font-size: 9pt"> y similares dentro del codigo. Este tipo de atributos deberían ir en el estilo correspondiente al bloque, definido en la hoja de estilo. Hay unas cuentas ventajas para ello:
- menos código HTML, por tanto, la página pesa menos y se gasta menos ancho del banda.
- Más fácil hacer modificaciones, ya que los estilos están centralizados
Un cordial saludo
====================
Javier
From: "Metrodel" <master@metrodelegados.com.ar>
Subject: [Spip-es] Consulta por bucle Articles
La idea es que debajo del Titulo de la seccion, el primer articulo aparezca alineado a la izquierda, el segundo a la derecha y asi sucesivamente...
Dentro del bucle ARTICLES, arme un bucle que llame al primer articulo y lo muestre en una capa con el texto alineado a la izquierda, debajo otro bucle con {doublons} pero con la capa con el texto alineado a la derecha. Hasta alli barbaro...... pero lee solo esos dos articulos!!
Copio debajo el bucle a ver si alguien encuentra una salida....
Salu2
Quique
www.corrientepraxis.org.ar
[(#REM) ARTICULOS DEL BOLETIN EDICION ACTUAL ]
<B_boletin01>
<BOUCLE_boletin01(ARTICLES) {id_rubrique=41} {0,1} {par date} {inverse} {doublons}>
[(#REM) TABLA CON EL LOGO - TITULO - DESCRIPCION ]
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1">
<tr>
<td class="tablita02">
<BOUCLE_nombre(RUBRIQUES){id_rubrique}>
<a href="#URL_RUBRIQUE">[(#LOGO_RUBRIQUE|left||image_reduire{250,300})]</a>[(#TITRE|supprimer_numero)<br>]<font face="Verdana" style="font-size: 8pt">
[(#DESCRIPTIF)<br /><br />]</font>
</BOUCLE_nombre>
</td>
</tr>
</table>
[(#REM) Aparece el primer articulo ]
<div class="tablita03">
<div><font face="Verdana" style="font-size: 8pt; font-weight: 700">[(#SURTITRE)<br /><br />]</font></div>
<div><font face="Verdana" style="font-size: 11pt; font-weight: 700"><a class="link03" href="#URL_ARTICLE" [title="(#DESCRIPTIF|textebrut|entites_html)"]>[(#TITRE)<br /><br />]</a></font></div>
<div><span style="font-size: 11pt">[(#SOUSTITRE)<br /><br />]</span></div>
<div><font face="Verdana" style="font-size: 9pt">[(#DESCRIPTIF)<br /><br />]</font></div>
</div>
[(#REM) Aparece el segundo articulo - Alineacion a la izquierda]
<BOUCLE_boletin02(ARTICLES) {id_rubrique=41} {0,1} {par date} {inverse} {doublons}>
<div><a href="#URL_ARTICLE">[(#LOGO_ARTICLE|left||image_reduire{150,90})]</a></div>
<div class="tablita03">
<div><font face="Verdana" style="font-size: 8pt; font-weight: 700">[(#SURTITRE)<br />]</font></div>
<div><font face="Verdana" style="font-size: 11pt; font-weight: 700"><a class="link03" href="#URL_ARTICLE" [title="(#DESCRIPTIF|textebrut|entites_html)"]>[(#TITRE)<br /><br />]</a></font></div>
<div><span style="font-size: 11pt">[(#SOUSTITRE)<br />]</span></div>
<div><font face="Verdana" style="font-size: 9pt">[(#DESCRIPTIF)<br />]</font></div>
</div>
</BOUCLE_boletin02>
[(#REM) aparece el tercer articulo - Alineacion a la derecha ]
<BOUCLE_boletin03(ARTICLES) {id_rubrique=41} {0,1} {par date} {inverse} {doublons}>
<div><a href="#URL_ARTICLE">[(#LOGO_ARTICLE|right||image_reduire{150,90})]</a></div>
<div class="tablita03">
<div align="right"><font face="Verdana" style="font-size: 8pt; font-weight: 700">[(#SURTITRE)<br />]</font></div>
<div align="right"><font face="Verdana" style="font-size: 11pt; font-weight: 700"><a class="link03" href="#URL_ARTICLE" [title="(#DESCRIPTIF|textebrut|entites_html)"]>[(#TITRE)<br /><br />]</a></font></div>
<div align="right"><span style="font-size: 11pt">[(#SOUSTITRE)<br />]</span></div>
<div align="right"><font face="Verdana" style="font-size: 9pt">[(#DESCRIPTIF)<br />]</font></div>
</div>
</BOUCLE_boletin03>
</BOUCLE_boletin01>
</B_boletin01>