[Zope] scripts and products

Andrea Mennucc debian@Tonelli.sns.it
Tue, 26 Mar 2002 12:42:03 +0100


hi 

I am a newbie and it shows ...

I am writing a python script; 
I would like to create pagetemplates and extfiles 
(I have succesfully added the ExtFile product to Zope)

so I am trying to call 
 container.manage_addTemplateFile(id="my_tem__file",file="contenuto")
or
 container.manage_addExtFile(id="my_tem__file",file="contenuto")

from within my Python script; but this fails, saying
  Error Type: AttributeError
 Error Value: manage_addTemplateFile

what is the error?


a.

ps: please  CC any answer to me also

-- 
Andrea Mennucc
 "E' un mondo difficile. Che vita intensa!" (Renato Carotone)