On the http://mysite.com/messages page the page title is "Messages",
On the http://mysite.com/messages/new page the page title is "Messages" again, though it should be "Write new message",

and etc, page title don't change.

Comments

berdir’s picture

This seems to be the default behavier with Drupal Menus, all tabs share the same title. No Idea if there is a way to change it..

berdir’s picture

Status: Active » Needs review
StatusFileSize
new1.44 KB

Simple patch to set the title on the write new message page and add translation call to Tags page

litwol’s picture

Status: Needs review » Fixed

With some offsets it applied :)

Thanks.

naheemsays’s picture

Status: Fixed » Active

I think this patch has broken titles on message view pages - all pages that show the reply box also have the title "Write new message"

naheemsays’s picture

Status: Active » Needs review
StatusFileSize
new748 bytes

Attached patch should fix this.

berdir’s picture

Status: Needs review » Reviewed & tested by the community

Patch is good.. and this is only a workaround that has to be changed again with #398916: Remove hook_form_alter in favor of a more flexible privatemsg_new form.

naheemsays’s picture

Status: Reviewed & tested by the community » Fixed

May aswell set this back to fixed then as the #398916: Remove hook_form_alter in favor of a more flexible privatemsg_new form fixes the remaining problem with this.

Not setting as duplicate as the original issue was different, but back to fixed as it was before.

(doing it now as if this is committed, that will need the other one to be rerolled.)

Status: Fixed » Closed (fixed)

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