You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 16, 2021. It is now read-only.
Originally reported by @wjzijderveld in ContentBundle
The embedded route and menu forms for the content admin are great!
But for multilang menu nodes, it doesn't work to well.
It only shows one node, even though I have already a menunode in 3 locales (with fixtures in this case).
I'll try to look into it myself if I find the time, but wanted to have a reference over here.
This is now a problem for MenuBundle as the admin logic has moved into the Extension.
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.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Originally reported by @wjzijderveld in ContentBundle
This is now a problem for MenuBundle as the admin logic has moved into the Extension.
Global issue: symfony-cmf/core-bundle#81
The text was updated successfully, but these errors were encountered: