Welcome Guest, Not a member yet? Register   Sign In
Blog URIs: many different ways to construct them. What did you do?
#15

[eluser]keld[/eluser]
Hey so I'm almost there, one question though, when I get a 404 redirect using the show_404() function, I'd like instead to display my own custom 404 page (which will actually be my template file that i use for displaying my regular webpages plus some extra options like links plus a searh field.
So I modified the error_404.php but then I got an error message on 'load' in
Code:
$this->load->view('navigation');
so I guess the 404 pages don't have access to the load class.

I have then created a 404.php view and in my controller did show_404('mc_home_controller/error_404'); because in the documentation is says you can pass the url of the page you to display but I still get the ugly 404 page.

Any advices?

Thanks!


Messages In This Thread
Blog URIs: many different ways to construct them. What did you do? - by El Forum - 01-12-2010, 07:01 PM



Theme © iAndrew 2016 - Forum software by © MyBB