Jump to main content Jump to doc navigation

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>');

See Also