[Zope] DTML error...
Chris Withers
chrisw@nipltd.com
Thu, 05 Apr 2001 13:56:56 +0100
Hostway Generic wrote:
>
> First of all, I can't stand how Zope acutally runs inputted dtml through its
> parser to check for errors or whatever, when you 'Save changes' on a
> website... and then looses the changes...sigh. :)
so move to ZPT :P ;-)
> <dtml-sendmail mailhost="MailHost">
> To: <dtml-if expr="AUTHENTICATED_USER.getUserName() != 'Anonymous User'">
> <dtml-var Message_To> <dtml-else> metatron@myseraph.org </dtml-if>
> From: <dtml-var expr="AUTHENTICATED_USER.getUserName()"> (mySeraph.org User)
> Subject: <dtml-var Message_Subject>
>
> You have been sent a message from the mySeraph.org website.
> The message is from: <dtml-var expr="AUTHENTICATED_USER.getUserName()">
> Please note that you can not respond to this message in email.
> <dtml-if expr="AUTHENTICATED_USER.getUserName() != 'Anonymous User'>
^^^
You're missing a "
If you get an error in a bug, DTML will complain about that block not being
closed, ratehr than telling you what the error really is. I'd just switch to
ZPT, there's _much_ more energy there, Guidos' working on it ;-)
cheers,
Chris