/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php $output = ''; foreach ($ar_chunks as $chunk) { if ($chunk != '') { $c = $modx->getChunk($chunk); if ($c) $output .= $c; } } $output = '<div id="'.$wrapperdiv.'">'.$output.'</div>'; } return $output; ?>