Found a small bug here that makes the subcategory page
Need to add this in under
sub site_html_print_cat {
or else you will have an extra <td></td> column at the beginning of the table.
If you want only two columns, I recommend that you put width='50%' in the <td> tag to make the columns even
<tr><td width="50%" class="catlist" valign="top">
To make the columns wider you can define
cellpadding="5" in the table tag.
Add this in
# We check to see if we are half way through, if so we stop this table cell
# and begin a new one (this lets us have category names in two columns).
if ($i == 0){ #add
$i++; # add
next; # add
} # add
($i and ($i % $breakpoint)) or ($output .= qq|</td><td width="50%" class="catlist" valign="top">\n|);
$i++;
defined $dynamic and &load_user ($dynamic, $cat_r);
$output .= &load_template ('subcategory.html', { %$cat_r, %GLOBALS }, undef, $template);
Need to add this in under
sub site_html_print_cat {
or else you will have an extra <td></td> column at the beginning of the table.
If you want only two columns, I recommend that you put width='50%' in the <td> tag to make the columns even
<tr><td width="50%" class="catlist" valign="top">
To make the columns wider you can define
cellpadding="5" in the table tag.
Add this in
# We check to see if we are half way through, if so we stop this table cell
# and begin a new one (this lets us have category names in two columns).
if ($i == 0){ #add
$i++; # add
next; # add
} # add
($i and ($i % $breakpoint)) or ($output .= qq|</td><td width="50%" class="catlist" valign="top">\n|);
$i++;
defined $dynamic and &load_user ($dynamic, $cat_r);
$output .= &load_template ('subcategory.html', { %$cat_r, %GLOBALS }, undef, $template);