Welcome Guest, Not a member yet? Register   Sign In
Custom 404 controller like any other controller
#8

[eluser]Jérôme Jaglale[/eluser]
Finally I think making a HTTP redirection is not user-friendly: the user doesn't know what is the wrong URL. Yes, of course you can pass the wrong URL as a parameter and display it on the page, but I would like to keep it simple.

I would like to make an internal redirecion. I mean, calling a standard method of a controller without making a HTTP redirection. Is there a way to do that directly in the function show_404 in MY_Exceptions class ?


Messages In This Thread
Custom 404 controller like any other controller - by El Forum - 06-23-2007, 08:35 AM
Custom 404 controller like any other controller - by El Forum - 06-24-2007, 08:49 PM
Custom 404 controller like any other controller - by El Forum - 06-24-2007, 08:51 PM
Custom 404 controller like any other controller - by El Forum - 06-24-2007, 09:12 PM
Custom 404 controller like any other controller - by El Forum - 06-25-2007, 12:51 AM
Custom 404 controller like any other controller - by El Forum - 06-25-2007, 01:26 AM
Custom 404 controller like any other controller - by El Forum - 07-13-2007, 08:05 AM
Custom 404 controller like any other controller - by El Forum - 07-13-2007, 09:09 PM
Custom 404 controller like any other controller - by El Forum - 11-16-2007, 09:23 AM
Custom 404 controller like any other controller - by El Forum - 11-16-2007, 10:06 AM
Custom 404 controller like any other controller - by El Forum - 11-16-2007, 11:23 AM
Custom 404 controller like any other controller - by El Forum - 11-16-2007, 12:47 PM
Custom 404 controller like any other controller - by El Forum - 11-16-2007, 01:09 PM
Custom 404 controller like any other controller - by El Forum - 08-08-2008, 08:53 AM
Custom 404 controller like any other controller - by El Forum - 10-07-2008, 07:45 AM
Custom 404 controller like any other controller - by El Forum - 10-07-2008, 07:52 AM
Custom 404 controller like any other controller - by El Forum - 10-07-2008, 07:53 AM
Custom 404 controller like any other controller - by El Forum - 03-13-2010, 10:37 AM
Custom 404 controller like any other controller - by El Forum - 11-09-2010, 07:55 AM



Theme © iAndrew 2016 - Forum software by © MyBB