[Zope-CMF] Again Plone/CMF ActionBox question

Chris Withers chrisw@nipltd.com
Thu, 15 Aug 2002 13:50:10 +0100


alienoid wrote:
> TS> Give that action a condition, 'member' (which will be None for anonymous
> TS> users).
> 
> This works! And how can I, for example, show global tabs on per
> username basis. 

Your solution doesn't sound very scalable. How will these tabs differ?

 > What should I write in 'Condition' field?
> I have user 'test' but it doesn't work when I put into 'Condition'
> field the next string:
>  python: member == 'test'
> Tab doesn't appear at all.
> What am I missing?

try:

member and member.getId()=='test'

cheers,

Chris