Here’s what I’m trying to accomplish:
I have around 20 browser-based tools for members of my site to use. Some of the tools require code in the head area, like javascript code. I’d like to set up one template that will allow me to have custom fields both in the head and the body of the document for the various tools. For now, I’ve had to set up a template for each tool, which is a pain.
Is it possible to use custom fields in the head, and will it accommodate javascript? I tried this:
{exp:weblog:entries weblog="tools" limit="1"}
{customcode_head}
{/exp:weblog:entries}
but that didn’t work. It displayed the javascript code at the top of the page when viewed in a browser.
I’m using EE v1.6.8.