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
Well, I guess that changing the major means it breaks compatibility. I have a huge dependency on the bundle and I'm not ready to afford the resources to "migrate from 1.3 to 2.0" if it is "very different" to consume.
Breaking my admin panel say during 1 week could kill my business.
Is there any documentation on "migrating from 1.3 to 2.0". If it's "easy" I can try to move to 2.0.
As an example, large projects migrating from symfony 1 to 2 took 1 to 2 years of rewriting, while porting from symfony 2 to 3 was a matter of changing some directories and done. With this, I mean it's very "unpredictable" how much time it'll take to tackle a major-version change, unless it's clear where to touch. Symfony has had this in consideration and made any other "major" migration much simpler. Passing from 3 to 4 seems "trivial".
What's the complexity of moving avanzu from 1.3 to 2.0? Any documentation on that?
@xmontero I implemented the feature by overwriting the macros.html.twigfile. It's been a while and I'm not sure if this is the right way of doing this but here you go
Just copy the macros.html.twigfile into app/Resources/AvanzuAdminThemeBundle/views/layout/macros.html.twig and replace the menu_itemmacro. Hope this helps.
Activity
xmontero commentedon May 21, 2018
Will this be also available in 1.3?
shakaran commentedon May 21, 2018
@xmontero do you need it? Maybe it could be backported. But the idea is get rid soon of 1.3.x series and use as soon as possible 2.x and 3.x in future
xmontero commentedon May 21, 2018
Well, I guess that changing the major means it breaks compatibility. I have a huge dependency on the bundle and I'm not ready to afford the resources to "migrate from 1.3 to 2.0" if it is "very different" to consume.
Breaking my admin panel say during 1 week could kill my business.
Is there any documentation on "migrating from 1.3 to 2.0". If it's "easy" I can try to move to 2.0.
As an example, large projects migrating from symfony 1 to 2 took 1 to 2 years of rewriting, while porting from symfony 2 to 3 was a matter of changing some directories and done. With this, I mean it's very "unpredictable" how much time it'll take to tackle a major-version change, unless it's clear where to touch. Symfony has had this in consideration and made any other "major" migration much simpler. Passing from 3 to 4 seems "trivial".
What's the complexity of moving avanzu from 1.3 to 2.0? Any documentation on that?
danielroehrig-mm commentedon Jun 15, 2018
@xmontero I implemented the feature by overwriting the
macros.html.twigfile. It's been a while and I'm not sure if this is the right way of doing this but here you goJust copy the
macros.html.twigfile intoapp/Resources/AvanzuAdminThemeBundle/views/layout/macros.html.twigand replace themenu_itemmacro. Hope this helps.shakaran commentedon Aug 5, 2021
@xmontero please confirm if this is working for you:
Check that you don't have duplicated identifiers (there are a bug with collision name identifiers)