By pavitra on
Hi...
I'm a newbie in Drupal, can anyone tell me which function returns $head variable in the page.tpl.php file.
Thanks
Hi...
I'm a newbie in Drupal, can anyone tell me which function returns $head variable in the page.tpl.php file.
Thanks
Comments
Looking at the PHPTemplate
code for processing the page template...
http://api.drupal.org/api/function/phptemplate_page/5
... it looks like this function is used for $head:
http://api.drupal.org/api/function/drupal_get_html_head/5
and that you use this function:
http://api.drupal.org/api/function/drupal_set_html_head/5
to add your own stuff to $head.
--
Anton
New to Drupal? | Troubleshooting FAQ
Example knowledge base built with Drupal