How to specify the title of each page

sisyphus - August 31, 2009 - 02:48

I am developing some modules. I would like to know how can i set the string (wording) on the title bar of each page? e.g. Create Forum topic | drupal.org - Mozilla Firefox

thx a lot.

drupal_set_title

Bacteria Man - August 31, 2009 - 04:18

-------------------------------------------------------

"I remember that sound. That's a bad sound."
-- Gwen DeMarco

thank you. but i just want to

sisyphus - August 31, 2009 - 05:30

thank you.

but i just want to show the string to the title bar, not to show the title on the top of the content block. what should i do?

thanks a lot.

...

silverwing - August 31, 2009 - 05:38

page.tpl.php find the <title> ... </title> and set that. (Haven't tried this.)

_____________________________________________
MisguidedThoughts

k.i.s.s.

Bacteria Man - August 31, 2009 - 18:06

Using a module for such a simple thing seems like overkill and adds a lot of unnecessary bloat. I'd use silverwing's method if possible.

-------------------------------------------------------

"I remember that sound. That's a bad sound."
-- Gwen DeMarco

For SEO

BradleyT - August 31, 2009 - 06:19

For SEO your best bet is http://drupal.org/project/page_title

 
 

Drupal is a registered trademark of Dries Buytaert.