On 21 July 2011 08:32, Maarten Kling <[email protected]> wrote: > Hello, > > I am using Deco to setup a new website, the default Page type from > plone.app.page type works fine. > Now i need to create a new dexterity type called 'person' witch is having > the same (layout)properties like Page and some add-ons features. > I need the layout aware behaviors for editing my type the Deco way. > > As there is no class for the Page type from plone.app.page I cannot inherit > my Person type from the Page type and have to write all the FTI Deco needed > stuff myself. > > I there an easy way to do this? > > In the XML for my type there is <element > value="plone.app.blocks.layoutbehavior.ILayoutAware" /> defined. > > Hoping anyone can help.
Try to derive from the IPage schema and use the same FTI setup except for the interface/title/description. Martin _______________________________________________ Product-Developers mailing list [email protected] https://lists.plone.org/mailman/listinfo/plone-product-developers
