Greetings and Merry Holiday!
I need help with dtml-if. I was able to successfully implement customized error messages with email sending to me.
The problem is, I want to avoid receiving email when the errors are common like LoginRequired errors.
I used this:
<dtml-if "error_type != 'LoginRequired'">
<dtml-var sysad_send_process>
</dtml-if>
But then I want to avoid additional errors and thus:
<dtml-if "error_type != 'NotFound'">
<dtml-var sysad_send_process>
<dtml-elif "error_type != 'Not Found'">
<dtml-var sysad_send_process>
<dtml-elif "error_type != 'LoginRequired'">
<dtml-var sysad_send_process>
<dtml-elif "error_type != 'SMTPSenderRefused'">
<dtml-var sysad_send_process>
<dtml-elif "error_type != 'Bad Request'">
<dtml-var sysad_send_process>
</dtml-if>
But now, all errors are sent to me. It seems like the dtml-if and dtml-elif does not work.
What did I do wrong?
fritz <www.mesedilla.com>
senior systems administrator
summit interactive, inc.
www.fhm.com.ph | www.femalenetwork.com | www.candymag.com
---
+basta ikaw Lord