• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Output CSS via a template hook

#1
Is it possible to dynamically create a CSS template and add content to it via a template hook?

I tried this inside my hook:

$contents .= $template->create('tomTest');

but no luck.

Thanks.