I would like to add a widget or a plugin which is a date scroller to a view page.
The widget would be on the side of the view, showing the months of the nodes that are being viewed.
So, lets say I have a view which displays nodes of content and once it is scrolled and it shows some nodes that were from the month March, the date scroller shows March.
It would look something like this:
Can I override it somehow in a twig template? The code would look something like this:
<div class="date-scroller__list-wrapper swiper-wrapper"> {% for row in rows %} <div class="date-scroller__list-item swiper-slide">row.month</div> {% endfor %} </div>
Any advice on this? What is the easiest approach here?