I need to add a tag to the title. I open page.tpl.php and I see this line:
<?php print $head; ?>
I assume that I should write this tag somewhere else. What is the correct way to add it? Thanks for the help.
You can use drupal_set_html_head()to add tag to html header section
drupal_set_html_head()
For example, drupal_set_html_head()you can optionally use in template_preprocess_page(), as described here
template_preprocess_page()
If you just create your own website, probably in the right place, in page.tpl.php, somewhere between <head>and </head>. The template is as simple as this one.
<head>
</head>
drupal_set_html_head() - , , Drupal ( , , , , ).