[Zope-PTK] How to make old objects to see asHTML

Bill Anderson bill@libc.org
Wed, 09 Aug 2000 19:03:59 -0600


Fabio Forno wrote:
> 
> I've added the asHTML method to the Document object, but only new
> documents become publishable. The older ones are still unpublishable
> with the index_html method. How can I skip to reinsert the docuemnt
> objects to make that method viewable?


Try removing the .pyc for Document in the PTK directory, and restarting Zope. This is how I test additions to base
classes, and it works for me. YMMV


--
Do not meddle in the affairs of sysadmins, for they are easy to annoy,
and have the root password.