modX.regClientHTMLBlock
Last updated Dec 21st, 2019 | Page history | Improve this page | Report an issue
modX::regClientHTMLBlock¶
Register HTML to be injected before the closing BODY tag.
Syntax¶
API Doc: modX::regClientHTMLBlock()
void regClientHTMLBlock (string $html)
Example¶
Inject a footer into the page.
$modx->regClientHTMLBlock('<div id="footer">(c) 2009 MODX</div>');