Re: [Zope] Adding Folders and index_html from Python Script
24 Mar
2001
24 Mar
'01
8:24 p.m.
complaw@hal-pc.org writes:
I have a form that creates a folder with the name of the client as the title of the folder. No sweat. I use...
context.manage_addProduct['OFSP'].manage_addFolder(id=id, title=clientName)
... which works fine to make the folder itself.
However, there is nothing in the folder (i.e., no index_html file). newfolder= context.manage_addProduct['OFSP'].manage_addFolder.... newdoc= newfolder.manage_addProduct['OFSP'].manage_addDTMLMethod( "index_html","","<your template>")
Dieter
9144
Age (days ago)
9144
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dieter Maurer