[Product-Developers] Objects in folder not orderable
Hedley Roos
hedley at upfrontsystems.co.za
Wed Nov 12 13:40:07 UTC 2008
Alex Clark wrote:
> Hi all,
>
> I created this product with paster:
> http://svn.plone.org/svn/collective/Products.todo/trunk/
>
> It contains two content types 'Todo folder' and 'Todo item'. Todo items
> are supposed to be orderable inside a Todo folder (like any Plone object)
> but they are not.
>
> Martin and dixond said to 'mix in orderable' but it seems to me
> I should get that with base.ATCTContent?
> (http://svn.plone.org/svn/collective/Products.todo/trunk/Products/todo/content/todoitem.py)
> Also, I don't see any ATContentTypes mixing in orderable so it must come from somwhere...
>
> Anyway, I can't get it to work. What am I missing?
>
> Thanks,
>
> Alex
>
How about subclassing ATFolder from ATContentTypes.content.folder?
Hedley
More information about the Product-Developers
mailing list