[Zope-CMF] portal_actions condition

cla clark2 at net.sapo.pt
Mon Apr 25 08:35:21 EDT 2005


hello!

I want to add a condition in some portal_tab
that alows to show this or not,depending on
the user name that is logged.

I have tried to use the getUserName to make the
compares but seems that he dont recongize that method

this was my try:
(in the condition field) python: 'user-name'==portal.getUserName()




SMS GRÁTIS do seu PC para qualquer rede nacional (TMN, Vodafone, Optimus e PTC). Basta instalar o SAPO Messenger e adicionar amigos!
Vá agora a : http://messenger.sapo.pt/sms/



More information about the Zope-CMF mailing list