[Documentation de SPIP] PUBLIE : 6. The RUBRIQUES Loop (Sections)

Article publié
--------------

L'article "6. The RUBRIQUES Loop (Sections)" a été validé par George.

** 6. The RUBRIQUES Loop (Sections) **
par Paul Knight le dimanche 5 octobre 2003

This loop returns a list of sections (rubriques).

<BOUCLEn(RUBRIQUES)criterion... >

Note. A RUBRIQUES loop only displays "active" sections, i.e. those
containing published articles, attached documents (from [SPIP 1.4]),
published sites or active sub-sections. In this way, you avoid empty
sections which do not offer any navigation.

Selection Criteria

You should use one of the following criteria to indicate which sections
are selected.

tout all active sections in the site are returned.

id_rubrique returns the section identified by (...)

-> http://www.spip.net/spip_redirect.php3?id_article=2084