-
The |foreach filter applies the squelettes-dist/modeles/foreach.html model to display the key=>value pairs of the table to which it is applied in a legible fashion. After #SETtablo, #ARRAY0,a,1,b,2,c,3,d, [(#GETtablo|foreach)] will return: 0=> a 1=> b 2=> c 3=> d If (...)
-
The |date_relative filter, when applied to any #DATE... type tag, will display information associated with the tag depending on the context date. Example: the current date and time is Friday 25th September 2009 14:20. An article was recently published on Wednesday 23rd September 2009 at 10:20. (...)
-
The |copie_locale filter creates a local copy of a remote file (image, text, pdf, html,...) originating from another web domain. When applied to a URL, this filter attempts to copy the file to which the URL is pointing, and then, if that operation completes successfully, it will return the (...)
-
To use a filter that has been defined in a plugin, when you can not actually be sure that the plugin is both installed and activated, then you ought not, since SPIP 2.1, call that filter directly ( [(#BALISE|specific_function)] ), because this will generate a compilation error - instead, you (...)
-
SPIP 1.9 If we create a form which has its operational action as a link that takes arguments (for example, when you use the #SELF tag with the default type of URL), then we must submit those values in hidden fields; this function evaluates the form and calculates the fields in question in such (...)