Les articles publiés sur le site
-
#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 (...) -
#HTTP_HEADER
The #HTTP_HEADERargument tag (since SPIP 1.9) is used to modify the HTTP header for the page generated by SPIP. Remarks: #HTTP_HEADER can not be preceded by any character or blank space. #HTTP_HEADER must not be preceded by any other HTML code. Example: #HTTP_HEADER... ... not good! (...) - (...)