Hi! I'd like to create a custom dashboard and I'm already familiar with that. The challenge is to create a mixed layout.
Please see attached file for example. I'd like to create a dashboard with different layout-sections. The first section should be <layout>DashboardLayoutOneCol</layout>.
The following section <layout>DashboardLayoutThreeCols</layout>
Does anyone know, if this is possible? I tried the code in the attachment. (it is slightly reduced for the picture!)
As Pierre stated it might be possible with your own class, just keep in mind that you won't be able to select the layout in the dashboard editor as the layout selection is hardcoded. You will have to import your WML dashboard first, then you might be able to edit it graphically
👍
1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi! I'd like to create a custom dashboard and I'm already familiar with that. The challenge is to create a mixed layout.
Please see attached file for example. I'd like to create a dashboard with different layout-sections. The first section should be <layout>DashboardLayoutOneCol</layout>.
The following section <layout>DashboardLayoutThreeCols</layout>
Does anyone know, if this is possible? I tried the code in the attachment. (it is slightly reduced for the picture!)
Kind regards,
G.H.
To my knowledge, this is not possible.
Hello,
Indeed this isn't yet possible. In theory you can add your own layout implementation by creating a class extending \DashboardLayout
As Pierre stated it might be possible with your own class, just keep in mind that you won't be able to select the layout in the dashboard editor as the layout selection is hardcoded. You will have to import your WML dashboard first, then you might be able to edit it graphically