I've been using Zope for about a week now - its very cool!

I am probably just confused, so could someone put me out of my misery 
and tell me how to add a DTML method to a ZClass in its add method. 
The ZClass is a subclass of Object manager. 


This seems like it should be possible from DTML... 


First of all I tried to subclass both DTML Method and object manager, but they seem to interfere with each others manage_main methods... so I now have a child which is a DTML method. I just need to add it when the Zclass instance is added.

I tried things like this:


<dtml-call "_.addDTMLMethod('content')" >

with not much luck.


PS. I had a look at python methods, which seem a lot easier to use if you know python. However, I didn't seem to be able to assign to *any* lists or dictionaries. Is this to preserve persistance or something else?

eg to do
list[4] = 'help! '
I do
list = list[:4] + ['help'] + list[5:]

is this right?

Thanks

Rob