-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 11 Jun 2007, at 18:05, Charlie Clark wrote:
Back to my original problem: it's easy enough to edit Document.py and document_edit_template. However, I note that the browser/ document.py does some kind of lookup for supported text formats. Is this what Tres was referring to? How do I register restructured for use for anything using formlib?
See the very top of CMFDefault/browser/document.py, there's a simple hardcoded structure.
BTW - should we keep NewsItem as a separate Python module? The difference between a NewsItem and a Document is minimal and essentially one of presentation and this should surely be handled by the registration.
I don't think this is an issue worth devoting time to. jens -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) iD8DBQFGbaJlRAx5nvEhZLIRAtfOAJ99M7m+B/mNa2Fy3ffDFoMkl2x49wCgstk/ Cj3L6Bbsux4Pb75fo4fPc9I= =3UEZ -----END PGP SIGNATURE----- _______________________________________________ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests