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

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -

java - Digest auth with Spring Security using javaconfig -