MODX Output Filter: SendBottom SendBottom MODX Output filter

MODX Output filter to put code right above the closing body tag.

Useful for javascript that is added in the middle of the page, but needs to be placed in the bottom.


Usage

[[sendBottom?code=`code to move to bottom here`]]

Output MOdifier Code

<?php
$modx->regClientHTMLBlock($code); 
return '';