Configurable Layout Blocks
# help-with-umbraco
c
Is there any way of making a Block's Areas dynamic in the Editing UI? I'm working with Umbraco 13, but I'd accept answers about 14, or future plans, as well. The use case is a "Columns Layout" block - I'm hoping to do something similar to the 'two column layout' from the demo, but more configurable by the page editor. With the Two Column Layout / Areas model as I understand it, if I wanted to have a two column 50/50 section, a two column 25/75 section, and then a 33/33/33 section, all available in the same Block Grid field, I'd have to have three entirely separate Element Types, three custom cshtml views, and then use those three Element Types as Blocks in the Block Grid config, and then giving them their three separate Areas configurations. I think ideal for my use case would be to have it be a single Element Type, a single Block, with Element Type properties for 'how many columns' and 'how much space to give each one', and have the Block Grid UI on the page iteself dynamically show the correct number of Areas and show them with the correct spacings. If that's possible, how? If not, is it at least possible in the 50/50 vs 25/75 configuration? Or do all three really need entirely separate configurations?
9 Views