Conversation
This function won't work in case CMS was modified or in case extension extends an object:
$fields->addFieldsToTab('Root.Main', array(
$gridField
), 'Metadata');
|
The extension was specifically designed to be added to Pages, not DataObjects (I don't think the publish page & blocks action is going with DataObjects…). If you modify the fields, make sure your code modifies the fields before the extension applies its logic. You'll only run into problems when you remove the |
|
why won't work I think will work ok with versioned DataObjects? |
|
Have you tried it? The You can easily add page-blocks to your dataobject, but you should do so manually or with another extension, not by using the |
This function won't work in case CMS was modified or in case extension extends an object:
$fields->addFieldsToTab('Root.Main', array(
$gridField
), 'Metadata');