This is probably an easy answer for someone, but it has me stumped.
How do I use content_profile fields for default values in other content types?

Let's say I enter a phone number for the profile. How do I supply this when the user is creating a new node for event registration?
I've been trying this:
return $content_profile->get_variable('profile', 'phone');

return $content_profile->get_variable('profile', 'title');
I was hoping that this would return my title field. Am I correct that the same approach will not work for "Lastname Firstname" which is my profile title field? I understand I will need to use the automatic nodetitles module for this.

This thread http://drupal.org/node/316009#comment-1313094 came close to answering this question, but then the issue closed because the original question was answered.
The readme.txt examples seem to deal with node views not creating new nodes.

Can I use Token?

Comments

drpl’s picture

subscribe....