Closed (fixed)
Project:
Zen
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
23 Jul 2008 at 19:54 UTC
Updated:
21 Jan 2009 at 10:10 UTC
Hi,
Sometimes I need to insert custom head tags, like javascript, and it would be useful to have a standard region there.
I also have to insert js after the tag, at the very end of the page, even after closure.
Would be nice to have a region there as well by default :) This way I would not have to hack my templates :)
Comments
Comment #1
yoroy commentedRegions are for showing content. Content is shown between the body tags, not in the head.
Instead, use http://api.drupal.org/api/function/drupal_add_js/5 and http://api.drupal.org/api/function/drupal_add_css/5 in template.php, that's just how it's done.