[ar] [ast] [bg] [br] [ca] [co] [cpf] [cs] [da] [de] [en] [eo] [es] [eu] [fa] [fon] [fr] [gl] [id] [it] [ja] [lb] [nl] [oc] [pl] [pt] [ro] [ru] [sk] [sv] [tr] [uk] [vi] [zh] Espace de traduction



June 2010

All the versions of this article:

_TRI_ARTICLES_RUBRIQUE is used to define the sort order for displaying the articles listed in the panel labeled "In the same section" on the /?exec=articles&id_article=xxx page, as well as the sort order for displaying articles in the pabel labeled "All the articles published in this section" on the /?exec=naviguer&id_rubrique=xx page in the private zone.

By default, SPIP orders articles by their publishing date (the SQL field date) from the most recent to the oldest.

It is possible to define this constant in your config/mes_options.php file (refer to the article dedicated to The mes_options.php file).


// sort the articles in the private zone on the modification
// date, showing the most recent modified first down to the
// least recently modified
define('_TRI_ARTICLES_RUBRIQUE', 'date_modif DESC');

Show the template of this page Site powered by SPIP | Translation area | Private area