Les articles publiés sur le site
-
|sinon
25 juin 2010, par Mark — FiltersThe |sinon filter (since SPIP 1.6) displays the argument that is passed to it if the tag to which it is applied returns an empty result: [(#TEXTE|sinon"there is no text")] will display the contents of the #TEXTE tag if that field is not empty, otherwise "there is no text" if #TEXTE returns (...) -
|supprimer_numero
25 juin 2010, par Mark — FiltersThe |supprimer_numero filter is used for not displaying the number prefixes [1] included in an object's title. Applied to the title "0118. Title of my article", [(#TITRE|supprimer_numero)] will then display "Title of my article". - (...) -
|supprimer_tags
25 juin 2010, par Mark — FiltersThe |supprimer_tags filter deletes all of the HTML tags () from the tag that is applied to while still retaining the contents of those same tags. For example, a #DESCRIPTIF tag which contains: William Shakespeare naquit à Stratford-sur-Avon, dans une (...) - (...) -
|table_valeur
25 juin 2010, par Mark — Filters|table_valeur returns the value associated to a given key in a PHP array or table. |table_valeurkey,default value The |table_valeur filter (since spip) applied to a tag that returns a table, accepts a first parameter as a key in the array and returns the value associated with that key. See (...) -
|texte_backend
25 juin 2010, par Mark — FiltersThe |texte_backend filter appleid to a text tag will translate the HTML output of that tag into a format that is compatible with XML feeds. It is used, for example in the backend.html template used to generate the RSS feeds for SPIP-published content. This filter transforms links into absolute (...)