Score:0

Date scroller for View

jp flag

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:

enter image description here

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?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.