{foreach $data as $column name="colloop"} {$columnContain = []} {$renderTemplates = []} {foreach $column as $block} {if isset($block['type']['id'])} {$columnContain[] = $block['type']['id']} {$templateFileName = "blocks/"|cat:$block['type']['id']|cat:".html"} {capture name="catpure-renderTemplates" append="renderTemplates"} {include file=$templateFileName data=$block['data'] type=$block['type']} {/capture} {/if} {/foreach}
{$renderTemplates|implode:' ' nofilter}
{/foreach}