I'm trying to update the postlist template so that my subforums are displayed in two columns, rather than one. With 10+ subforums its a pain to have to scroll down to the posts below.
I'm stepping through the array 2 elements at a time, and the template essentially looks like:
{section name="fora" loop=$subforum step=2}
<tr>
<td>processing $subforum[fora] stuff</td>
<td>processing $subforum[fora+1] stuff</td>
</tr>
{/section}
so the 1st-column index is fora and the 2nd-column index is fora+1. But, the fora+1 doesn't seem to work in the template.
Is there a way to index the array in this fashion? Or perhaps another way to setup a {section} loop with a step of 1 and get a two-column table layout?
There's a very real possibility that I'm not allowed to use the index in this way, so an alternative I've yet to try is to use the
cycles function.
Any ideas on the matter would be aprpeciated.