The following is my Page_Controller method for a new page type...
class RangePage_Controller extends Page_Controller {
function init()
{
Requirements::javascript("mysite/javascript/jquery-1.2.6.pack.js");
parent::init();
}
}
This puts the javascript include into the resulting HTML fine...however instead of putting it in the <head> section it is putting it just after the opening <body> tag. Any idea why this is?