[Zope-CMF] Please help!!!!: Asking for the role...
Alastair Burt
burt@dfki.de
23 Aug 2002 21:05:04 +0200
mcolli@SyscomCipher.com.ar writes:
> 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!!!!!!!
http://www.zopelabs.com/cookbook/992447999
--- Alastair