9 Jan
2004
9 Jan
'04
3:02 p.m.
I use something like this to add a DTML Method inside of my folderish product: # Add default interface index_html = HTMLFile('dtml/index_html', globals()) text = index_html.read_raw() ob.manage_addDTMLMethod(id='index_html', title='') idx = ob.index_html idx.manage_edit(text, title='') the source for the index_html file is in the dtml folder in my product, and is called index_html.dtml Is this the correct Zope idiom? How can I do something similar for ZPT? _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail