codefog/contao-news_categories

Trail CSS class is missing in categories navigation

Closed this issue · 3 comments

At the moment only an active class is placed in the template. I need a trail class to select the parent element of an active child element.

The fix has been released in 3.1.7.

I got the following error after Update to 3.1.7 [2020-01-07 16:33:21] app.CRITICAL: An exception occurred. {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalThrowableError(code: 0): Type error: Argument 1 passed to Codefog\\NewsCategoriesBundle\\NewsCategoriesManager::getTrailIds() must be an instance of Codefog\\NewsCategoriesBundle\\Model\\NewsCategoryModel, null given, called in /www/htdocs/w018ed9f/live/vendor/codefog/contao-news_categories/src/FrontendModule/NewsCategoriesModule.php on line 345 at /www/htdocs/w018ed9f/live/vendor/codefog/contao-news_categories/src/NewsCategoriesManager.php:141)"} []

Sorry, should be fixed in 3.1.8.