Hello. I have find this but I'm not sure if there is a bug or not.

I have build a flag (not user flag, only flag module) and display it in the user/uid website.
If I use the realname token in the string of the flag follow [realname], when users go to the users' page they see this: Follow and their name, not the name of the user's page.

I would like to know if use the realname in a flag that it's show in a user page it will show user's page realname or logging realname.

oskar

I'm not sure if I have explain it well. Please take a look at the attachment.

CommentFileSizeAuthor
#2 token_realname.patch884 bytesoskar_calvo
Pantallazo.png41.75 KBoskar_calvo

Comments

oskar_calvo’s picture

I have check the token.inc file and I find that there is not a "user" token.

I'm working to build a path for this feature ;)

Oska

oskar_calvo’s picture

Category: support » feature
Status: Active » Needs review
StatusFileSize
new884 bytes

I add a patch to the new token.

Please review it.

Thanks

Oskar

Status: Needs review » Needs work

The last submitted patch, token_realname.patch, failed testing.

hass’s picture

Issue summary: View changes
Status: Needs work » Closed (outdated)