22 Jan
2008
22 Jan
'08
1:34 p.m.
Alex Moreno wrote:
Hi everybody,
i´m trying to insert a javascript line from a custom module. I´ve seen the hook_footer module and it does exactly what i need but not in the header section as i need.
a link t some code should be a great help.
thanks a lot in advance.
something like this: drupal_add_js( drupal_get_path('module', $modulename).$javascripturl ); http://api.drupal.org/api/function/drupal_add_js -- Sean Burlington www.practicalweb.co.uk London