[Zope-CMF] what method is called when a CMF Site is viewed ?

Ausum Studio ausum_studio@hotmail.com
Mon, 14 Apr 2003 07:45:06 -0500


You can create any action(method) you want and enable it to work according
to your needs, by using the "actions" tab at the portal tools that allow it.
For site-wide actions you may choose to create them at portal_actions.
Now, assuming that what you need is to call a method at *every* page view
(like to register a hit to a live-stats engine), you may place that call at
one of the universal layout skins, like 'standard_html_header' (DTML) or
'main_template' (ZPT).
Whether there's a better place for that, I also would like to know. :)


Ausum



----- Original Message -----
From: "robert" <robert@redcor.ch>
To: <zope-cmf@zope.org>
Sent: Monday, April 14, 2003 7:37 AM
Subject: [Zope-CMF] what method is called when a CMF Site is viewed ?


> I am looking for a place where I could put a method that I want to be
called
> whenever a CMF/ Plone site is viewed.
> Index_html is for the user, so I can not use it.
> I have been digging trough the code looking for a __call__ or index_html
that
> might be a candidate but fouund nothing (did not understand it probably).
>
> Any hint is appreciated.
>
> Robert
>
> _______________________________________________
> Zope-CMF maillist  -  Zope-CMF@zope.org
> http://mail.zope.org/mailman/listinfo/zope-cmf
>
> See http://collector.zope.org/CMF for bug reports and feature requests
>