_MAX_MOTS_LISTE

Beyond a certain number of keywords, browsing a simple list becomes fastidious. SPIP provides a system that triggers the appearance of a search field instead of the list of keywords.

  • New in : SPIP 2.0

By default, this alternative display is triggered from the 50th keyword entered into the system. As is normally the case, this value is a constant that you can therefore modify to suit your own customised needs: _MAX_MOTS_LISTE

This constant can be defined in your config/mes_options.php file (refer to The mes_options.php file)

Example:

// display the keyword search field as soon as there are more than 10 keywords
define('_MAX_MOTS_LISTE', 10);

Author Mark Published : Updated : 02/07/23

Translations : English, français, Nederlands