Issue with [News Archive Menu]: Active year no longer marked as active
Opened this issue · 0 comments
Hello everyone,
I am using Contao 5.3.18 with the modules [News Archive] and [News Archive Menu].
In the News Archive Menu, I want to display the years without showing the “Number of entries”. Additionally, the current year should be marked with .active and , which works perfectly.
However, after installing the extension codefog/contao-news_categories, I encountered the following issues:
1. The “Number of entries” setting is ignored, and the number is always displayed. I could fix this by customizing the template if necessary.
2. The active year is no longer marked as .active. The $this->activeYear variable is empty. If I change the view to “Month,” it works again…
I haven’t changed any module settings between “working without the extension” and “broken with the extension.”
For reference:
• I have a customized template for news_latest.html5, but I deactivated my customized mod_newsmenu.html5 for testing.
• No other custom templates for news are present.
Does anyone have an idea of what might be causing this issue or how I could fix it?
Thanks in advance for your help! 😊