Originally Posted by
gjh42
First off, the relevant sections from the v2.7.3 readme:
---
The category display-limiting define takes this form:
define('CAT_BOX_ACTIVE_LEVEL', 'active|highest_level|deepest_level');
* The "active" field controls whether categories outside the current active tree will display: 0=all tops/1=full active tree only/2=active tree only (all tops when no cat selected)/3=full active tree, others limited per level controls/4=like 3, active branches only/5=like 1, no tops.
* The "highest_level" field controls whether top categories will display: 0=all levels/1=no topcats/etc.
* The "deepest_level" field controls whether subcategories will display: 1=only first subcats/2=first & second subcats/.../9=all levels down to 9.
---
To hide certain kinds of categories, like inactive, top or subs:
define('CAT_BOX_ACTIVE_LEVEL', '0|1|9');//hide top cats
or
define('CAT_BOX_ACTIVE_LEVEL', '1|0|1');//show only active cats, to first subcat level
Adjust the "active", "highest_level" and "deepest_level" field settings as shown above to display only the active top category and its subs, hide top cats, hide sub-subcats, or any combination.
Note that this can include "expanded categories" functionality, if the Uncollapsed Categories Tree mod in this package is installed.
Only uncomment and set this define if you want to hide cats based on active tree or level.
---
Since you would only want the current topcat's subs to show, you may be able to get your result with just this setting.
If you want all of the current top cat's subs to show whether in the current path or not, you will need to use the chcategories option. Install the chcategories folder and make changes as described in the readme for that.