Hi,

i just want to ask wheter there is a way to override the title of a users profile?

This would be great!

Comments

Witch’s picture

may it be enough to override the default pattern? in this case i have to specify all content types? right?

nicholasthompson’s picture

Title: Override User Profile titles?! » Override User Profile titles
Version: 6.x-2.0 » 6.x-2.x-dev
Component: Miscellaneous » Code
Assigned: Unassigned » nicholasthompson

This is a new feature that will be pushed out tonight into DRUPAL-6--2 and will be in the next main release (I will also backport to D5 too)...

Witch’s picture

Glad to see this function!

thank you very much!

nicholasthompson’s picture

Status: Active » Fixed

This feature is in DRUPAL-5--2 and DRUPAL-6--2. I need to do a little more testing before I tag an official release... Marking as fixed.

Witch’s picture

Means that the actual dev version does not include this function yet?!

Status: Fixed » Closed (fixed)

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

Witch’s picture

Will there be an information on the project page when the feature is done?

nicholasthompson’s picture

Yes. I am just doing some "live" testing of the dev-branch right now on www.thingy-ma-jig.co.uk and eventually www.pponline.co.uk to make sure it's working as expecting...

Witch’s picture

Cool, i am looking forward :)

George2’s picture

so, just to understand clearly, this will add another pattern for the user page at user/[uid] ?

EDIT: ok, so i upgraded to the dev version without any probs, saw the additional profile pattern input, and, it doesn't work for me! i'm using content_profile (6) to allow me to define custom profiles. I'm wanting to use a field from the profile content type for the title, but if i specify this pattern inside the new user pattern, the token doesn't tokenise, and if i put the pattern in the profile content type, it doesn't show on user profile view.

any ideas?

nicholasthompson’s picture

Correct.

sampeckham’s picture

Is there any follow up on this to George2's edit note?

I've just installed this module purely to edit the Page Title for user profiles, but the token system only allows me to use their id number or username (the default anyway), without the tokens from the user profile, I see no way to change jbloggs to Joe Bloggs as the example on the module page says, so this module doesn't really offer me anything.

What token should I use to get this?

Thanks

sampeckham’s picture

Status: Closed (fixed) » Active
nicholasthompson’s picture

Status: Active » Closed (works as designed)

SamPeckham... Basically you're saying that the Token's module isn't providing you the tokens you need? That's not a problem with Page Title. Page Title simply exposes the functionality of Tokens...

Your options:
1) Find a module which exposes the profile fields as tokens
2) Write your own module which exposes the tokens
3) File an issue / write a patch against tokens for this