Add support for agenda/list display

Created on 25 May 2024, 11 months ago

This module handles sorting multiple date range fields well. This may be the only module that does this, at all.

However sometimes a calendar display is not needed. Having list data sorted by multiple date field values, which can be further styled, would be ideal in many cases.

✨ Feature request
Status

Active

Version

2.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States drupgirl

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @drupgirl
  • Status changed to Postponed: needs info 11 months ago
  • Thank you @drupgirl ! I'm glad this module helps.

    If I understand correctly, I think you want to have a new display to show events as a List.

    If yes, this is not related to Calendar View specifically but to Views displays.

    You can achieve it easily by creating a new display on your View and selected the a list display. Then you can add link to other displays in the header for instance, just like I did on the Drucal.org page (see attached screenshot).

    Please let me know if this is what you needed.

  • πŸ‡ΊπŸ‡ΈUnited States drupgirl

    Updated Title to make this request more clear.

    Yes, Views makes lists, however it does not sort these list using multiple date range fields. The sort for the standard list makes sorts the date fields independently and then stacks those results in order of the sort.

    Use case:
    Content type with multiple date range fields.

    Desire:
    To sort the nodes in a list by the most recent date range field value on the node.

    Node 1
    field_date_range value: dec 1 12:05am

    Node 2
    field_date_range value: dec 3 12:07am

    Node 3
    field_date_range_1 value: dec 2 227pm

    Outcome desired sorted by both date range field values:
    Node 1
    Node 3
    Node 2

    This module sorts the multiple date fields, and you can select the ones your want to include. Fantastic. Now I just want the order these nodes are being displayed in, not the Calendar display.

  • Status changed to Active 11 months ago
  • πŸ‡ΊπŸ‡ΈUnited States drupgirl

    added more info, update title for clarity

  • I see. Thank you for explaining.

    IMHO it is more of a feature to request on Views, not on this module.

    But it is interesting to have a list display for calendars anyway for other issues - such as a11y and responsiveness.

    Leaving this as active if others want to jump in to provide more context and/or work on a new Calendar View style plugin extending the Unformatted list for instance.

  • Status changed to Needs work 8 months ago
  • Status changed to Active 8 months ago
  • πŸ‡³πŸ‡΄Norway oasweb Oslo

    I do have similar needs and would like to fill in, in case someone has an good idea on how to achieve this. It is probably something that should be included in the views module.

    I am using the calendar view-module to display some of my events as a calendar. These events are stored as a couple of different content types, each with their own concept of time. Some multi day, and some as standard one day date time events. As it is only a few events pr month, I would as well be able to present them as a list for the coming year.

    For the time being I have added a small module that copies the start date from the multiday event to the one day date time event when it is saved. But then I get two instances of those events in my month calendar. A much cleaner way would be to do this as part of the "sort criteria" in views.

    If anyone can point me in a direction I might have a look into how to do this as part of a custom module.

Production build 0.71.5 2024