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? -L
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?
I'd say add the dtml method then edit it to empty the contents. Or hack the source. ;) --jfarr "Perl is worse than Python because people wanted it worse." Larry Wall, 14 Oct 1998
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 duncan@dales.rmplc.co.uk 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
participants (3)
-
Duncan Booth -
Jonothan Farr -
Lindell Alderman