Tim_Myth
10-28-2005, 11:18 PM
Content visible to registered users only.
If you vary the number on line 6 ($cats_per_col > XXXX), it will set the maximum number of categories put in a column before switching to a 3 column layout.
In this code a category with less than 40 subcats, it will use a two-column layout. More than 40 subcats will use three column. If you change the number to 25, anything with more than 50 links will be three column.
This should go in your main.tpl.
If you vary the number on line 6 ($cats_per_col > XXXX), it will set the maximum number of categories put in a column before switching to a 3 column layout.
In this code a category with less than 40 subcats, it will use a two-column layout. More than 40 subcats will use three column. If you change the number to 25, anything with more than 50 links will be three column.
This should go in your main.tpl.