Build your news in column-order instead of row-order
build 1
This addon allows you to build your news in column-order instead of the traditional row-order.
For example, suppose you submit your news from A to Z and you want your front page to only display the first 16 in the following order:
A E I M
B F J N
C G K O
D H L P
Columnize ( in conjunction with News Categories or NewsCat ][ ) lets you do this. Just edit the file npa_columnize.pl to set $CFCnumrows to 4 and $CFCnumcolumns to 4, and use the DoColumnHTML subroutine as your news display subroutine. (Set this in Edit Profile)
If you only submit news from A to N, your news will look like this:
A E I M
B F J N
C G K
D H L
So don't panic if it looks weird. Remember, this is column-major order, not row-major. Therefore, columns must be filled to completion, not rows.
Let me know (by posting in the Addon Madness forum) what you think of this nifty little addon.
Downloadposted by plushpuffin (17/11/2001)