Re: Re: track actions of authenticated users

Marco <[email protected]>
Newsgroups gmane.comp.web.zope.cps.devel
Message-ID <[email protected]>
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


_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.