Loops and Tags Reference Manual
How to create pages for a site managed by SPIP, using SPIP’s own language for loops, tags and filters.
Articles in this section
- Loops and tags
- The syntax of SPIP’s loops
- SPIP’s tags: the syntax
- The ARTICLES loop
- The RUBRIQUES Loop (Sections)
- The AUTEURS Loop (Authors)
- The FORUMS loop
- The MOTS Loop (Keywords)
- The DOCUMENTS loop
- The SITES loop (or Syndication)
- The SYNDIC_ARTICLES Loop (Syndicated Articles)
- The HIERARCHIE (hierarchy) Loop
- The DATA loop
- Tags available throughout the site
- The CONDITION loop
- Forms
- Criteria applicable to all loops
- SPIP’s Filters
- Recursive loops
- The articles’ "popularity"
- Managing Dates
- The #LOGO_XXX tags
- The Pagination System
Subsections
- Criteria
-
Filters
(see also the page on : SPIP’s Filters)
- Tags
-
Variables and Constants for customisation
Some behaviours of the pages on your site can be modified using PHP variables or constants. These variables or constants are normally defined by SPIP, but to provide more delicate customisations of the site, the webmaster has the capability to modify them.
Most of these customisations are defined in themes_options.php
file that you must carefully be located in theconfig/
directory of the site.
This file must be a PHP file starting with<?php
and ending with?>
(remember not to leave spaces or blanks lines before<?php
or after?>
).