I need to add a tag to the header. I open page.tpl.php and I see this line:
<?php print $head; ?>
I assume I should write that tag somewhere else. What is the proper way of adding it? Thank you for the help.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use
drupal_set_html_head()to add a tag into the head section of the htmlFor example,
drupal_set_html_head()can optionally be used intemplate_preprocess_page()as described here