Les articles publiés sur le site
-
|extraire_attribut
The |extraire_attributattribute_name filter (since SPIP 1.8.2) is used to retrieve the value of a specific attribute from an HTML tag. For example: Suppose that the #LOGO_SITE_SPIP tag generates the HTML code: , In that case: [(#LOGO_SITE_SPIP||extraire_attributsrc)] (...) - Filters / (...) -
|extraire_balise
The |extraire_balisetag_name filter is used to retrieve the first HTML tag with the name "tag_name" found within the the HTML source generated by the tag to which it is applied. Example: We are syndicating a photo blog site which systematically distributes a small commentary followed by a (...) -
|fichier
The |fichier filter (since SPIP 1.4 ) can only be applied to a #LOGO tag. It returns the full access path to the file corresponding to the logo associated with the document. Examples: [(#LOGO_DOCUMENT|fichier)] might return "prive/vignettes/pdf.png" (for the standard thumbnail in SPIP), or (...) -
|find
The |find filter is applied to an array to check the existence of a specific value within that array (table) The |find file is used to check the existence of a given value in the array to which it is applied: [(#GETmy_array|findthe_value|oui) This text will display if the value of "the_value" (...) -
|hauteur
The |hauteur filter is applied to an image element (LOGO tag, typographical image, ...) and returns the calculated height for that element once it has been filtered. The height returned is expressed in pixels. Example: after having applied the |image_reduire250, 500 filter to a logo, we can (...)