Hi,
I'm a newbee and would like to write in french but I did'nt find a forum for that. I hope you will understand what I'm writing.
I'm trying to create users with additional fields, from frontend.
I'm using 3 lists, one linked to the "#__users" Joomla! table, another to the "#__user_usergroup_map" and the last "#__fb_agents" where I'm adding some personal data for users.
In this table is a field "user_id" linked to the "id" field of #__users.
When I save the form with the lists "users" and "fb_agents" data, the users and fb_agents tables are populated, not the user_usergroup_map table.
For the fb_agent table, I added a field "user_group", unique radio button set to 10 for the agents group, and it works.
I tried to join in agent list
- left user-id to table users field id
I don't know what is my error to explain why no entry is created in the user_usergroup_map table.
I tried other joins between user_id in fb_agents and user_id in user_usergroup_map, and between users_group in fb_agents and group_id in user_usergroup_map table. But it doesn't work.
Could you help me?
Thanks,
Robert
I'm a newbee and would like to write in french but I did'nt find a forum for that. I hope you will understand what I'm writing.
I'm trying to create users with additional fields, from frontend.
I'm using 3 lists, one linked to the "#__users" Joomla! table, another to the "#__user_usergroup_map" and the last "#__fb_agents" where I'm adding some personal data for users.
In this table is a field "user_id" linked to the "id" field of #__users.
When I save the form with the lists "users" and "fb_agents" data, the users and fb_agents tables are populated, not the user_usergroup_map table.
For the fb_agent table, I added a field "user_group", unique radio button set to 10 for the agents group, and it works.
I tried to join in agent list
- left user-id to table users field id
I don't know what is my error to explain why no entry is created in the user_usergroup_map table.
I tried other joins between user_id in fb_agents and user_id in user_usergroup_map, and between users_group in fb_agents and group_id in user_usergroup_map table. But it doesn't work.
Could you help me?
Thanks,
Robert
Last edited: