[Zope-CMF] Plone/CMF ActionBox question

Tres Seaver tseaver@zope.com
14 Aug 2002 16:06:32 -0400


On Wed, 2002-08-14 at 15:53, alienoid wrote:
> Hello zope-cmf users,
> 
> I have ZPT pages and python scripts in folder 'py' inside Plone site.
> I want when user logs in in his Action Box will be link to the folder
> 'py' index_html page.
> 1) How can I implement this?

Add an action to the "Actions" tab of one of the tools (e.g.,
'portal_actions':  id='py', action = 'portal_url/py'.

> 2) Is it possible to add one more global Tab only when user logs in? I
> mean anonymous user can't see this global Tab and authenticated user
> can.

Give that action a condition, 'member' (which will be None for anonymous
users).

Tres.
-- 
===============================================================
Tres Seaver                                tseaver@zope.com
Zope Corporation      "Zope Dealers"       http://www.zope.com