As a follow up, I wanted the same thing, but already had the "main section" of categories done, it was the add-ons I wasn't sure how many or what order etc.
I needed to add a line at the end of the current categories.
Find the file per above poster's instruction, then around line 51 find:
Code:
if (SHOW_COUNTS == 'true') {
if ((CATEGORIES_COUNT_ZERO == '1' and $box_categories_array[$i]['count'] == 0) or $box_categories_array[$i]['count'] >= 1) {
$content .= CATEGORIES_COUNT_PREFIX . $box_categories_array[$i]['count'] . CATEGORIES_COUNT_SUFFIX;
}
}
$content .= '<br />' . "\n";
}
}
and change to:
Code:
if (SHOW_COUNTS == 'true') {
if ((CATEGORIES_COUNT_ZERO == '1' and $box_categories_array[$i]['count'] == 0) or $box_categories_array[$i]['count'] >= 1) {
$content .= CATEGORIES_COUNT_PREFIX . $box_categories_array[$i]['count'] . CATEGORIES_COUNT_SUFFIX;
}
}
$content .= '<br />' . "\n";
if ($box_categories_array[$i]['path'] == 'cPath=26') {
$content .= '<hr id="catBoxDivider" />' . "\n";
}
}
}
where 26 is changed to YOUR last cat.