[Zope-CMF] Please help!!!!: Asking for the role...

mcolli@SyscomCipher.com.ar mcolli@SyscomCipher.com.ar
Fri, 23 Aug 2002 13:59:57 -0300


Hi,

I need to include a condition in one of the DTML documents, so if the
person  is "Anonymous" pressing a link to download information he has to be
sent to the Login_form.

Else, he has to be taken to the download page.

This is the code I have but I do not know how to tell the role part...

<dtml-if ???????????????>
  <a href="http://host/login_form">Available Downloads</a>

<dtml-else>

<a href="http://host/Downloads">Available Downloads</a>

</dtml-if>

Is this going to work with the right question in the dtml-if tag?? Please
help meeeee!!!!!!!

THANKS
Mariela