Hi,
I wanted to register a new user (as in the demo with Save User)
but at the same time data should also be entered in the #_user_profiles table.
I did some experiments but it did not work. I always get this error: "1062 Duplicate entry '0-' for key 'idx_user_id_profile_key'"
Now it is in the setup that "Save User" and then "Save Data" is.
So that all user data are entered into the database at the same time, do I have to use "Save Data" in "success" of "Save User"?
I have this information:
Save User -> Black Label: joomla_user3
Save Data:
Model name: Data
Data provider: {data:}
Data override on insert:
created: {date: Y-m-e H: i: s}
{Var:} joomla_user3.id
institution: {data: jform_com_fields_firma}
strae_hausnr: {data: jform_profile_address1}
plz: {data: jform_profile_city}
wohnort: {data: jform_profile_postal_code}
Data override on Update: modified: {date: Y-m-e H: i: s}
Write action: Auto detect
Many Thanx
F.
I wanted to register a new user (as in the demo with Save User)
but at the same time data should also be entered in the #_user_profiles table.
I did some experiments but it did not work. I always get this error: "1062 Duplicate entry '0-' for key 'idx_user_id_profile_key'"
Now it is in the setup that "Save User" and then "Save Data" is.
So that all user data are entered into the database at the same time, do I have to use "Save Data" in "success" of "Save User"?
I have this information:
Save User -> Black Label: joomla_user3
Save Data:
Model name: Data
Data provider: {data:}
Data override on insert:
created: {date: Y-m-e H: i: s}
{Var:} joomla_user3.id
institution: {data: jform_com_fields_firma}
strae_hausnr: {data: jform_profile_address1}
plz: {data: jform_profile_city}
wohnort: {data: jform_profile_postal_code}
Data override on Update: modified: {date: Y-m-e H: i: s}
Write action: Auto detect
Many Thanx
F.