I need a little help with the smarty templating engine.
See, I know to loop through an array you use the {section} command and even the {cycle} if you want to do things like change the bg color for each row...
However, what I'm trying to do is do a double-cycle like thing, if you can call it that.
I want to loop through an array, displaying the info into a table, but I want to display 3 array items PER row and THEN switch to the next row..
So for example the table should look like this after it is outputted:
Item 1 Item 2 Item 3
Item 4 Item 5 Item 6
Item 7 Item 8 Item 9
and so on. Does anyone have any suggestions or websites I can go to that'll tell me how to do this?
Thanks!