hello everyone, i'm constructing a filter that in some situations need to include a grids-min.css file (lib/yui/3.2.0/build/cssgrids/grids-min.css) in the current page. but when i'am trying to use
$PAGE->requires->css('lib/yui/3.2.0/build/cssgrids/grids-min.css');
i've got an error below
Coding error detected, it must be fixed by a programmer: Cannot require a CSS file after <head> has been printed.
Is there any other way to include this file to the page, if not - maybe include this grids in every page.
ps: why require->js got a second argument (bool $inhead initialise in head) and the require->css don't have it?
thanks