feel free to keep it strictly simple...

footers.inc

Format and function of footers.inc.php

The basics are the same as described in get_page_headers (). The file should define an array named $mod_footers.

Of course, neither CSS files can be loaded nor META-settings can be made in the footer. But it is possible to load additional JavaScripts here.

Example:

  1. $mod_footers = [
  2. 'frontend' => [
  3. 'js' => [
  4. "modules/lib_jquery/jquery-ui/jquery-ui.min.js"
  5. ]
  6. ]
  7. ];

listing 11.2

last edit: 12. Mar 2024 CET 21:14:41