If you are looking for the number of subcategories within a category, not all the subcategories below, you can look at the $category_loop variable on that page. That is an array that contains each of the sub categories for that page (1st level subcats)
sub {
my @num_cats = @{$_[0]->{'category_loop'}};
return scalar @num_cats
}
just call it as <%num_subcats%> or whatever you named it.
If you are trying to find subcats as well, check out the Yahoo Subcats plugin for some example code.
PUGDOG� Enterprises, Inc.
The best way to contact me is to NOT use Email.
Please leave a PM here.
sub {
my @num_cats = @{$_[0]->{'category_loop'}};
return scalar @num_cats
}
just call it as <%num_subcats%> or whatever you named it.
If you are trying to find subcats as well, check out the Yahoo Subcats plugin for some example code.
PUGDOG� Enterprises, Inc.
The best way to contact me is to NOT use Email.
Please leave a PM here.