[Zope] Custom 404 html message

Richard Barrett R.Barrett@ftel.co.uk
Tue, 19 Feb 2002 15:07:35 +0000


At 11:45 19/02/2002 +0000, Chris Withers wrote:
>Richard Barrett wrote:
> >
> > I take it this is the ZPT whose description and examples of use feature so
> > strongly in all of the books on Zope that have been published to date.
>
>Well look, if you wanna make an unmaintainable mess that comes back to 
>bite you
>next time your employer asks you for something on short notice, then stick 
>with
>DTML, I'm just trying to help you out.

How do you reach the conclusion that editing either the sole copy of 
standard_error_message in the server tree or positioning an edited version 
of standard_error_message at a strategic point in the server tree to affect 
error handling below it is creating the unmaintainable mess you are talking 
about?

If that is the case then I suspect there are a lot bigger problems extant 
on most Zope servers.

If DTML is such a disaster then a whole lot of people are a long way along 
the path to oblivion by now. Hell of a time to tell us it was all a big 
mistake.

>No, it doesn't feature in any paper books currently published (well, that's
>actually not true, it's in at least one or two of the Zope books I've 
>seen) but
>that's 'cos they were all written about 6 months ago.

The Zope Book - no mention

Zope web application construction kit by Brockman et al - no mention

Zope ... - Spicklemire et all - has a short description which is sufficient 
to highlight the learning curve to adopt "These powerful and promising 
technologies ..."

>It does have plenty of examples (including Peter's guide to turning common 
>DTML
>idioms into ZPT) and the language reference in the wiki is all I've needed.
>
> > What was that you said? Oh, you mean that I have to spend _all_ my time
> > keeping abreast of where Zope is going and all of its great new
> > developments and shouldn't be doing anything else.
>
>It's not like I suggested you should be using Zope 3 or something. If you 
>wanna
>be sarcy, then fine, but don't expect much help from people who aren't getting
>paid to answer questions on this list in future.

I doubt anybody posting to this list is getting paid for it. If what I say 
in a post is wrong then I suggest you EXPLAIN why. Remember you chose to 
express a value judgement with your *vomit* comment, not offer a fact. Hell 
I'll happily unsubscribe myself than get that sort of "help".

The alternative you offered involved writing a python script and a page 
template and maybe doing a Zope upgrade as the alternative to using some 
simple DTML. The new orthodoxy may say that is better but I'm some way from 
being convinced of it.