Slash Boxes

Slash Open Source Project

This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login
Loading... please wait.
  • by Double J (1669) <> on Tuesday July 03 2001, @01:40PM (#2893) Homepage
    Maybe my thanks was a bit premature... could your solution have been a little more cryptic?
    After playing with it a bit, this hack seems to do what we want:

    [% x = -1 %]
    [% FOREACH t_key = topics.keys.sort; topic = topics.$t_key %][% x = x + 1; "/TR TR" UNLESS x MOD 6 %]

    (fix "/TR>TR>" - altered to post)

    NOTE: In case you did not notice, the topic display you see from the admin screen is different than the one from the topics page.