Ok I can find NO mod that works for 2.0. Basically when I create sub categories, (I dont want them showing on the main page so thats not a problem) when you go to a topic that has subcategories it lists them in one long list. I would like to hvae the sub categories list in a 2 or 3 column table.
The code in nph-build is listed as such:
# Calculate the related entries and put in a <LI> list.
@related = split(/\Q$db_delim\E/, $related); $related = ""; foreach $relation (@related) {
$related .= qq|<li><a href="$build_root_url/|;
$related .= &urlencode($relation);
$related .= qq|/$build_index">|;
$related .=&build_clean($relation);
$related .= "</a></li>";
}
Granted I can take the LI's out but to do a 2 column table with this code its impossible because the above code lists ALL the related links and there is no way to list one, then close a td then list another then close that td and start a new row. What I want seems easy, but with my little knowledge of perl I have no idea how to do it. Can someone help?
Thanks
Kelly
The code in nph-build is listed as such:
# Calculate the related entries and put in a <LI> list.
@related = split(/\Q$db_delim\E/, $related); $related = ""; foreach $relation (@related) {
$related .= qq|<li><a href="$build_root_url/|;
$related .= &urlencode($relation);
$related .= qq|/$build_index">|;
$related .=&build_clean($relation);
$related .= "</a></li>";
}
Granted I can take the LI's out but to do a 2 column table with this code its impossible because the above code lists ALL the related links and there is no way to list one, then close a td then list another then close that td and start a new row. What I want seems easy, but with my little knowledge of perl I have no idea how to do it. Can someone help?
Thanks
Kelly

