Open dantleech opened 11 years ago
i guess the problem is that admin extensions are not applied to admin extensions. so we would need to add the locale to this admin again.
what we do in our project is simply to inherit the locale of the content to the locale of the menu items in the sonata preUpdate and prePersist methods. but for this, the admin has to be aware of what it is embedding...
(actually we do not even use the locale dropdown at all but rather use the request locale, as we found this is less confusing for our editors.)
the approach with using a form for admin extension is working nicely in the seo bundle. however, i did not manage to use the form to edit the document itself so we maybe gain nothing with this.
Originally reported by @wjzijderveld in ContentBundle
This is now a problem for MenuBundle as the admin logic has moved into the Extension.
Global issue: https://github.com/symfony-cmf/CoreBundle/issues/81