Page Title

nicholasThompson - February 21, 2006 - 13:46
Page Title

The word "title" is a bit overloaded. Every piece of content in Drupal has a title, and so does every page. The page title is the one found in the HTML head inside the <title> tag.

This module gives you control over the page title. It gives you the chance to specify patterns for how the title should be structured, and on content creation pages, gives you the chance to specify the page title rather than defaulting to the content's title.

Note: in addition to the normal installation steps, this module requires you to edit your theme’s template files.

The Page title module is co-maintained by nicholasThompson and JohnAlbin.

New Release: Page Title 2.0 - Alpha 5

This is an alpha - so use with extreme caution… Things might/will probably change before official 2.0 release and therefore this is unlikely to be production ready yet…

So, What's 'new in two'?

  • Token Integration: This module integrates with tokens now. Why? It opens up a whole world of extra stuff you can put into the page title - such a the highest weighted term for a node or, in fact, any other content you'd like to shove in their via the Token API! This is made even more funky when you enable the CCK module as CCK exposes field values to the Token Module.
  • Granular Control: Want the page title override field for the Book and Story node types, but not for Banner or Image? It is now possible to enable the Page Title field for specific node types and can be configured on the Admin > Content > Page Title page!
  • Token Patterns per-content type: Say you want a front-page and default pattern as usual, however you want your forum nodes to use a different template (eg highest weighted term for a forum might be the board it's in). This is now possible. You can set a Default and a Frontpage pattern and can also write specific patterns for other content types, independent of whether the Page Title field is enabled for the type or not .

You can find the project release node for the latest alpha here. The latest release makes the tokens node-sensitive (ie, the page title can now include tokens such as [author-name]

Drupal 6

I have ported the DRUPAL-5--2 branch over to Drupal 6. The biggest leap in Drupal 6 is that you no longer need to change your theme! Thanks to wayland76 for pointing this out.

Releases

Official releasesDateSizeLinksStatus
5.x-2.0-alpha52008-Feb-1813.45 KBSupported for 5.xThis release is supported but is not currently the recommended release for 5.x.
5.x-1.12007-Aug-0611.64 KBRecommended for 5.xThis is currently the recommended release for 5.x.
Development snapshotsDateSizeLinksStatus
6.x-2.x-dev2008-May-0613.38 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.
5.x-2.x-dev2008-Mar-2613.32 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.
5.x-1.x-dev2007-Aug-0211.26 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.
 
 

Drupal is a registered trademark of Dries Buytaert.