Closed (fixed)
Project:
Calendar View
Version:
2.0.10
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
27 Apr 2023 at 19:44 UTC
Updated:
12 May 2025 at 18:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
jasonglisson commentedI'm looking for something similar to this. Any luck?
Comment #3
robotjox commentedSadly no, but it should be possible with a custom dropdown menu and some javascript that sends the user to an url when a month/year is picked.
It should then translate the picked date to a timestamp and send the user to url arguments that calendar view understands, like "calendar_timestamp=1675206000"
I made something similar for the fullcalendar module, but I don´t have the time now.
Comment #4
matthieuscarset commentedIt is possible already i did not documented it yet, sorry.
You can try to use
calendar_timestamp=tomorrowor any date/time you want in the url already and it will set the calendar to this timestamp.Thank you for this request.
I will document this feature asap.
Comment #5
matthieuscarset commentedI suggest to implement a new filter: Jump to where users will be able to type any given valid date - as per the PHP Datetime formats - which will be used for the
calendar_timestamp=query string parameter's value.Working on this issue.
Comment #7
matthieuscarset commentedA new filter is available on dev branch
2.1.x: the "Jump to" filter.You can see it in action on this page: https://www.drucal.org/ (see attached screenshot too).
Please review and let me know.
Comment #8
matthieuscarset commentedMarking as fixed. Closing the issue.
Feel free to reopen if needed.
Comment #9
matthieuscarset commentedComment #10
lexfunk commentedWhen adding the "Jump to" filter to my view, I am unable to save the view with the following error:
InvalidArgumentException: The configuration property display.monthly_calendar.display_options.filters.calendar_timestamp.value.min doesn't exist. in Drupal\Core\Config\Schema\ArrayElement->get() (line 76 of /var/www/html/web/core/lib/Drupal/Core/Config/Schema/ArrayElement.php).I should note that I did not expose the filter and I set the default to "now". I was attempting to use this field to ensure users stay on same month/week after exposed filtering, as you mentioned this might be a workaround in https://www.drupal.org/project/calendar_view/issues/3403103#comment-1559....
Comment #11
glenshewchuck commentedYea, I'm getting the same error. I've tried to save it with various settings but none worked. I didn't find this issue before and had created https://www.drupal.org/project/calendar_view/issues/3504625
Comment #12
liquidcms commentedYes, duplicate issue, but this is closed and can't be re-opened, so your new one is likely best place to discuss this issue.