hi Fray,
You're piece of template can't work because the [tbs_include] tag is not for a block.
This should work:
<div class="rigthBlock">
[slots.val;file=[val];block=div]
</div>
...
$TBS->MergeBlock("slots",$array_rtBlk);
|
$array_rtBlk should be a usual PHP array containing the files names (and evenually paths) as values.
- "slots.val" is the syntax to point on the value of Php Array for a merge-field.
- "file=[val]" enables you to include a file using the value of the field as the name of the file.
Enjoy,