> I want to write some dtml code that will add a DTML method that is
> totally empty.  The add_DTMLMethod method in Zope puts in the default
> Zope content.  How do I avoid that?
> 
Try:
 manage_addDTMLMethod(id='test1', title='This is a test', file='')

The file parameter can be a file like object or a string.

-- 
Duncan Booth                                             [EMAIL PROTECTED]
int month(char *p){return(124864/((p[0]+p[1]-p[2]&0x1f)+1)%12)["\5\x8\3"
"\6\7\xb\1\x9\xa\2\0\4"];} // Who said my code was obscure?
http://dales.rmplc.co.uk/Duncan

_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to