The module underwent a major rewrite and simplification for Drupal 7 and now depends on the core token API and the Token module for its functionality. See http://drupal.org/node/1068734

This (appears) to allow any field to be used via token support.

As of Name field module 7.x, mimicking the functionality of the Real Name module can be done under the field instance setting without needing to use this module for most use cases.

Original request
I was trying to integrate the Name module (field module for CCK) with the RealName module, but I can't get it to work.
First, I tried adding a name field to a Content Profile (I used the Advanced Profile Kit), but it won't show up under the fields tab when content profile is selected under the modules tab.
Then I tried bypassing the content profiles and going straight to the Name Module by following
http://drupal.org/node/329662. The radio button for the name module appears under the modules tab, but under the fields tab, the fields are all brought in from Content Profile. What do I need to do?

Comments

nancydru’s picture

The Name module should not show under the RealName modules tab. CCK field modules cannot be used on their own; they must be used within a content type. Name would have to be used to add a name field to a Content Profile node type and then RealName set to use Content Profile.

If that doesn't get you going, I will have to try to figure out how to set up a site to test on; I don't currently have any test sites using Content Profile.

I do not have any sites using APK. If there is an issue using RealName with APK, you will have to open an issue in that module's queue.

alex8810’s picture

Under the fields tab, it says this:

This page displays the status of and settings for the RealName module.
Version: $Id: realname.module,v 1.4.4.57 2009/10/13 17:48:06 nancyw Exp $
You are using the content_profile module to provide fields.The uprofile type is the source of data.

Then below that is a list of fields displayed on the content profiles, but Name does not appear.

alex8810’s picture

It would appear that RealName only pulls from fields that are of the 'text' type. The name module creates fields of the 'name' type. Does that seem like it might be the cause?

nancydru’s picture

That would certainly explain it. I didn't know that "name" was a valid type. When I get the time to look at it, I may be able to fix that.

alex8810’s picture

Assigned: alex8810 » Unassigned
guypaddock’s picture

Category: support » feature

It looks like this is still the case... any chance of getting this support?

guypaddock’s picture

StatusFileSize
new847 bytes

This was much easier to add than I anticipated... here's a patch for dev.

guypaddock’s picture

Status: Active » Needs review
StatusFileSize
new847 bytes

Same patch... setting to "needs review".

alan d.’s picture

For Drupal 7+, adding a name field to the user entity using the "Name Field" module (a bit confusing sorry) will provide an option to set the user name.

The approach is similar to RealName, so it is a race by system weight to what module will set the name, but after that point they will both work in harmony.

hass’s picture

Issue summary: View changes
Status: Needs review » Closed (outdated)
alan d.’s picture

Issue summary: View changes