Welcome Guest, Not a member yet? Register   Sign In
display error message in website.
#1

[eluser]überfuzz[/eluser]
I'm trying to display error messages in nice way. That is using the same html, header, menu etc as the rest of the site. Right now I've just edited the error pages, like error_404.php This is working Ok, but I really don't wanna edit the error pages every time I edit the menu, footer and other tings that goes through out the entire site. My problem now is that I don't know how to work this...

Is there a way to pass info to the error_pages.php?
#2

[eluser]Aken[/eluser]
Dynamic 404 pages require a bit of modification, as you can't load any dynamic information into the current error pages. The error pages are loaded before any other major CI info is called such as controllers, libraries, etc.

There are a few work arounds to this. Nothing definitive, though - pretty much you can decide how you want to work them depending on your app structure. Search around for "dynamic 404" for ideas.
#3

[eluser]überfuzz[/eluser]
I will. tnx!




Theme © iAndrew 2016 - Forum software by © MyBB