custom error message

Archived from the Xataface Users forum.

samhans — Tue Feb 28, 2012 5:42 am

hai steve and all friends,
can i define custom error message in xataface. where permission denied message usually comes.

thanks in advance


shannah — Tue Feb 28, 2012 10:51 am

The permission denied message may be different for different actions. But you may want to check the language files for strings that say permission denied. You can override any of these strings by adding your own language file for your application. E.g. check the xataface lang/en.ini file for strings that say permission denied.

Create a file lang/en.ini in your application directory and define any strings that you want to override in there.

-Steve


samhans — Wed Feb 29, 2012 5:58 am

thanks steve. done it