Description
this looks pretty bad (the current sandbox is still the same):
http://cmf.liip.ch/de/admin/bundle/content/multilangstaticcontent/cms/content/demo/edit
is there a way we can not have the admin extension trigger when embedding? i guess that is up to the extension itself to figure it out - should we adjust it? i guess we should also hide the name as its not editable anyways.
according to thomas rabaix, the proper way to know if an admin is embedded is to check getParentFieldDescription for null. if i add this to the publish workflow extensions, it gets a lot better:
if (null !== $formMapper->getAdmin()->getParentFieldDescription()) {
return;
}
shall we do that? do we have to make this configurable?
- [MenuExtension] Embedded multilang menus menu-bundle#106
- slideshow block has too many fields for imagine admins block-bundle#118
Another option is to have a less compact view ith sonata_type_collection
disable the two lines
'edit' => 'inline',
'inline' => 'table',
which makes the items show as in the stand alone editing with one row per field. that is more usable then what we end up here. however, the layout then still could use a lot of tweaking.