[Zope] Custom 404 page?
Paz
paz@chello.nl
Tue, 12 Feb 2002 09:33:27 +0100
Dmitry,
Modify your standard_error_message page to have following:
<dtml-if "error_type=='Not Found'">
Page not found: 404
</dtml-if>
This will cover it.
-----Original Message-----
From: zope-admin@zope.org [mailto:zope-admin@zope.org] On Behalf Of
Dmitry Litovchenko
Sent: Tuesday, February 12, 2002 9:03 AM
To: zope@zope.org
Subject: [Zope] Custom 404 page?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: MD5
I didn't find the place to customize 404 ERROR page except in source
code. Is that the right approach to patch Zope code? I think no.
standard_error_message appears to show all errors except 404 one.
Could anyone suggest?
-----BEGIN PGP SIGNATURE-----
Version: 2.6
iQDVAwUAPGjMUvJfaWAEJLRDAQFdMQX/T9u3W0CIveHLq6DvJ5F4H5YG17RcCz7S
eKH0v6qt9zUpE+C/fshd2aH2LK2jmEYGXNNsvQTx11y5+KNY7ncvJqK5VavKbFSD
a7hTi1+fW70hxg2eCp9pTVcqqPkC7HIvT/Pf13YUrWhQjvUUUVVDfZYiQNl6QkBi
VmBJxnDysE/Y08hXo7sYBoTFCZRgTEeX0XnLNBPwb6JZLY4UJ1Lz3VQ68wu4/31r
h5Ynk7T8AhpEYQ58h+M4Y+rab/QZL9Ga
=E2xV
-----END PGP SIGNATURE-----
_______________________________________________
Zope maillist - Zope@zope.org
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope-dev )