This may be related to #651756: Content_profile fields are not showing up but I applied the patch and the rest of my fields appeared.
On a site I'm working on, there are multiple options for names. Our users may have a nom de plume that they use in addition to their real first middle and last names. I'm using the Computed Fields (http://drupal.org/project/computed_field) module to merge these thusly: if the user has entered a value into the pen name field, that is used. Otherwise, combine first, middle, and last to make the "display name."
It would be very handy to be able to assign the display name field to RealName and let it take over everywhere.
Unfortunately, that field does not appear in my fields list and is not an option to be included in the RealName.
I saw the suggestion from the above-linked issue report that the RealName module be uninstalled using the uninstall tab on the modules page, and uninstalled and reinstalled the RealName module after adding my Computed Field.
Comments
Comment #1
smscotten CreditAttribution: smscotten commentedComment #2
smscotten CreditAttribution: smscotten commentedI scratched my own itch by adding a line at line 60 of realname_content_profile.inc:
The addition: case 'computed':
That may be dangerous in practice, because lord knows what kind of content could find its way into a Computed Field, so I don't propose it as a patch, but just as a hack.
Comment #3
capellicThanks for the code!
Comment #4
capellicjust did a compare with 1.5. The update has not yet been applied so you'll have to re-merge if you upgrade.
Comment #5
smscotten CreditAttribution: smscotten commentedI guess the question should be: is it actually dangerous to blindly allow any computed field content to be used for RealName? If not and I was being overcautious when I suggested the added line, then I'd be happy to submit a patch. I'm having trouble imagining all the use cases that people might want and what possibilities could break something. That's why I proposed this as a hack rather than a patch.
Comment #6
hass CreditAttribution: hass commented