Les articles publiés sur le site
-
|singulier_ou_pluriel{xxx:single_item_string, xxx:several_items_string}
14 août 2010, par Mark — FiltersThe |singulier_ou_pluriel filter is used to vary an output display depending on the numeric value returned by the tag to which it is applied. The |singulier_ou_pluriel filter is usually applied to assign (singular or plural) character strings depending on the return value of a tag. Example: (...) -
{doublons}
14 août 2010, par Mark — Criteriadoublons is used to restrict the display of results that are already included in other loops using that criteria. Background: Starting with [SPIP 1.2] and up until [SPIP 1.7.2], only the ARTICLES, RUBRIQUES, DOCUMENTS and SITES loops would accept this criteria. The doublons (duplicates) (...) -
|attribut_html
14 août 2010, par Mark — FiltersThe attribut_html filters converts a text string so that it can be used as an HTML attribute without causing any damage - checking and replacing any characters which would render the final HTML ambiguous or unusable; for example, if we want to add a mouseover text to a normal link to an (...) -
#ARRAY
14 août 2010, par Mark — TagsThe #ARRAY tag may contain a PHP table or array, i.e. a collection of key/value pairs that needs to be stored so that they can be reused later in the template. The array must be declared using the #SET tag and can then later be retrieved using the #GET tag [1]. It can be then be used, amongst (...) -
#ANCRE_PAGINATION
14 août 2010, par Mark — TagsThe #PAGINATION tag creates (by default) an HTML anchor [1] which enables the browser to directly display the part of the page which is paginated; for example, sometimes we might want to put pagination links below a list of articles, but also, at the same time, we might want to place the anchor (...)