• Resolved damiendoherty

    (@damiendoherty)


    Hi there. Thanks for the previous mobile fix.
    As mentioned, we are using this as an availability calendar – ie showing blocked out days where a venue has been booked, so that the view can see when something is available.
    Unfortunately if no dates have been booked in month then this month does not show up at all. Is there any way to set it it to just show the next 6 months or 12 months regardless of whether there are any events in this period?

    Many thanks

    D

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author room34

    (@room34)

    Are you referring to months at the end of the calendar? It does look like empty months in the middle of the range included in the dropdown are showing.

    It’s not a straightforward process for me to allow an arbitrary range of additional months at the end of the calendar, as the whole loop system is built around the date range of events included in the ICS feed.

    • This reply was modified 5 years, 2 months ago by room34.
    Thread Starter damiendoherty

    (@damiendoherty)

    Ah that’s a real shame.
    Looks like we’ll have to find a different plugin to use unfortunately.
    I understand this is mainly developed as an events calendar but we were hoping to use it as an availability calendar – but doesn’t look like this will work for what we need after all.

    Thanks for your speedy responses.

    D

    Plugin Author room34

    (@room34)

    Well… I said it’s not straightforward, but it’s not impossible. I can look into exactly what it would take.

    Thread Starter damiendoherty

    (@damiendoherty)

    That would be amazing and much appreciated if you are able to look into this. It basically looks great and works just how we need it to… apart from the missing months at the end of the events range.
    Let me know what you think.

    Many thanks

    D

    Plugin Author room34

    (@room34)

    Fortunately, I was already doing some work on the plugin, so I was able to go in and make this adjustment.

    I modified the handling of the existing limitdays parameter. It previously enforced a maximum number of days to display, but if the feed ended sooner, it stopped at that point. Now it will continue to display months out to whatever the limit is.* This is in version 4.1.2 which is on its way to the repository now. (Note: There was an issue with the check-in of an earlier iteration of version 4.1.2 and I just rolled out a hotfix, so if you’ve already updated to 4.1.2 you may need to delete and reinstall the plugin. Don’t worry, your data won’t be affected.)

    *There still seems to be a hard limit that I haven’t been able to pin down, but it’s fairly far out. I found that if I set a limitdays value of 1000 or more, the dropdown would only go as far out as December 2021. However I suspect in most cases there won’t be a need to go farther than two years out, so this is adequate until I can resolve the issue.

    Thread Starter damiendoherty

    (@damiendoherty)

    That is amazing!
    Thanks so much for looking into this so quickly. It works great!
    There does seem to be a limit still on a couple of the feeds for some reason but it has still extended these by a couple of months. I wonder if it is to do with the way they have their feed set up?
    Most of the others seem to now go up to Dec 2020, which is perfect.
    I would send a link but it’s a membership site behind a paywall – you only get to see the calendars once signup as a member.
    Thanks once again for your excellent, speedy responses.

    Cheers

    D

    Plugin Author room34

    (@room34)

    I’m glad to hear it is working for you.

    Regarding the one feed that is not going all the way to the end of your calendar, it is possible that the feed itself has a date limit and there are no later dates being included.

    As for my plugin seeming to have a hard limit, I’m going to look into what’s causing that, but it doesn’t seem to be super-urgent at the moment.

    Thread Starter damiendoherty

    (@damiendoherty)

    Hi @room34
    Just re-opening this thread.
    You kindly updated the plugin previously so that a calendar could still display empty months by using the limitdays value. For some reason this seems to have stopped working recently.
    Is there any reason why?

    Many thanks

    D

    Plugin Author room34

    (@room34)

    I think some recent refactoring of the date range logic may have broken this feature. I’ll be doing some updates in the next few days and will address this issue as part of that.

    Thread Starter damiendoherty

    (@damiendoherty)

    Ah great. That would be much appreciated!

    Many thanks

    D

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘availability calendar’ is closed to new replies.