Archive plugin: display archived items


#1

I try to implement the archive plugin for news-items. I do get a list with the right items but if I click on the items I don’t get any news. What could be wrong? Since the right amount of items is listed/picked up? The link I get is:
XXX/nieuws/archives_month:02_2019
You can visit the page here: http://vzwdeschakelbe.webhosting.be/nieuws
Thanks in advance for anyone looking into it :slight_smile:28


#2

I came to the following solution. The links had to look like …/archives_month:feb_2019
I changed in the plugin partial (archives.html.twig)
<a href="{{ base_url }}/{{ config.plugins.archives.taxonomy_names.month }}{{ config.system.param_sep }}{{ month|date('m_Y')|lower|e('url') }}">
to
<a href="{{ base_url }}/{{ config.plugins.archives.taxonomy_names.month }}{{ config.system.param_sep }}{{ month|date('M_Y')|lower|e('url') }}">
It solved my problem :slight_smile: