calendar icon indicating copy to clipboard operation
calendar copied to clipboard

Can I restrict the start and end date of a view

Open ukdesignservices opened this issue 2 years ago • 4 comments

Is it possible to set a fixed range for a view, for example between Jun 20th and August 1st and disable the month navigation outside this range? Many thanks

ukdesignservices avatar Jun 04 '23 10:06 ukdesignservices

I think you need a setting similar to validRange, which is not implemented in the Event Calendar. I will leave this ticket open until it is implemented. Unfortunately, I can't give an approximate date.

vkurko avatar Jun 05 '23 07:06 vkurko

Sorry for shitposting. I really wish the validRange to be implemented.

More specifically, I want the normal user to be able to choose only a specific time range but paid users can choose more broader time range.

Are there any ways to do this other than setting non-existent events for normal users so that they cannot select those time ranges?

izu12ki avatar Feb 09 '24 02:02 izu12ki

I really wish the validRange to be implemented.

It seems to me that you need something different, because validRange would limit the navigation to days, but will not affect the displayed time within a single day.

vkurko avatar Feb 09 '24 07:02 vkurko

Sorry, you're right. It seems what I'm trying to do should be done with something else but not with a calendar.

izu12ki avatar Feb 09 '24 08:02 izu12ki