by prettyscripts on 2009-07-23 15:04:10 • Leave a comment »
how do you replace the default brown page not found error? there are 2 ways to do it.
i chose to override default template because it seems more convenient.
from command line:
> cd /to/your/apps/[application]/modules
> mkdir default
> mkdir default/templates
> cd default/templates
> vi error404Success.php
yes, you want to create the directory manually. do not use init-module task because you don’t want to overwrite default actions.
the location of the default module:
/path/to/symfony/lib/controller/default