Page 1 of 1

custom error message

PostPosted: Tue Feb 28, 2012 5:42 am
by samhans
hai steve and all friends,
can i define custom error message in xataface. where permission denied message usually comes.

thanks in advance

Re: custom error message

PostPosted: Tue Feb 28, 2012 10:51 am
by shannah
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

Re: custom error message

PostPosted: Wed Feb 29, 2012 5:58 am
by samhans
thanks steve. done it