In Panels 3, when creating a new page, one can let tge page title be generated automatically by tokens. Two available tokens are:
(1) %user:realname,
(2) %user:realname-link
Unfortunately, (1) generates nothing but an empty string; (2) generates the correct realname yet wrapped in a link which I do not need.
Comments
Comment #1
spikeerob commentedI am having the same problem. Seems like something is affecting the token called 'realname' after it has been set but not affecting differently named tokens. As a workaround creating a new token with a different name seems to work.
I put a slightly modified version of token_realname.inc into a custom module and used the new token it created instead:
Hope that helps someone. :)
Comment #2
wxman commentedThank You! You definitely helped me, and saved me from pulling more hair out.
I have it working now with Panels in the APK.
Comment #3
mckeen_greg commentedYou should rather use: realname-node-author
Comment #4
hass commentedComment #5
nwom commentedThis also occurs on D7. If you add the field to a pane, it will always show up with the label and as a link. Disabling the link and hiding the label is not possible.