[Zope] Adding Folders and index_html from Python Script
   
    Dieter Maurer
     
    dieter@handshake.de
       
    Sat, 24 Mar 2001 21:24:44 +0100 (CET)
    
    
  
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