Title Rewrite

Shannon Lucas - April 7, 2008 - 15:55

Title rewrite rules allow the contents of the X/HTML <title> element to be overridden using text specified in weighted rules. The override text may include dynamic content using the Token module. Rules are applied based on the path to the page being displayed, thus any page (not just a node) can have its title rewritten.

Rules are evaluated by their weight. Lighter rules are evaluated before heavier ones. Rule evaluation stops on the first rule encountered that matches a given path. For example, if the lightest weight rule matches a path, that rule is evaluated and no further rules are evaluated against that path.

When using tokens in the Rewrite Text field, keep in mind that node tokens are only available when a page is displaying a single node. Global tokens are available on all pages.

Title Rewrite must be invoked from the theme, and requires a minor change to your template.php file.

Latest Release Notes (5.x-1.2)

Addresses these issues:

Credits

Development of this module is sponsored by Plum TV and Four Kitchen Studios.

Releases

Official releasesDateSizeLinksStatus
5.x-1.22008-Aug-0712.42 KBRecommended for 5.xThis is currently the recommended release for 5.x.
Development snapshotsDateSizeLinksStatus
5.x-1.x-dev2008-Apr-0812.85 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.