php - How to wrap multiple blocks -
i need wrap custom number of blocks on page apply grid system them.
i know setblockwrapperstart() , setblockwrapperend(), these applied after each block generated.
let's have 12 blocks of given type , want wrap first 1 @ beginning <div class="row"> , after 4th 1 want append </div>. , next (5th block) want start <div class="row"> again...
is there way implement concrete 5? use standard output right , couldn't figure out how add loop or implement approach:
$b = new area('test block'); $b->display($c); i'm using concrete 5.6.3.4. thank you!
i think might have use quick , dirty hack , add html blocks markup in them in between other blocks
Comments
Post a Comment