On 18 June 2010 15:21, Yuri <[email protected]> wrote:
> Hi!
>
>  I would like to add to existing content types some fields. Then I can
> use schema.extender. Then, I would like to apply this "extension" only
> when "subtyping" is enabled (example: a Document, after pulling down the
> subtype menu, show more field in edit).
>
>  Is there some example code available somewhere? Is it easy to use
> schemaextender and subtyping together?

Subtyping is just a fancy word for adding a marker interface. Register
your schema extender adapter for that same marker interface, and you
should be fine.

Martin
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to