[Zope-CMF] Actions when viewing an object
Robert Rottermann
robert@redcor.ch
Mon, 2 Jul 2001 20:47:30 +0200
You have a nice signature. It would be even nicer with a litle explanation!
You can create actions TTW.
go to portal_types an click on one of the existing types. A new screen opens
with Properties/Actions/...
Click on the actions tab
Her you go.
In the actions you can call any method that is somehow reachable through
aquisition.
If you need something special just copy a method close to your needs to the
custom skin folder. There rename and adapt it as needed.
Robert
----- Original Message -----
From: "Norman Khine" <norman@khine.net>
To: "Zope-CMF" <zope-cmf@zope.org>
Sent: Sunday, July 01, 2001 12:01 PM
Subject: [Zope-CMF] Actions when viewing an object
> Hello,
>
> Is there a way that one can create his/her own actions.
>
> For example in the news box, we have:
>
> <dtml-in "portal_catalog.searchResults( meta_type='News Item'
> , sort_on='Date'
> , sort_order='reverse'
> , review_state='published'
> )" size="10">
>
>
> can I for example add a subject_type criteria. So that I want to be able
to
> list News Items with a specific subject type.
>
> Many thanks
>
> Norman
>
> zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
> zz/********/z/****\zzz|****\*\zz|*******|z
> z/^^^^^^^^/z/******\zz|*^^^^|*|z|*|^^^^^|z norman khine
> zzzzzz/**/z|**/^^\**|z|*|zzz|*|z|*|zzzzzzz mailto:norman@khine.net
> zzzzz/**/zz|*|zzzz|*|z|****/*/zz|*****|zzz purley
> z/******/zz|*|zzzz|*|z|*|^^zzzzz|*|^^^|zzz UK
> zzZ/**/zzzz|**\^^/**|z|*|zzzzzzz|*|zzzzzzz
> zz/******/zz\******/zz|*|zzzzzzz|*|*****|z
> z/^^^^^^/zzzz\^^^^/zzz|^|zzzzzzz|^^^^^^^|z
> zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
>
>
>
> _______________________________________________
> Zope-CMF maillist - Zope-CMF@zope.org
> http://lists.zope.org/mailman/listinfo/zope-cmf
>
> See http://www.zope.org/Products/PTK/Tracker for bug reports and feature
requests
>