Boucles SPIP spéciales


Un menu avec des icônes redimensionnés

<BOUCLE_rubriques(RUBRIQUES){id_parent=0}{par titre}{doublons}>
	[(#LOGO_RUBRIQUE|center||reduire_image{20})]<a href="#URL_RUBRIQUE">#TITRE</a>
		<B_srubrique>
		<br />
		<BOUCLE_srubrique(RUBRIQUES){id_parent}{par titre}{doublons}>
		&nbsp;&nbsp;&nbsp;&nbsp;[(#LOGO_RUBRIQUE|center||reduire_image{20})]<a href="#URL_RUBRIQUE">#TITRE</a>
		</BOUCLE_srubrique> 
		</B_srubrique>
	<br />
</BOUCLE_rubriques>


Pour faire afficher les 5 dernières brèves (titre + date) ayant un mot-clé (id_mot=x où x est le numéro du mot-clé) d'associé.


<B_mot_robot>
<div class="bloc">
<!--liste des brèves ayant mot-clé robot-->
<div class="titre_som">Robots</div><br />
<BOUCLE_mot_robot(BREVES){id_mot=5}{par date}{inverse}{0,5}>
<img src="puce.gif"><a href="#URL_BREVE">[(#TITRE|supprimer_numero)]</a><br /> &nbsp;&nbsp;&nbsp;<font size="1">le [(#DATE|affdate)]</font><br />
<br />
</BOUCLE_mot_robot>	
</div>
</B_mot_robot>


Pour afficher les 10 derniers articles (titre + date) ayant un mot-clé d'associé (ici id_mot=1)


<B_mot_coeur>
<div class="bloc">
<div class="titre_som"> Coups de coeur</div><br />
<BOUCLE_mot_coeur(ARTICLES){id_mot=1}{par date}{inverse}{0,10}>
<img src="puce.gif"><a href="#URL_ARTICLE">[(#TITRE|supprimer_numero)]</a><br /> &nbsp;&nbsp;&nbsp;<font size="1">le [(#DATE|affdate)]</font><br />
<br />
</BOUCLE_mot_coeur>	
</div>
<br />
</B_mot_coeur>

 
IMP :: RSS :: HTML :: TXT :: Clone :: Historique :: Propriétaire : PierreLachance ::