Custom Block / Template with one row and two columns
I can accomplish what I want in a Template with:
<div class="container_12"> <div class="grid_4"> <code> <?php $a = new Area('Left Clm - Screen Shots'); $a->display($c); ?> </code> </div> <div class="grid_8"> <code> <?php $a = new Area('Right Clm - Feature Info'); $a->display($c); ?>
but I would then need to keep repeating this each time I want a new row. So clearly doing it in the template is far from ideal.
I have read various articles on Custom Blocks and Custom Templates, however I am very new to C5 and am somewhat out of my depth.
So is a custom block the way to accomplish this. Any suggestions and bits of code are most welcome.
Have you seen this block:
I think it may do what you want.
1st. Remo made a block that does this. You can read about it and download it at:
2nd. If you upgrade to C5 5.4.x they built this function into the core. When you click the 'add to' choose the 'add layout' option and you're on your way. So in your theme you would only need one editable block instead of the two blocks nestled side by side.
I am using 184.108.40.206 and will also look into your other suggestion tomorrow.
I just found AreaSplitter and can see it may do what I want.
That said the 'staff-table' cannonf700 mentioned looks exactly like what I'm after.
Good luck and have fun!