I want to change the the title on the ?q=user page to something generic e.g. "My Home", and not user name.

So far, I have tried using the string override module with little success. Is it possible to do this with a custom module that I can just drop into the page with some PHP code? If not, how can it be done?

enter image description here

1 Answer 1


There are a number of ways you can do this:

  1. Create a template file for user pages in your theme that renders the title differently
  2. Create a custom module that alters the title using hook_menu_alter
  3. Use Page Manager (part of ctools) and Panels to customise the layout of the user page
  4. Likely other ways I don't know about

Number 1 is probably the most common, 2 is only really okay if you're already writing a custom module that changes user page behaviour, 3 is a more advanced method that basically lets you pull apart the page and put it back together how you want.

The simplest version of #3 would be to create a new variant of the user/%uid path with exactly the same content, and just set the title in the page manager UI using tokens.

Searching for keywords from the various options should provide you with plenty of tutorial material.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.