Andrew ~

Yes!! It worked.

One more question: Where (if anywhere) could I have looked up this answer
(and probably many more), so I wouldn't have to bother this list with
questions like this?

~ Ken

> -----Original Message-----
> From: Andrew Milton [mailto:[EMAIL PROTECTED]
> Sent: Sunday, April 01, 2007 1:58 AM
> To: Ken Winter
> Cc: Zope List
> Subject: Re: [Zope] What's the tal expression to test for whether someone
> is logged in?
> 
> +-------[ Ken Winter ]----------------------
> | In other words, what should I substitute for X in the following to make
> this
> | division appear only when a user is logged in? :
> |
> |
> |
> | <div tal:condition=?X?> ? </div>
> 
> tal:condition="python: user.has_role(['Authenticated'],)"
> 
> --
> Andrew Milton
> [EMAIL PROTECTED]

_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to