You are here
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
This module gives you granular control over the page title. You can specify patterns for how the title should be structured and, on content creation pages, specify the page title separately to the content's title.
Page Title 2
What features are in Page Title 2?
- Token Integration: This module integrates with the fantstic token module. This opens up a whole world of extra stuff you can put into the page title such as the highest weighted term for a node or, in fact, any other content you'd like to shove in their via the Token API (you can even build your own TokenAPI addons to get stuff into the Page Title)! 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's possible to enable the Page Title field for specific node types and, as a new feature, even on non-nodes too. Page titles can be set for terms and for users (since Page Title 2.1). This feature can be configured on the Admin > Content > Page Title page.
- Token Patterns per-content type: You can configure each individual content types pattern (this applied to nodes and terms). For example: you may want a generic default pattern, however you want your forum nodes to use a different pattern (eg highest weighted term for a forum might be the board it's in). You simply set a default pattern and an overriding specific pattern for other content types, independent of whether the Page Title field is enabled for the type or not.
- Other contexts... Page Title now supports user profile and blog homepage contexts too. This means you could create a user with a username such as jbloggs but define the page title for user profiles and blog homepages to use a better name such as Joe Bloggs.
Pagination Suffix: One of the things you may noticed about Drupal in terms of SEO is that whenever you go through a paged list of content, the page title never changes. Google Webmaster Tools will flag this up as a problem as you essentially have several different pages all being identified with the same page title. A new feature in Page Title 2.1 is the ability to append the page number as a suffix pattern. This means any URL which contains something like
page=2in the query string will also have an optional token pattern suffixed onto the end of it. Important: for this feature to work properly, you need to be running Token 1.12 or later.
Due to Drupal 5's theming system, in addition to the normal installation steps, this module requires you to edit your theme’s template files. Installation information can be found in the documentation installation section.
The above does not apply to Drupal 6. You no longer need to change your theme due to Drupal 6's improved theming API! Thanks to wayland76 for pointing this out.