Active
Project:
To do list
Version:
6.x-1.4
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
30 Dec 2010 at 19:04 UTC
Updated:
31 Dec 2010 at 09:07 UTC
Hi,
Firstly can I say thank you for such a great module, it really works great :) One request I would like to make is for it to suport the realname module, when creating a new task. http://drupal.org/project/realname
Instead of listing the available users by their username, it would be very helpfull if the module could list users by their Name & Suranames as specificed in the core profile.
Is this something that could be implemented ?
thanks
Charles
Comments
Comment #1
charles.holtzkampf commentedI have found the below that might be helpfull to add realname support.
http://drupal.org/project/author_smart_name
Allows the autocomplete field in "authoring information" to use values other than usernames.
I have tried to install the module, but I am getting an error. I have contacted the author for assistance. Once I have it installed I will try and change the form settings to match the to_do module:
$form['assignment']['assigned_users']
To see whether it works.
Charles
Comment #2
AlexisWilke commentedWith real names being defined in the Core profile, it would certainly be feasible. We'd need to have a way to indicate whether a profile field represents a name we want to show whenever entered and possibly a way to hide the default username support.
The code is in this file:
to_do.users.autocomplete.inc
for the auto-complete.
And on clicking Save, the validation and submit function also need updates. That would be in this file:
to_do.pages.inc
Also, the auto-complete should probably transform the real name in a user identifier in the box, that way the validation and submit would work just fine.
Thank you.
Alexis Wilke
Comment #3
charles.holtzkampf commentedHi Alexis,
thanks for the reply, im afraid im not a programmer, so I would not have a clue to do any of that. I was searching around for a solution and came across the above implementation.
I have tried changing the above mentioned modules code, to reflect the forms I think should be called, but again I am kind of guessing here. I did not work im afraid.
I changed the following
Below is the actual module if that might help
Anyways I hope this can be implemented would be such a great add on to, the to do list module.
Comment #4
AlexisWilke commentedI may look into it. You're the 2nd person to ask for such a feature, although the other person did not use a the Core Profile module.
Thank you.
Alexis
Comment #5
charles.holtzkampf commentedthanks much appreciated.