[CPS-devel] Re: Re: track actions of authenticated users

Marco marco.mandl at gmx.at
Fri Sep 15 18:43:59 CEST 2006


Julien Anguenot wrote:

> The easiest way to hook up would be from "main_template.pt" which is
> within CPSSkins, in this case. Check the Zope REQUEST API to extract
> from this one the information you're looking for.
> 
I started to customize main_template.pt. Therefore I wanted to insert the
following code:

              dummy python: auditfile=open('/tmp/audit','w');
              dummy python: auditfile.write('test audit');
              dummy python: auditfile.close();

But as soon as I click save I the open( is changed in PrivoxyWindowOpen( and
I get an error message.

I don't understand what's happening there. I just want to insert a code that
writes something to a file.

/m





This list archive provided by Nuxeo, the leaders of open source ECM. Check out the Nuxeo 5 open source, standards-based ECM project.