RUBRIQUES
Articles
Nested loops
It is often useful to nest loops within each other to display more complicated elements. Nesting loops in this way makes it possible to use values (…)
The language of an object
Some editable objects in SPIP, such as sections and articles , have a language field stored in their corresponding SQL tables, which makes it (…)
Recursive loops
A common concept in many programming languages, an algorithm (a data-processing code) which makes reference calls to itself is described as being (…)
Modifying all of your templates in one hit
Thanks to some special hooks, it is possible to use a single simple operation on a complete set of template files to modify the behaviour of a (…)
Contents of parent loops
Sometimes it’s useful to retrieve contents from a loop which is a parent of the current loop, just by using an ordinary SPIP tag. SPIP offers a (…)
The IN operator
There are some other operators that allow for more specific selections. The IN operator selects records based on a list of possible matching (…)
#LANG_DIR
Returns the writing direction