creating a full name comuted field...
vinceyoumans - January 15, 2009 - 15:26
| Project: | Flexifield |
| Version: | 6.x-1.x-dev |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
I want to use cck, views, and contemplate, as well as some kind of email module and ideally the invite module. I want to create a field that is a combination of first and last names. and have it automatically show up on a profile page. should I be looking at this cck type?

#1
You can use this module to create a compound field of 2 textfields, although if you only need a single first name and a single last name on a node, then you can just have 2 fields in your node type and bypass this module, unless you have some other need to group them. On the other hand, if you wanted multiple instances of a "first name / last name" combo in a single node, this module can help with that.
Whether you use this module or not, you need to solve the problem of exposing a CCK field to the profile page. For that, I recommend the content_profile module (http://drupal.org/project/content_profile).
You can also use the regular profile module (part of drupal core) to add "first name" and "last name" elements to the profile, but these would not be CCK fields.
PS: I'm still new to maintaining an issue queue. If someone can point me to what the best practice is for what to change the status to when a support question is answered, I'd appreciate it.
#2
#3
Automatically closed -- issue fixed for 2 weeks with no activity.