Les articles publiés sur le site
-
#EMBED_DOCUMENT
#EMBED_DOCUMENT is a tag that is used to embed the document into the generated page rather than just referencing it. This tag has since been deprecated, being as it is a particular case of using models (see Using models) which enable the such embedding to be modularised in a more flexible and (...) -
#EVAL
The technical tag #EVAL returns the value calculated by evaluating the PHP expression that is passed as an argument: #EVAL2*7 will display 14, #EVAL_DIR_IMG_PACK will display the path to the ecrire/img_pack/ directory, #EVALphpversion() will display the server's PHP version number (...) -
#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 (...)