14 Feb
2002
14 Feb
'02
7:13 p.m.
Richard Barrett wrote:
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>
*vomit* ;-) Put a python script in which calls the appropriate ZPT for an error message or have the python script do other processing (such as a redirect) if you don't want an error message shown. cheers, Chris