What is the best way to do have "blocks within blocks"?

Permalink
Hi Everybody,

just starting with Conrete 5, so maybe this is a N00B-question, but I have been beating my head on this one for some hours now, so there we go :-)

I'm trying to figure out how to make this layout:

+-------------------------+
| +-----+ +-----+ +-----+ |
| |     | |     | |     | |
| |     | |     | |     | |
| +-----+ +-----+ +-----+ |
+-------------------------+
| +-----+ +-----+ +-----+ |
| |     | |     | |     | |
| |     | |     | |     | |
| +-----+ +-----+ +-----+ |
+-------------------------+
| +-----+ +-----+         |
| |     | |     |         |
| |     | |     |         |
| +-----+ +-----+         |


The small blocks contain a picture, a title and a small text. I have ben able to make those with Desgin Blocks - brilliant plugin!
But I cannot get my head around how to make the rest. I can create a 3 column layout no problem, but I want to force the layout in a more strict manner: I want to container of every row to be sligtly smaller than the rest of the page. So, I want each row to have a special container class. I don't know how to do that. The number of small blocks may be 1, 2 or 3. I do not want to create 3 Designer Blocks (thus loosing the ability to drag-and-drop blocks around!)...

What I think I'm tryint to do, is create a custom layout, but I am not sure... or sub-template, or something like that... I love the way C5 lets you create block, but how you can place them in a /less/ flexible way than creating a layout every time you want to place them.. hmmm... not so sure :-)

I could create a page-template with all the blocks in there, but then you would be forced to a specify the number of bloks up-front. (I think...)

Anyway, I hope my purpose is clear... anybody can make anything of this rambling? :-)))

Thanks!

Paul

 
datasouth replied on at Permalink Reply
datasouth
I'm not quite sure what you really meant, but based on what I understood you can create a view.css file on your block directory and do the layout using bootstrap. As for the containers, you really need to edit the block's view.php file and add them up there.

Hope this helps.

You can also try looking into stacks if you want blocks to be grouped.
pwiegers replied on at Permalink Reply
Hi DataSouth,

yeah, I was afraid of that :-)
I found it hard to describe what I need. Let me try again:

Keeping in mind the layout of the raster above: I want to be able to create a "thing" that will enable the user to drop a maximum of 3 blocks in a very specific column formatting - not the normal bootstrap "create as many columns in any with you want".

Is that maybe more clear? I think in Concrete5 terms I would like a custom layout.. I think :-)

Thanks for you taking the time to answer!

Regards,

Paul