I'm trying to make one content type that can reuse a jQuery-gallery with different styles depending on what page you're on.
So i made one field called field_CSS where I put the CSS. However for performance reasons (and for the sake of cleaning up the code) I want to put it in the HEAD-section.
The content in the head section is rendered in the html.php.tpl-filde and the field is in the content type of the specific node.
I've tried <?php print render($content['field_CSS']) ?>
<?php print render($page['field_CSS']) ?>
<?php print $node->field_CSS[0]['view']; ?> and a lot of other variants. Anyone who knows what to write to make it show up in the html.tpl.php file?
The field only contains pure CSS that now is printed as inline-code.
EDIT: Clive post works flawlessly. Just don't forget to fix the field theming so you don't get a div in the css-section.