first: sorry for my bad English
no delete rows, only change status
Spanish: (Como podrĂa hacer para que cuando se elimine un registro realmente no se elimine, solo cambie su status)
3 replies to this topic
#1
Posted 22 June 2012 - 05:50 PM
#2
Posted 22 June 2012 - 09:23 PM
It's easy.
Use callback_before_delete:
http://www.grocerycr...k_before_delete
If you don't want to log this info and really update what you can also do is use unset_delete:
http://www.grocerycrud.com/documentation/options_functions/unset_delete
Then you create an action named delete to update the record as you wish using the add_action function:
http://www.grocerycrud.com/documentation/options_functions/add_action
I hope this helps.
Use callback_before_delete:
http://www.grocerycr...k_before_delete
If you don't want to log this info and really update what you can also do is use unset_delete:
http://www.grocerycrud.com/documentation/options_functions/unset_delete
Then you create an action named delete to update the record as you wish using the add_action function:
http://www.grocerycrud.com/documentation/options_functions/add_action
I hope this helps.
#3
Posted 02 February 2013 - 09:10 AM
I know it's an old post but I'm interested of this feature: changing status as inactive (not display in front page) instead deleting records, with the possibilities to activate records later.
Also tagged with one or more of these keywords: delete, status
Support →
I have a question →
Is there any callback available when deleting an uploaded file (not 1 row data)?Started by SilentSeth, 06 Apr 2013 |
|
|
||
Support →
I have a question →
set_upload_field can't delete filesStarted by yourself, 18 Mar 2013 |
|
|
||
Support →
I have a question →
Hide "edit" and/or "delete" in some rows, depending of result of a queryStarted by jorocoimbra, 14 Mar 2013 |
|
|
||
Support →
I have a question →
Checkboxes against each row for bulk delete optionStarted by Mrinal Rajpurohit, 10 Feb 2013 |
|
|
||
Support →
I have a question →
Delete row/rows after X time ?Started by tlc033, 20 Dec 2012 |
|
|
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users












