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

Reply via email to