Les articles publiés sur le site
-
|traduire_nom_langue
25 juin 2010, par Mark — Filters|traduire_nom_langue is applied to the #LANG tag and returns a translation of the language code provided by that tag (fr, en, it, etc.) into that language. Remarks: The translation of codes are made into the language that that code represents, and will follow the writing conventions of that (...) -
|unique
25 juin 2010, par Mark — FiltersThe |unique filter (since spip) returns the value of the tag that is is applied to only if it is the first time that that tag is encountered. It is therefore applied to a tag located inside a loop. In order to differentiate several independent uses within the loop, it is possible to pass a (...) -
|url_absolue
25 juin 2010, par Mark — Filters|url_absolue (since SPIP 1.8.2) works in the same way as the |liens_absolus filter, but is applied to a tag that returns a URL (e.g. #URL_ARTICLE or #URL_RUBRIQUE...). Examples: Filters -
|url_absolue_css
25 juin 2010, par Mark — FiltersThe |url_absolue_css filter applied to a stylesheet file will transform all relative URLs into absolute URLs. Note that the |compacte filter employs this filter within its own processes. - Filters -
|vider_attribut
25 juin 2010, par Mark — FiltersThe vider_attributattribut filter (since SPIP 1.9) is a variant of the inserer_attribut filter. It is used to delete html attributes. For example, we might want to reset an attribute before assigning it a specific value: [(#LOGO||vider_attributstyle|inserer_attributstyle,'width:100px;')] This (...)