SPIP
Article validated
The article « ** _SPIP_SELECT_RUBRIQUES**
(_SPIP_SELECT_RUBRIQUES - SPIP) » was validated by George.
_SPIP_SELECT_RUBRIQUES
Thursday 29 December 2022 , by jack
_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
(SPIP)).
Example :
// displaying the ajax selector from 3 sections
define
(http://www.php.net/define)
(
'_SPIP_SELECT_RUBRIQUES'
,
3
)
;
— Sent by SPIP (https://www.spip.net/)