Thanks for contributing this module - it seems pretty handy.

This module sounds a lot like the auto-nodetitle module: http://drupal.org/project/auto_nodetitle

Can you please add some documentation to the homepage to clarify how they are different to better help users determine what makes them different and which to use in which situations?

Comments

christefano’s picture

Oh good, an issue has already been opened. I suggest adding the text from the module's help page to the project page.

Title rewrite rules allow the contents of the XHTML <title> element to be overridden using text specified by an administrator. The override text may include dynamic content using the tokens specified in the !ref_link page.

Rules are evaluated by their weight. Lighter rules are evaluated before heavier ones. Rule evaluation stops on the first rule encountered that matches any 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.

greggles’s picture

Well, I read that and I still don't know under which circumstances I'd choose this module instead of Automatic Nodetitles...

So, I think it would be good to have both that description and the project page expanded.

Anonymous’s picture

Assigned: Unassigned »

I can see how there might be some confusion with that description. Title Rewrite is not confined to nodes. It's invoked from the theme level and determines the rewrite rule to use based on the path of the current page. The client that requested this module wanted to override titles arbitrarily regardless of whether they were for nodes or views.

Not that I think that is a really good description either. :-p

I'll work on better explanatory text for the project page.

greggles’s picture

Ok, I understand this better now - it's for the html title, not the node title.

Well, this sounds like a great module! Please do add some more description to the project page to clarify that.

Anonymous’s picture

Status: Active » Fixed

I've adapted the text from the module's help to (hopefully) provide more clarity and placed it on the module's homepage.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

crea’s picture

Category: task » support
Status: Closed (fixed) » Active

And how is it different from Page Title module ? :)

crea’s picture

Title: clarify difference from automatic nodetitles » clarify difference from other title controlling modules
Category: support » task
chrysfwi’s picture

Hi,

I use Title Rewrite module since a few time only but it really fullfilled my needs.

First I used Page Title which allowed me to specify a Tile in the html tag of my web pages, with a different behaviour per content type and kind of pages... Very useful for SEO tasks.

But since my website is multilingual (English and French) I needed more accurate control on page titles to avoid duplicate content for search engines, since my titles are quite similar in each language.

Since I am using Title Rewrite, and because this module can generate the page title according to Drupal path, I really can specify multilingual and appropriate patterns for each category of content (considering that each category has its own necessary path and rewriting url rule). And unfortunately, I could not do this with Page Title since the same pattern was applied to my English and French content...

I am still testing Title Rewite, but I just wanted to share my experience in using it which might solve some SEO issues with multilingual sites I think.

Frankly, Page Title and Title Rewrite are 2 very good modules, and I would suggest to use the first one if your site has only one language, and use the second one if its multiligual (with proper formatted paths).

I hope this helps ;-)

Chrysfwi

Anonymous’s picture

Status: Active » Closed (fixed)

See comment by chrysfwi. Page Title is per content type; Title Rewrite uses path expressions. It is sometimes necessary to create different title rules for the same content type. Page Title did not meet this need.

crea’s picture

Latest Page Title versions use expressions and Token too, so its not that simple as you say.
You can set expressions independend of content type but depending on tokens. Maybe main difference is how Title Rewrite works on not-nodes page types. Guess I'll just check it out myself and post my experience ( using Page Title currently )