ARTICLES
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 (…)
Criteria syntax
The loops criteria for are written between curly brackets just after the tables names. spip
Any SQL field in a table can become a selection (…)Optional criteria
Sometimes it’s useful to make a selection only if the environment contains the requested tag. For example, we might hope to filter the loops based (…)
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 (…)
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 (…)
Special language criteria
Some special loop criteria make it possible to retrieve articles in a specifically desired language.
lang
First of all, the quite simple lang (…)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 (…)
AJAX links
In addition to the includes that contain a pagination mechanism, it is possible to specify links to be reloaded using AJAX by adding the CSS class (…)
AJAX paginations
Includes which have the ajax criteria are used to reload only the part of the page that has been included. Most of the time, you must also include (…)
#INTRODUCTION
Displays an introduction