Welcome Guest, Not a member yet? Register   Sign In
Load the 404 page from a controller
#1

[eluser]Tim Reynolds[/eluser]
Hi,

I am sure there is a simple way to do this but could not find it in the guide. I have a default controller that takes the first uri segment and if it is not a controller checks a pages db and loads it from there.

This controller can return nothing if the page is not in the db. How do i point this at the normal 404 page in 'application/errors'? or is it easier to copy the errors into the views?

Thanks
Tim


Messages In This Thread
Load the 404 page from a controller - by El Forum - 04-18-2009, 06:06 AM
Load the 404 page from a controller - by El Forum - 04-18-2009, 06:14 AM
Load the 404 page from a controller - by El Forum - 04-18-2009, 06:57 AM
Load the 404 page from a controller - by El Forum - 04-18-2009, 09:30 AM
Load the 404 page from a controller - by El Forum - 04-18-2009, 10:38 AM
Load the 404 page from a controller - by El Forum - 04-18-2009, 10:50 AM



Theme © iAndrew 2016 - Forum software by © MyBB