modX.regClientHTMLBlock

Skip to end of metadata
Go to start of metadata


modX::regClientHTMLBlock

Register HTML to be injected before the closing BODY tag.

Syntax

API Doc: http://api.modxcms.com/modx/modX.html#regClientHTMLBlock

void regClientHTMLBlock (string $html)

Example

Inject a footer into the page.

$modx->regClientHTMLBlock('<div id="footer">(c) 2009 MODx</div>');

See Also

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.