Default date source contextual filter

Created on 12 January 2023, over 1 year ago
Updated 28 July 2023, 11 months ago

Problem/Motivation

Is there a way to set the default date source from a contextual filter to set the initial calendar view?

πŸ’¬ Support request
Status

Active

Version

5.1

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada mmaranao Calgary, AB

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

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

    I too would like to be able to control the calendar with a contextual filter.

  • πŸ‡§πŸ‡·Brazil andre.bonon

    I was trying to find the same feature, but I just found out that if you add the following param "&initialDate=2023-07-28" to the URL, the JS will handle that for you.
    So, if you combine the inialDate param with an exposed filter "between", I think you can achieve what you want.
    i.e.: ?field_date[min]=2023-09-01&field_date[max]=2023-09-30&initialDate=2023-09-01

    Note: I'm using the SmartDate module field.

Production build 0.69.0 2024