• New in : SPIP 2.1

The filter |debug can be used to fine-tune a template; it displays directly on the screen (for the webmaster only) the current value passed to it. It can also be found in the log file debug.log.

The possible argument that we pass to him allows us to better find our way if we have several debug points on the same page.

[(#ID_ARTICLE|debug{id_article})] [(#ID_RUBRIQUE|debug{id_rubrique})]


'id_article' = 12
'id_rubrique' = 4


Warning: This filter must be removed after finishing development.

Author jack Published : Updated : 23/07/23

Translations : English, français, Nederlands