[Zope-CMF] Re: Re: [Plone-users] Allowing content authors to
onlydelete some content from a folder
Dieter Maurer
dieter at handshake.de
Tue Oct 21 16:25:41 EDT 2003
Lars H. Korte wrote at 2003-10-20 21:14 +0200:
> "Dieter Maurer" <dieter at handshake.de> schrieb im Newsbeitrag
> ...
> > > Where and How would I "install" a script like this in order to be
> > > executed, when the delete-button is hit? In portal_actions?
> >
> > The easiest place is the "custom" folder in your "portal_skins"
> > as, then, you can assign the proxy role via ZMI.
> >
> > You can also use an FSPythonScript, but then you must add a property
> > for the proxy role and this is not straight forward (especially,
> > there is a change between CMF 1.3 and CMF 1.4).
> >
> > Ensure, that your delete action (whereever you define them)
> > calls your delete script.
> >
>
>
> ok! but how and where can I tell plone/zope to call my delete script?
Apparently, you need some background reading...
Read about "actions" in the Plone documentation.
Dieter
More information about the Zope-CMF
mailing list