Tag
Sections
Useful tags to know
Among the many tags that SPIP contains by default, some are used frequently enough to deserve special mention here. Name Description (...)
Articles
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 (...)
ecrire/balise
Declarations of dynamic tags and generic tags
Generic tags
Another clever SPIP mechanism is the provisioning of tags that might be termed as generic. In fact, it is possible to use a single tag (...)
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 (...)
Retrieving the object and id_object
This article will show how to retrieve the type (object) and identifier of a loop, so that they can be used in the calculations of a tag. (...)
Generic tags
SPIP offers some powerful tools for creating special tags that reflect the context of the page, the current loop, or simply the tag’s name.
It (...)The contents of loops (boucles)
The content extracted from the selection made by a SPIP loop is displayed by using tags. Systematically, whenever a table has an SQL field "x", (...)
The #ENV environment
We use the word environment to define the combined collection of variables that are passed to a particular template. We may also sometimes speak (...)
Quick overview
SPIP transforms templates into static pages. Templates are mainly composed of loops () which select elements, typically sets of records, and (...)
Automatic tag processes
Most SPIP tags, especially those that involve reading data from the database, perform some automatic processes to block malicious code that (...)