[prev in list] [next in list] [prev in thread] [next in thread]
List: zope-cmf
Subject: [Zope-CMF] portal_actions condition
From: cla <clark2 () net ! sapo ! pt>
Date: 2005-04-25 12:35:21
Message-ID: 1114432521.353pbcr5v08w () w4 ! mail ! sapo ! pt
[Download RAW message or body]
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/
_______________________________________________
Zope-CMF maillist - Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf
See http://collector.zope.org/CMF for bug reports and feature requests
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic