Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
dokuwiki:server [2024/06/10 15:38] – [Customization] Bernard Condraudokuwiki:server [2024/06/10 15:38] – [Customization] Bernard Condrau
Line 51: Line 51:
 bethico_dispatch(basename(__FILE__));</file> bethico_dispatch(basename(__FILE__));</file>
  
-=== Fix toc handling in core+=== Fix toc handling in core ===
   - Modify ''/inc/template.php'' and add in function ''tpl_toc'' before line ''Event::createAndTrigger('TPL_TOC_RENDER', $toc, null, false);'':<file>if (@include_once(template('dispatcher.php'))) bethico_update_toc($toc, $TOC);</file>This is a non-destructive change which fixes an issue in the table of contents if plugin:condition is installed.   - Modify ''/inc/template.php'' and add in function ''tpl_toc'' before line ''Event::createAndTrigger('TPL_TOC_RENDER', $toc, null, false);'':<file>if (@include_once(template('dispatcher.php'))) bethico_update_toc($toc, $TOC);</file>This is a non-destructive change which fixes an issue in the table of contents if plugin:condition is installed.