custom error message

A place for users and developers of the Xataface to discuss and receive support.

custom error message

Postby 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
samhans
 
Posts: 96
Joined: Fri Feb 10, 2012 1:22 am

Re: custom error message

Postby 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
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: custom error message

Postby samhans » Wed Feb 29, 2012 5:58 am

thanks steve. done it
samhans
 
Posts: 96
Joined: Fri Feb 10, 2012 1:22 am


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 20 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved