Page Title Field
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Component created
Component changed
Component body
This module enables a text field to be used as the page title. Since fields can be attached to any entity, this module can be used for nodes, taxonomy terms, etc. It supports tokens and a an alter hook for fine grained control.
Technically, the module implements a display formatter for a text field.
Because it's a field, it integrates with Views for reporting, with Rules for complex updates, and any other field related utility.
The goal for this module is to provide a simple, limited code base way to adjust the page title.
Â
Configuration
- Add a new field of type "Text" - optionally set a default value
For example, I generally use "[node:title] | [site:name]" - Set its display type to "Use as Page Title"
- Make sure the field is enabled for the display type, generally disable
the label display - no field value will be displayed so the label may
look out of place if enabled.
For example, for taxonomy terms, I use the "Taxonomy term page" display type.
For nodes, go to admin/structure/types;
for taxonomy terms, go to admin/structure/taxonomy;
for any other entity in drupal - use the access path for manage fields on that entity
Â
How is it different from "Page Title"?
Page Title is a great module. It does a lot but maybe too much for a straight forward approach. This module was born from the need to reduce system resources on a limited web server.
Â
Interaction with other modules
If the field is enabled on an entity but left blank, the existing page title will be used - independent of how this existing page title was derived.
Â
Installation
Please read the readme.txt - the module requires a change either to template.php or html.tpl.php.
