Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

site.ini [PageLayoutHooks]

The settings of [PageLayoutHooks] in site.ini: BodyEnd

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/examples/ini-settings/site/PageLayoutHooks.md

On this page

site.ini [PageLayoutHooks]

The block [PageLayoutHooks] of settings/site.ini, with 1 setting(s).

AllowedDeletionDirs[]=/var/share/somedir

Never edit settings/site.ini itself: an update replaces it. Put the settings you change in an override, which wins over the shipped file:

  • settings/override/site.ini.append.php for every siteaccess,
  • settings/siteaccess/<siteaccess>/site.ini.append.php for one siteaccess,
  • extension/<extension>/settings/site.ini.append.php in an extension (read when the extension is active).

BodyEnd

Templates an extension adds at the end of every page body, in this order (design: paths without "design:").
Every pagelayout includes design:pagelayout/hooks/body_end.tpl just before </body>, once per engine:
.tpl {include uri='design:pagelayout/hooks/body_end.tpl'}
.stpl {expinclude uri='design:pagelayout/hooks/body_end.tpl'}
.twig {% expinclude uri='design:pagelayout/hooks/body_end.tpl' %}
What a hook prints may depend only on what the pagelayout's cache blocks key on (siteaccess, node, signed-in
state, roles). Guide: doc/eng-us/features/6.0/pagelayout-hooks.md
BodyEnd[]=expwt/hook.tpl

Default: an empty list.

<?php /* #?ini charset="utf-8"?
# settings/override/site.ini.append.php
[PageLayoutHooks]
# an empty "BodyEnd[]" first replaces the shipped list; without it the items are added
BodyEnd[]
*/ ?>

Generated by ./console exp:help:examples from settings/site.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x