Remove Page Title on pages with Blog Information block
Last modified: October 5, 2007 - 17:53
On a blog created by the blog module the page title for the blog reads like "example's blog" where the name (example in this case) is the blog authors username. On these pages you may wish to wish to remove the page title and use the Blog Information block instead.
To do this, in phptemplate, you need to modify your page.tpl.php file. Change:
<?php
print $title;
?>To:
<?php
if (arg(0) != 'blog' && $node->type != 'blog') { print $title; }
?>Note: if you do not have a simple print $title; in your theme, but something a little more complex, you simply need to nest the if statement. For example:
<?php
if ($title) {
if (arg(0) != 'blog' && $node->type != 'blog') { ?>
<h1 class="pageTitle"><?php print $title ?></h1>
<?php
}
}?>This will not display the $title tag on pages that are /blog or have a node type of 'blog'. On all other pages it will be displayed.

Default title
What about if I need to show "author's blog" like default title? I mean if the bloginfo title is empty...
Thanks