Les articles publiés sur le site
-
#EXTENSION
#EXTENSION (since SPIP 2.0) displays the file format extension of the current document, e.g. pdf, jpeg, mov, ra... - Tags / BOUCLE(DOCUMENTS), #EXTENSION, SPIP 2.0 -
#FICHIER
The #FICHIER tag (since SPIP 1.8.2) displays the relative URL of the document [1]; for example: IMG/pdf/my_document.pdf. To extract just the name of the file, we can apply the filter: |basename: [(#FICHIER|basename)] (will display my_document.pdf). An interesting usage of this tag is obtained (...) -
#DEBUT_SURLIGNE
The #DEBUT_SURLIGNE tag specifies from which point in the template that the sought after expressions, if they are found in the page, will start to be visually highlighted (displayed with a coloured background). This tag is to be used in conjunction with #FIN_SURLIGNE. There is also further (...) -
#FIN_SURLIGNE
The #FIN_SURLIGNE tag specifies from which point in the template that the sought after expressions, if they are found in the page, will no longer be visually highlighted (displayed with a coloured background). This tag is to be used in conjunction with #DEBUT_SURLIGNE. There is also further (...) -
#FOREACH
The #FOREACH tag is used to "loop" through a content equivalent to a table array calculated within the template file, by applying a SPIP model to each of its member elements. #FOREACHtag, model Examples Within any template, using #FOREACHenv will display all the variables of the #ENV tag as (...)