Let's say I had something like below:
 
What this is trying to do is display images.
I would like it to display only a certain amount per row, defined by the variable "maxThumbsPerRow".
I figured the best way to do this would be to check if "@status/index" divided by "maxThumbsPerRow" is equal to 0. If this is true, just add a line break.
I'm just not sure how or if I can do the division in the "<ww:if" tag.
Can I do it this way? Or is there an easier way and I'm just trying to do it the complicated way?
 
<ww:subset source="album/images" start="begin" count="total" />
    <ww:iterator status="'status'">
        Display stuff.
   
        <ww:if test=
            <br>
        </ww:if>
    </ww:iterator>
</ww:subset>

Reply via email to