DELETE RELATE DATA WITH USERS AND TABLES

winetrade

New Member
Hi,
i have a project where i use FABRIK for the registration form and for updating joomla users.
In this project users can have multiple contracts joined with the fabrik/users table by the ID field.

I'd like to let the user delete his account but i'd like that ALL the users data can be deleted.
EXAMPLE

1) The user choose to delete his record in the fabrik user table
2) I need to delete the JOOMLA user linked to the fabrik user
3) I need also to delete all contracts in the contracts table joined to the fabrik user.

I can do that by turning on the "DELETE RELATED DATA" option in the JOIN tab for each tables (joomla users and contracts) ?
Thanks
 
Yes, but be very careful when joining J! core tables. Test it thoroughly.

Also, on the List where you join the J! table(s), make sure you set the "Alter existing table" to "No" or "New only", so we don't make any changes to the J! table.

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Members online

No members online now.
Back
Top