how to forbidden certain record be deleted in the module??please response me fast i really need help

edited March 2012 in Modules
I want to forbidden certain record to be deleted while the delete button is clicked and show the message that" you cannot delete this record for some securities issues".please im really need help??

Comments

  • edited 2:34AM
    You can add that logic to your model's on_before_delete hook
Sign In or Register to comment.