Syntax
Sections
The templates
SPIP generates HTML pages from templates, where each of these templates contains a combination of HTML code, SPIP loops and selection criteria, (...)
Articles
Using the language codes
Any language idiom (externally defined character strings) can be referenced in a SPIP template file using this syntax: <:prefix:code:> (...)
The complete syntax of language codes
The complete syntax is as shown below: <:prefixe:codeparam=value|filtreparams:>
Parameters
The language codes can receive parameters which (...)Accessing a declared database
Every additionally declared database can be accessed using SPIP loops as follows: <BOUCLE_externe(name:TABLE)>
The name parameter (...)Polyglots (multi tags)
A in english
This means that multilingual elements can easily be written within templates without needing to use language codes and strings as (...)Forcing joins
SPIP’s automatic detection capabilities are sometimes limited, and so two syntax variants are offered for forcing table joins or the fields of the (...)
Contextual pipelines
It is often necessary to pass contextual arguments to the pipeline on top of the data returned by the pipeline. This is possible by using a table (...)
The syntax of loops
A loop typically declares both a database table from which to extract information as well as the criteria to be used for selecting a subset of (...)
The syntax of language strings
Language-specific strings, known as "idioms" within SPIP, are the codes assigned to the existing translations in the files stored in the lang/ (...)
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 (...)
Tag syntax, the definitive version
Just like loops (boucles), tags often have optional components, and can sometimes also accept parameter arguments. Asterisks can be applied to (...)