1st - Very cool mod
Works like a charm on the categories sidebox,
I inserted the following code:
to disable same categories for my category tabs.Code:$categories_tab_query = "select c.categories_id, cd.categories_name 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 c.parent_id= '0' and cd.language_id='" . (int)$_SESSION['languages_id'] . "' and c.categories_status='1' and cde.visibility_status='0'" .
when:
I get no categoriesCode:cde.visibility_status='0'
when:
I get the hidden categoriesCode:cde.visibility_status='1'
when:
I get the (direct link only) categoriesCode:cde.visibility_status='2'
But at no time do I see the categories I want displayed, does the above code work for category tabs?



Reply With Quote
