0
{#if}
の条件の中でjTemplatesの$P.imagesPerRow
パラメータを使用することは可能ですか?
「Uncaught 12」の例外が発生します。
{#foreach $T as record}
{#if $T.record$index % {$P.imagesPerRow} == 0}
</tr>
<tr>
{#/if}
<td class='image-preview-cell' style='width: {$P.cellWidth}; height: {$P.cellHeight}'>
<img src='{$T.record.url}' title='{$T.record.title}' alt='{$T.record.title}'/>
</td>
{#/for}