Forums

Warning before delete data in Admin View (table)

franru 24 Apr, 2014
In the list that I have in Admin view I put the _DELETE_ field but it seems very risky to just put the link because you can go wrong when deleting a record. How can you put that ad in the Admin view (table).

Thank you very much in advance
franru 25 Apr, 2014
Hello again,
Anyone know if it is possible to do what I say in the previous post?.

Thanks in advance.
GreyHead 25 Apr, 2014
Hi franru,

I would do a couple of things.

First i probably wouldn't put it in the back end Admin View but would make an Admin access only listing in the front-end.

Second, I'd make the delete link go to a mini-form which asks for a second confirmation before submitting.

Third, I probably wouldn't delete the record but change a 'status' column in the DB to 'trash' so that - if necessary- it could be recovered.

Bob
latifa88 26 Aug, 2014
hello

i'v probleme to delete record please can u help to do it

thx
Max_admin 26 Aug, 2014
Hi Latifa,

You can do this easily in v5, under the "Actions" tab, set your form name and event to display a confirmation form, and in the "on submit" event of your form, you can use a "Connection action", set the connection's name, and the action should be set to "delete"

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.