Les articles publiés sur le site
-
#SELF
#SELF returns the URL of the called page, cleaned of any variables specific to running SPIP. #SELF (since spip) returns the URL for the current page. Any variables specific to running SPIP (e.g. var_mode) are deleted. Example: for a page with the URL: spip.php?article25&var_mode=recalcul, the (...) -
#SESSION
[SESSION#SESSION, is used to access the data linked to an authenticated site visitor and to automatically use a differentiated cache constructed for each visitor. #SESSION is used to access certain data that are specific to the visitor. The details for an authenticated visitor are: id_auteur: (...) -
#SET and #GET
The #SET tag defines a variable that will be usable throughout the rest of the same template file. The #GET is then used to retrieve the value of that variable. #SETvariable,value #GETvariable returns "value". The variable defined by #SET may be a character string or an array. A character (...) -
#TAILLE
#TAILLE ("size" in French) displays the size in bytes of the document. For very large files, this value can rapidly become incomprehensible; we can therefore then apply the |taille_en_octets filter, which will display the value in kilobytes, or megabytes where appropriate: (...) -
#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: [There are (...)