#_n:BALISE

In case of embedded loops, it is sometimes useful to retrieve the content of a parent loop from the current loop using a tag. SPIP has a syntax for this (n being the identifier of the desired loop):

#_n:TAG

Example

Systematically display the section title along with the article title:

<BOUCLE_rubs(RUBRIQUES)>
        <ul>
              <BOUCLE_arts(ARTICLES){id_rubrique}>
              <li>#_rubs:TITRE - #TITRE</li>
              </BOUCLE_arts>
        </ul>
</BOUCLE_rubs>

Author jack Published :

Translations : English, français, Português