[Zope] Can I change the 404 page?
Maik Jablonski
maik.jablonski@uni-bielefeld.de
Wed, 10 Apr 2002 11:14:30 +0200
On Wed, 10 Apr 2002 06:59:22 +0100 "Paul" <p3d@p3d.co.uk> wrote:
> I've had a look through the Zope book shelf and I haven't been
> able to find out how to set up a custom 404 error page. Is this
> possible?
hi, a snip from a previous message:
Taking the basic standard_error_message and changing like this might work:
<dtml-if "error_type == 'NotFound'">
<dtml-comment>
Add special handling for 404 Not found here
</dtml-comment>
<dtml-else>
<dtml-comment>
Put the contents of the default standard_error_message DTML method
here </dtml-comment>
</dtml-if>
--mj