AJAX ordering from contents tab
This a reply to Josh Johnson blog post AJAX Ordering In AT Content Types.
One of my customer said he can reorder his files at the Plone root, but not in my folderish content type. I tried to understand why, but I finally gave up by lack of time.
A few days later, I found there was a <<ordered>> stereotype in archgenxml. I tested to find out what it does. And that's it. If you add this stereotype to your folderish content type (my content type is called RendezVous), instead of:
RendezVous_schema = BaseFolderSchema.copy() + \ schema.copy() class RendezVous(BaseFolder, BrowserDefaultMixin): schema = RendezVous_schema
RendezVous_schema = OrderedBaseFolderSchema.copy() + \ schema.copy() class RendezVous(OrderedBaseFolder, BrowserDefaultMixin): schema = RendezVous_schema
And now you can reorder items from the contents tab!