Posted by sisyphus on August 31, 2009 at 2:48am
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.
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.
Comments
drupal_set_title
drupal_set_title
thank you. but i just want to
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.
...
page.tpl.php find the
<title> ... </title>and set that. (Haven't tried this.)________________________________
MisguidedThoughts
k.i.s.s.
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.
For SEO
For SEO your best bet is http://drupal.org/project/page_title