Realname User Reference Widget
guix - June 1, 2009 - 11:39
The Realname CCK User Reference Widget module adds a new widget to the User Reference
CCK field type that uses the Realnames for autocompletion.
If the widget is configured without any view the autocomplete suggestions and the already filled-in values :
- are in the form "Realname (name)" if the Realname and the Name are different
- are in the form "name" if they are the same
If the widget is configured with a view the autocomplete suggestions have the same behaviour, however when a value is chosen or for the already filled-in values, the display will just be the Name of the user.
Dependencies
- PHP 5 (for previous PHP versions, see PHP 5 required, but there won't be any support from me)
- User Reference (part of CCK)
- Content (part of CCK)
- Realname at least 6.x-1.3
Install
Installing the Realname CCK User Reference is simple:
- Download the recommanded module version and extract in your modules folder.
- Enable the module using Administer -> Modules (/admin/build/modules).
- Add or edit a CCK User Reference field from admin/content/node-type/[type]/fields and choose the new widget.
Credits
Realname CCK User Reference was written by Guix for the INSU-CNRS.
Its' largely inspired by Node Reference URL Widget written by Quicksketch.
