Merry Christmas and Happy New Year.
I want to change the message after removing the top of the table. Like this:
[php]
function index()
{
...
$crud->callback_before_delete(array($this, '_region_before_delete'));
...
}
function _region_before_delete($primary_key)
{
...
$this->form_validation->set_message('delete_error_message', $primary_key.' To ensure reference (referential, relational, many-to-one relationship) integrity of the database can not be removed. This field is used in the child table.');
...
}
[/php]
Thanks.
How to override the message after return FALSE in callback_before_delete?
Started by Apostle, 29 December 2012 - 11:12 AM
- Single Page
Posted 29 December 2012 - 11:12 AM