Yes, make your method "standard_unauthorized_message".... and then call it from "standard_error_message" when an Unauthorized error occurs: <dtml-if "_.str(error_type)=='Unauthorized'"> <dtml-var standard_unauthorized_message> </dtml-if> Cheers. -- Andy McKay. ----- Original Message ----- From: <Menard.Jean-Francois@hydro.qc.ca> To: <zope@zope.org> Sent: Tuesday, April 17, 2001 10:25 AM Subject: [Zope] Custom unauthorized message Is there a simple way to define a custom "Unauthorized" message, like a "Standard Unauthorized Message" dtml method? If not, why not? Jean-François Ménard Intranet DPAS Pratiques d'affaires et orientations * (514) 840-3000 poste 3939 * (514) 840-5585 * menard.jean-francois@hydro.qc.ca * 855 Ste-Catherine est, 6e étage Montréal, Qué. H2L 4P5