By technigrafa on
I would like to not show the site's slogan in the title of the site, but still show it on the page. Is there a way to hack Drupal to take it out of the title? I see in the theme there is:
?php print $head_title ?
But how do you change what $head_title is composed of?
Thanks!
Comments
In administer -> themes ->
In administer -> themes -> configure change what's checked in the "Toggle Display" box towards the bottom of the screen.
page_title module
Check out the Page title module I wrote just to do this.
- Robert Douglass
-----
My Drupal book: Building Online Communities with Drupal, phpBB and WordPress
Robert, That is exactly what
Robert,
That is exactly what I needed! Thanks!
Although it may be helpful to newbies to mention in your instructions file that they can use this following line specifically to generate the title from their theme file if they don't have a template.php file:
print page_title_page_get_title()Module doesn't work
This module simply doesn't work. Using Drupal 5.1.
there's a new module release
there's a new module release for v5.1 . see my paradise philippines site. Slogan is different from the title.
----------
Paradise Philippines - Come and Visit the beautiful Philippines Paradise!
Fixed in page.tpl.php
It was easy enough to resolve in page.tpl.php.
The former $title | $site_name behaves identical to $head_title. The latter can be whatever you want.