quantcast requires code before </head> and before </body> is there a plugin that does this or do i need to go and paste it into every template in my bloated site?
-
☆ A M B ☆
- 24,524 Posts
Which version of MODx? For Evo, there’s the $modx->regClientStartupScript() and friends API functions.
http://wiki.modxcms.com/index.php/API:regClientStartupScript
http://wiki.modxcms.com/index.php/API:regClientScript
http://wiki.modxcms.com/index.php/API:regClientCSS
http://wiki.modxcms.com/index.php/API:regClientStartupHTMLBlock
and regClientHTMLBlock, which is not documented but behaves exactly the same as regClientScript.