Quote Originally Posted by cliffvt View Post
OK I made it work myself. For anyone else wishing to do make the hide categories plugin work with the responsive templates, this is what I changed:

in includes/classes/categories_ul_generator.php around lines 43 to 48

I changed:
PHP Code:
 $categories_query "select c.categories_id, cd.categories_name, c.parent_id
                                        from " 
TABLE_CATEGORIES " c, " TABLE_CATEGORIES_DESCRIPTION " cd
                                        where c.categories_id = cd.categories_id
                                        and c.categories_status=1 " 
.
                                        
" and cd.language_id = '" . (int)$_SESSION['languages_id'] . "' " .
                                        
" order by c.parent_id, c.sort_order, cd.categories_name"
to:

PHP Code:
$categories_query "select c.categories_id, cd.categories_name, c.parent_id
                                        from " 
TABLE_CATEGORIES " c, " TABLE_CATEGORIES_DESCRIPTION " cd," TABLE_HIDE_CATEGORIES " cde
                                         where c.categories_id=cd.categories_id and c.categories_id=cde.categories_id and cd.language_id='" 
.  (int)$_SESSION['languages_id'] . "' and c.parent_id= '0' and c.categories_status='1' and cde.visibility_status < 2 OR cde.visibility_status IS NULL;
                                        " 
order by c.parent_idc.sort_ordercd.categories_name"; 
An voila! the hidden categories do NOT show up under the "Category" menu heading.

CAUTION: After install of the plugin you have to physically edit each of your categories and save them, whether or not they are hidden.

Cheers

Cliff
I am happy that you figured it out ;)

Thanks,

Anne