Hi everybody. Plz tell me, why in my project, when error 404 raised, nette rendered system 404 page? I have my own 404 page template and want to use it.
Last edited by opupenko (2012-02-07 09:00)
The easies way is to copy it as a template for ErrorPresenter
I asked about another. ErrorPresenter does not take controlling!!! Error pages showed by application, not this presenter!
You may not configured that. Try to add this code to your bootstrap.php
$application = $container->application; $application->catchExceptions = TRUE; $application->errorPresenter = 'Error';
thank you very much, it works!!