ENV
Articles
Radio and checkbox fields
To display element lists of radio or checkbox controls, the syntax provided for wrapping the elements uses a . This formatting makes it possible (...)
#ENV
Retrieves an environment variable’s value
Displaying the form
A file formulaires/joli.html is called from a template file using the syntax #FORMULAIRE_JOLI, which then calls and displays the form.
The (...)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 (...)
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 (...)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 (...)
The environment’s language
SPIP passes the language requested by the site visitor to the first template, which can be retrieved by using the #ENVlang function within a (...)
Passing parameters to includes
You can pass one or more parameters to code segments that have been included in a template. By default, nothing is passed to included code (...)