Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
Is this not already available? Leaguesite:match date is already available in Views, does that not mean that calendar can access it too?
I haven't tried this myself, but since calendar is a add on to views, it should already be available.
The Calendar views are fairly particular about what they take as a Date field - I believe it must be a Date module field. I tried the following:
For Arguments:
LeagueSite Match: Matchday
Fields:
Node: Title
LeagueSite Match: Matchday Matchday
LeagueSite Match: Start time Start time
Result:
The calendar_nav style requires a Date argument.
The date argument date fields must be added to this query. You can exclude them if you do not want them displayed in the calendar.
When I've used Calendar successfully in the past, the Argument is something like:
Date: Date (node) Content: Date (field_date) - From date
I did see the Upcoming Match block and pages, but while useful, they are not in a Calendar format (besides formatting, the Calendar integrates with many other modules plus can be accessed remotely as an ical feed).
Sorry, here is a patch to open up the match time to the argument field.
You can tick match time and the matches will be displayed in the relevant days.
Apologies for it taking so long.
Thanks
Alun
I installed the patch and the field shows up in the calendar view setup.
For my calendar view, I set LeagueSite Match: Start time as the argument, added it as a field and set it as a sort criterion. I also added a filter on Node type = Match. This seems to work properly.
However, when I display my calendar view, the Match Start Time is ignored and instead the current date & time are displayed.
Comments
Comment #1
Alun commentedIs this not already available? Leaguesite:match date is already available in Views, does that not mean that calendar can access it too?
I haven't tried this myself, but since calendar is a add on to views, it should already be available.
Comment #2
todd zebert commentedThe Calendar views are fairly particular about what they take as a Date field - I believe it must be a Date module field. I tried the following:
For Arguments:
LeagueSite Match: Matchday
Fields:
Node: Title
LeagueSite Match: Matchday Matchday
LeagueSite Match: Start time Start time
Result:
The calendar_nav style requires a Date argument.
The date argument date fields must be added to this query. You can exclude them if you do not want them displayed in the calendar.
When I've used Calendar successfully in the past, the Argument is something like:
Date: Date (node) Content: Date (field_date) - From date
I did see the Upcoming Match block and pages, but while useful, they are not in a Calendar format (besides formatting, the Calendar integrates with many other modules plus can be accessed remotely as an ical feed).
thanks
Comment #3
scottauth commentedI'm having the same issue as Todd.
Comment #4
Alun commentedSorry, here is a patch to open up the match time to the argument field.
You can tick match time and the matches will be displayed in the relevant days.
Apologies for it taking so long.
Thanks
Alun
Comment #5
scottauth commentedNo need to apologize! We appreciate the work. I'll test this out later today hopefully. Thanks again!
Update: Works perfect!
Comment #7
webtoad commentedI installed the patch and the field shows up in the calendar view setup.
For my calendar view, I set LeagueSite Match: Start time as the argument, added it as a field and set it as a sort criterion. I also added a filter on Node type = Match. This seems to work properly.
However, when I display my calendar view, the Match Start Time is ignored and instead the current date & time are displayed.
Any idea what might be going on?
Thank you!
Comment #8
webtoad commentedI am moving this to a new issue item as I have discovered that it is affecting other leaguesite pages/functions.