[support] using $node->nid in html HEAD

Grant Malcolm grant.malcolm at gmail.com
Sun Feb 5 09:37:06 UTC 2006


I'm running Drupal 4.6.5 and want to add some javascript to the head
of my edit event pages that contains information specific to each
event node - so i need to know what $node-nid is so that I can grab
this extra detail from the db.

event.module provides event_html_head() which is called by
drupal_set_html_head() which is called by event_menu but of course
event_menu doesn't know what $node is

Is there somewhere other than event_menu that I can call
drupal_set_html_head from where I can get access to $node?

Cheers
Grant

--
*
http://www.theatre.asn.au/
Connect with your local theatre online


More information about the support mailing list