⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Delete message



Robert
  • profile picture
  • Member

Posted 12 September 2013 - 11:02 AM

From where can i set the time of the popup delete message confirmation ? I want to set a smaller time for it but i cant find from where to do this.

 

 

 

 


Amit Shah
  • profile picture
  • Member

Posted 14 September 2013 - 01:49 AM

Hi Robert,

 

by default, delete has a message popup asking if you sure you want to delete the record or not. in the list / list_template in the themes views folder u will find the variable named message_alert_delete with the message. If you are interested - u can change the message according to your preference. Else if you wish to takeover the delete - u can customize the delete script or write your own and bind it with the button.


Robert
  • profile picture
  • Member

Posted 16 September 2013 - 05:47 AM

Thanks for the replay but i was looking for the message that comes after you delete a record .. the one on the top that stay for a few sec ...


Amit Shah
  • profile picture
  • Member

Posted 16 September 2013 - 09:58 AM

$crud->set_lang_string('delete_success_message', 'Your custom message in here');

 

This should do the trick to you..


Robert
  • profile picture
  • Member

Posted 17 September 2013 - 10:37 AM

Thanks again but i was looking for for how to set the time for the message to make it 50% of the time is set now and to make it smaller ..


Amit Shah
  • profile picture
  • Member

Posted 17 September 2013 - 14:42 PM

well robert u can find the code in flexigrid.js inside the flexigrid theme