Hi,
I want to associate some data with the users account ID. Can you do this dynamically within Drupal or do I create a table myself within my module.
Thanks, Iain
Are you using Drupal 6? Use the core profile module or http://drupal.org/project/content_profile
On Thu, Apr 28, 2011 at 4:28 PM, Iain William Wiseman <iwiseman@bibble.co.nz
wrote:
Hi,
I want to associate some data with the users account ID. Can you do this dynamically within Drupal or do I create a table myself within my module.
Thanks, Iain -- [ Drupal support list | http://lists.drupal.org/ ]
You can use either the core Profile module or the contributed Content Profile module. I find that Profile is fine if you want just a few simple fields added, which can be required at registration. Content Profile gives you full node control but requires the user to come back and fill out the information after registration. Nancy Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.
________________________________ From: Iain William Wiseman iwiseman@bibble.co.nz To: support@drupal.org Sent: Thu, April 28, 2011 6:28:11 PM Subject: [support] Adding data to the user id
Hi,
I want to associate some data with the users account ID. Can you do this dynamically within Drupal or do I create a table myself within my module.
Thanks, Iain
On 29/04/2011 11:32 a.m., Ms. Nancy Wichmann wrote:
You can use either the core Profile module or the contributed Content Profile module. I find that Profile is fine if you want just a few simple fields added, which can be required at registration. Content Profile gives you full node control but requires the user to come back and fill out the information after registration.
Thanks, I am on drupal 7. First go at drupal.
Have a table, customer_user_id, customer_data
My plan is uploaded the data which is in CSV format and associated rows that match their customer_user_id with the drupal user_id. By putting the customer_user_id in the profile I assume I can then add a tab on the user/view for them to see the data.
Iain
You can do this with either method. Personally, I would find the Profile module more straight-forward for uploading the data, but I am comfortable with going straight to the database; CP would require some kind of import module to load the data. Nancy Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.
________________________________
From: Iain William Wiseman Have a table, customer_user_id, customer_data
My plan is uploaded the data which is in CSV format and associated rows that match their customer_user_id with the drupal user_id. By putting the customer_user_id in the profile I assume I can then add a tab on the user/view for them to see the data.