Do you mean...
The main (home) page which lists all top level categories dhows the number of links in it:
Main Category (50)
But if you go that category, subcats under it show zero:
Main Category
Sub Cat One (0)
Sub Cat Two (0)
But it should be:
Main Category
Sub Cat One (25)
Sub Cat Two (25)
Is this the problem? The code works fine on my site, see this page which would be the equivalent of the third example above:
http://theonetruechurch.com/.../Spreading_the_Word/ Have you made changes to the code? This code from site_html_templates.pl, sub site_html_print_cat, is what puts the count in place, and it's not <%total%>:
# First let's get the name,
number of links, and last modified date...
$url = "$build_root_url/" . &urlencode($subcat) . "/";
if ($subcat =~ m,.*/([^/]+)$,) { $category_name = &build_clean($1); } else { $category_name = &build_clean($subcat); }
$numlinks = $stats{"$subcat"}[0]; $mod = $stats{"$subcat"}[1];
...more code...
# Then we print out the name linked, new if it's new, and popular if its popular.
$output .= qq|<dl><dt><strong><a class="link" href="$url">$category_name</a></strong>
<small class="numlinks">($numlinks)</small> |;
$output .= qq|<small><sup class="new">new</sup></small>| if (&days_old($mod) < $db_new_cutoff);
$output .= qq|</dt>|;
$output .= qq|<dd><span class="descript">$description </span></dd>| if (!($description =~ /^[\s\n]*$/));
$output .= qq|</dl>|;
Does your code look like this?
Leonard
aka PerlFlunkie