Website name not appearing in title bar
lalindra - January 1, 2009 - 16:22
Hi, I am a newbie to drupal. I am building a website and I know that the name of the website is supposed to be displayed in the title bar. But it does not in my case. The page name displays (ex: Forums| , Recent Posts| ) but after the pipe the site name does not appear. Could someone tell me where I have gone wrong?
Thanks in advance.

fill out site information
You probably need to add the web site name of your site at Site Configuration > Site Information.
Website name is in place, still????
Since the website name is a required field in the site information page, I have included it. It was there since the initiation of the website. So, it must be something else that I am not seeing. Any other ideas?
If you go to Administration
If you go to Administration -> Themes and select Configuration next to your current theme. Is Website name enabled ? There you can enable and disable different elements like logo, website name and website slogan.
Also check in your page.tpl.php that the variable actually is there.
$site_name
Can call it out like this:
<?phpprint $site_name
?>
custom theme?
@lalindra - Are you using a custom theme? Does your page.tpl.php file have the following code in the head tag?
<title><?php print $head_title; ?></title>Corrected
Thanks to those who replied. I corrected the code. Added the following line.
<title><?php print $head_title; print $site_name; ?></title>