modX.regClientHTMLBlock
Last updated May 14th, 2019 | Page history | Improve this page | Report an issue
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$301 per month—let's make that $500!
Learn moremodX::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¶
- modX
- modX.regClientCSS
- modX.regClientScript
- modX.regClientStartupHTMLBlock
- modX.regClientStartupScript
- modX.getRegisteredClientScripts
- modX.getRegisteredClientStartupScripts
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$301 per month—let's make that $500!
Learn more