Closed (fixed)
Project:
Token Profile
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Jul 2010 at 13:12 UTC
Updated:
24 Aug 2010 at 14:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
masondib commented+1
Wasn't working at all, but changing the name of the module and info files to profile_token and re-enabling made it work as expected.
Comment #2
designerbrent commentedYup, this is really broken. Hope it can get fixed.
Comment #3
designerbrent commentedHere is a patch that fixes the profile_token / token_profile issue.
Additionally on lines 25-27 it changes from using the active user to using the node author which seemed to make more sense for this functionality.
Comment #4
zeezhao commented@designerbrent - Thanks for your patch. Your change to node author makes sense.
Before I open a new request:
I want to use it with http://drupal.org/project/casetracker
Casetracker can assign tasks to people. However the link to those tasks uses uid or username. But I want to get the links to show the real name of a person.
So I have created a profile field e.g. profile_fullname which stores the name. Your module then enables me to see the tokens in say notifications module templates as: [user:profile_fullname] or [node:profile_fullname].
Please how I use this module to do this? Do I need a hook or something? Thanks.
Comment #5
fizk commentedThanks, #3 is fixed in CVS.
Comment #6
masondib commentedThanks for the patch and commit. Just confirming that the latest release with designerbrent's patch works as expected for me.