_SPIP_SELECT_RUBRIQUES

_SPIP_SELECT_RUBRIQUES allows you to define the minimum number of sections at which the section selector of the edit forms switches to ajax mode.

When your site contains fewer than 20 sections, the section selector displayed when you edit an object is a drop-down menu. After this number, SPIP displays an ajax selector which allows you to navigate the tree structure and search for a section by its title.

It is possible to customise the number of sections that trigger the use of the ajax selector by changing the value of the constant _SPIP_SELECT_RUBRIQUES in your config/mes_options.php file (see the article dedicated to it).

Example :

// displaying the ajax selector from 3 sections
define('_SPIP_SELECT_RUBRIQUES', 3);

Author jack Published : Updated : 20/04/23

Translations : English, français, Nederlands