It works great , thanks, BUT...
The subcategories are hidden in the menu, but when you click in the menu on the level 0 category, the hidden subcategories still appear on the main page because the index.php does it. So you must go in index.php whereever you find TABLE_CATEGORIES and add the "and status_categ = 1" in the query, so only active subcategories are selected from the database and displayed as icons in the main page. I found 5 placed in the index.php where this must be done. There is no sense to add them here because it is easy to find.
I also used "dm_categories.php" add-on (Nate Welch http://www.natewelch.com) instead of the usual categories.php and had to modify only 1 line, the only one where "tep_db_query" appears. Here also must be added "and c.status_categ = 1". I hope it helps.
More...





LinkBack URL
About LinkBacks









Bookmarks