Osclass forums
Support forums => General help => Topic started by: Gilou26 on July 06, 2019, 01:01:46 pm
-
Hi.
With Osclass 3.8.0 and Osclasswizards 2.0.6, categories that are disabled in the Control Panel are still visible in the drop-down menu.
I do not want to delete these categories in the database because I may need them.
I found this in the forum for the item.form.class.php file but it does not work.:
[b]unset($tmp_categories_tree);
if($categories == null) {
$categories = Category::newInstance()->listEnabled();
}[/b]
How to prevent this?
Thanks for your help.
-
Hello!
Dropdown menu when posting an item, when searching? Or all the menus?
Regards.
-
Hi patrickFromCroatia.
The problem is when we do a search.
Finally, I deleted all categories that I did not use. I hope I do not need it.
Thanks anyway for your response.