- Issue created by @drupgirl
- Status changed to Postponed: needs info
11 months ago 2:39pm 25 May 2024 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:05amNode 2
field_date_range value: dec 3 12:07amNode 3
field_date_range_1 value: dec 2 227pmOutcome desired sorted by both date range field values:
Node 1
Node 3
Node 2This 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 3:30pm 25 May 2024 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 9:07pm 17 August 2024 - Status changed to Active
8 months ago 7:08am 18 August 2024 - π³π΄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.