1

I'm using the User Content Type module (Drupal 7) in order to store some fields for each user, such as "zip code."

Now, in this node_edit page, I made a variant for a Catalog node, for a specific role. (Let's say "salesman".)

How do I link the actual logged in user with their respective User node, to show and store the "zip code" field in the Catalog node?

  • Can you provide a link to the module? A better way to associate fields with a specific user is via Admin => Configuration => People => Account settings => Manage fields – Craig Hyatt Mar 26 '14 at 1:54
  • @Craig Hyatt, many thanks for your answer, I think it's the right solution. Obviously I didn't see this via in my admin menu: drupal.org/project/admin_menu; best regards! – arantas Mar 26 '14 at 2:54
  • Glad to help. I added my comment as an answer below for future reference. Please consider marking it the accepted solution! – Craig Hyatt Mar 26 '14 at 12:30
0

In Drupal 7, the simplest way to associate fields with a specific user is via Admin => Configuration => People => Account settings => Manage fields.

Because of its simplicity, I recommend this approach as a starting point. If it's not flexible enough, consider the contributed Profile 2 module.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.