Needs review
Project:
Token
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
2 Jun 2011 at 13:25 UTC
Updated:
17 Oct 2013 at 19:01 UTC
Jump to comment: Most recent file
Comments
Comment #1
ckngComment #2
dave reidI'm not sure the token name is the best. [user:link]? [user:link-themed]?
I'm wondering if something like this as the submitted by pattern/variable doesn't already fit your use case?
Comment #3
ckngIt doesn't. This will provide a user link to everyone regardless of if they have permission to 'View user profiles'.
[user:link] looks fine. So how about
Comment #4
ckngComment #5
ckngUpdate the title to reflect the new token name
Comment #6
casey commentedckng has a valid point in #3
Regarding the token name, maybe we could map it under [user:name] as [user:name:link]?
Comment #7
mrfelton commentedPatch in 4 works well. Thanks.
Comment #8
mrfelton commentedUpdated patch to apply cleanly with drush make
Comment #9
mstef commentedWhat about node:author or node:author:name?
And would this be a dupe of #698242: User name tokens should use theme('username')?
Comment #10
rootworkSo did this ever happen? I just ran into this issue, where I wanted to output a linked username (in this case a node author, so I agree that should be part of this too) and had to cumbersomely create a link using the tokens for the path and the username. It seems like a pretty clear use-case.