In categories_dressing_functions.php, add a new case to the switch in function cat_active_level_manage($path):
PHP Code:
//alternate case for Berserker 20110207
//The main categories are already set up with all the subs and sub-subs using ch_categories.
//Just need to be able to show on the top cats on homepage and pages that are not category or product.
case 6://full tree (only all tops when no cat selected)
if($cPath_top == 0) $test_level = 1;
break;
Then set the parameters:
PHP Code:
define('CAT_BOX_ACTIVE_LEVEL', '6|0|0');//show only top cats when no cat selected
Alternatively, adding the flyout rules would get the sidebox compact on all pages.
Bookmarks