Hi
I have now made myself an all purpose grid layout based on a scss grid implementation (similar to boostrap).
I would like to be able to not configure regions with name in the layout.xml file.
Because I want the number of regions to be based on how many cells I add via an item set.
Example: Lets say you have a page that on desktop has
1 row with 3 cell
1 row with 2 cells and some offsets
1 row with 3 cell
Note: in another breakpoint there will be a different number of cells per row and offsets, so you cannot use row as a layout…
That would be 8 cells in total so 8 regions is needed.
My current workaround is to define regions with numerical names, and as many as I need on the most complicated page. But that means that whenever a more complicated page comes around, I need to add more regions to the xml.
So it would be easier if I don’t have to define regions and simply access them in the controller from a list…