Hi!
I would like to add some method to an existing content type class.
What I've done now is using schemaextender and a custom marker
interface to a Document:
class DocumentExtender(object):
"""Adapter that adds a Ripped Off From Channel field to News Items."""
adapts(IDocumentExtended)
implements(IOrderableSchemaExtender)
_fields = [
Schemaextender can add new fields, I would like now to add some new
methods. From my understanding of ZCA, I've to write some adapter for
the custom interface. Is it correct? Is there some code/product about
this issue I can read from?
Thank you very much for any pointer.
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers