#TOTAL_BOUCLE

The #TOTAL_BOUCLE tag returns the total number of results displayed by the loop. It can be used in a loop in one of the optionalsections — either before or after — or even in the alternative section after the loop.
For example, to display the number of documents linked to an article:

<BOUCLE_art(ARTICLES){id_article}>
  <BOUCLE_doc(DOCUMENTS) {id_article}></BOUCLE_doc>
    [There are (#TOTAL_BOUCLE) document(s).]
  <//B_doc>
</BOUCLE_art>

See also the #COMPTEUR_BOUCLE tag.

Author Mark Published : Updated : 26/10/12

Translations : عربي, català, English, Español, français, Nederlands