addFooterItem

Permalink 1 user found helpful
Just wanted to say how glad I am it exists. Today was made a whole lot better because of it.

mkly
 
hermit replied on at Permalink Reply
hermit
Yes, it's very useful. E.g. for overriding css in the head, making sure it's loaded last.

$v->addFooterItem('<script type="text/javascript">$(\'head\').append(\''.$html->css('ccm.app.overrides.css','PACKAGE_ID').'\');</script>');


You can use the ccm_addHeaderItem JS function for that too, it has fixes for IE.