[Zope] What's the tal expression to test for whether someone is
logged in?
Andrew Milton
akm at theinternet.com.au
Sun Apr 1 01:57:58 EDT 2007
+-------[ 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
akm at theinternet.com.au
More information about the Zope
mailing list