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
Once all the components are available we can create the symfony layout in twig that includes all the new components, it is based on admin-dev/themes/new-theme/template/layout.tpl but probably a lot of variables can be renamed or fixed and some blocks can be removed
It should follow the same principle as the twig components, meaning it's based on a Twig component. We need two layouts:
a "normal" one that includes the menu and all the side elements
a "light" one that is used with all the components around and is used to display content in modals for example (it is based on the liteDisplaying query parameter so far, but this should be improved as well Maybe this could be made automatic via a listener that automatically switches the layout when a query parameter or an attribute is set on the Request (or it could be handled via a LayoutBuilder::layout variable maybe
fabienvallon
changed the title
Once all the components are available we can create the symfony layout in twig that includes all the new components, it is based on admin-dev/themes/new-theme/template/layout.tpl but probably a lot of variables can be renamed or fixed and some blocks can be removed
[Create the Symfony/twig default layout] Create the symfony layout in twig
Jul 7, 2023
jolelievre
changed the title
[Create the Symfony/twig default layout] Create the symfony layout in twig
Create the symfony layout Twig component
Jul 10, 2023
Description
Once all the components are available we can create the symfony layout in twig that includes all the new components, it is based on admin-dev/themes/new-theme/template/layout.tpl but probably a lot of variables can be renamed or fixed and some blocks can be removed
It should follow the same principle as the twig components, meaning it's based on a Twig component. We need two layouts:
liteDisplaying
query parameter so far, but this should be improved as well Maybe this could be made automatic via a listener that automatically switches the layout when a query parameter or an attribute is set on the Request (or it could be handled via aLayoutBuilder::layout
variable maybeBlocked by #33101
The text was updated successfully, but these errors were encountered: