I have event content type and I have created a calendar view using calendar module.

I want to initialise that calendar with the month which has the event included. For example , the first event starts from August 2020, so my calendar should initialise with august 2020.

I used contextual filter ,When the filter value is NOT in the URL provide default value to PHP Code , now I stucked , what query should I run to complete my task.Can anyone help me on this.Any other method is also welcome.enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.