[web2py] Re: custumize error page

2013-03-01 Thread Niphlod
did you try the recommended way already ? 
http://web2py.com/books/default/chapter/29/04#Routes-on-error

On Friday, March 1, 2013 3:48:06 PM UTC+1, BlueShadow wrote:

 Hi,
 I like to make my errorpages a little nicer. adding a link to get back to 
 my main site... and displaying the error code 400 404 etc.
 How can I do that. can I have like a function like error_site() in my 
 controler?
 do I need to do something with the routes.py?

 thanks for your help.


-- 

--- 
You received this message because you are subscribed to the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[web2py] Re: custumize error page

2013-03-01 Thread Rufus
routes.example.py  is very helpful for this (I was tempted to add another 
hint, butnah.)

On Friday, March 1, 2013 9:48:06 AM UTC-5, BlueShadow wrote:

 Hi,
 I like to make my errorpages a little nicer. adding a link to get back to 
 my main site... and displaying the error code 400 404 etc.
 How can I do that. can I have like a function like error_site() in my 
 controler?
 do I need to do something with the routes.py?

 thanks for your help.


-- 

--- 
You received this message because you are subscribed to the Google Groups 
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.