On 3 Jul 1999 michel@digicool.com wrote:
Andreas Kostyrka <andreas@mtg.co.at> writes:
Hi!
I've got two questions: -) How do I customize the Zope error message? -) Can I have custom error messages in Subfolders?
Yes, you can do both. You can customize any errors that happen in DTML or in the object system by editing standard_html_error. Since this method is acquired everywhere in the object system, you can override it at specific points by just creating a new method (or any object, really) called standard_html_error.
Note that at the moment, you cannot edit errors which happen in ZPublisher, such as Bad Request, Unauthorized and (perhaps most Well, then that would explain why customizing Unauthorized errors wouldn't work ;(
Andreas -- Win95: n., A huge annoying boot virus that causes random spontaneous system crashes, usually just before saving a massive project. Easily cured by UNIX. See also MS-DOS, IBM-DOS, DR-DOS, Win 3.x, Win98.