• Resolved pluckvermont

    (@pluckvermont)


    Hi,

    Is it possible to allow the calendar to show previous and future months, even if there are no events scheduled.

    The second calendar on this page, Middle School Cross Country, only shows the current month, since there are no events scheduled.

    I would like to be able to have visitors show past and future months, so show what events have already transpired and check future months, even if nothing is scheduled.

    Many thanks–

    The page I need help with: [log in to see the link]

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

    (@room34)

    Try adding pastdays="90" limitdays="365" to your shortcode. That should show 3 previous months and also go ahead 9 months. Let me know if this does not resolve the issue for you.

    Hello,

    I tried this function but it does not work ??
    I can’t display the past months.

    Here is the shortcode I put:
    [ics_calendar url=”https://calendar.google.com/calendar/ical/…../basic.ics” view=”month” tz=”Europe/Paris” eventdesc=”false” location=”true” organizer=”true” attach=”true” pastdays=”90″ limitdays=”365″]

    Can you help me ?? ?

    A big thank-you !

    Plugin Author room34

    (@room34)

    It’s possible that past events are not included in your source feed. If you enter the feed URL directly in your web browser it should download an ICS file. If you open that file in a text editor, or import it into desktop calendar software, you should be able to see whether or not it’s including the past events.

    Thread Starter pluckvermont

    (@pluckvermont)

    @jeremystudio It looks like you are using smart quotes and regular quotes in your code. Look at your limitdays declaration–each side uses a different type of quotation mark. That could be causing an issue.

    Plugin Author room34

    (@room34)

    @pluckvermont I doubt that’s @jeremystudio’s issue, but it’s possible. A lot of the time code pasted into these forums gets automatically “smartened” (especially if the user doesn’t wrap the code in backticks) but that doesn’t necessarily mean that’s how the code actually is on the site.

    • This reply was modified 3 years, 6 months ago by room34.

    Thanks for your feedback!

    I just checked the flow, it retrieves the past events well.
    I also checked the quotes, they are written correctly.

    But, I still have the problem :(. I don’t see where the problem can come from :(.

    Do you have another idea that I can try?

    Have a nice day

    Plugin Author room34

    (@room34)

    Can I get your exact feed URL to test? You can email it to support at room34 dot com if you don’t want to post it here. Thanks.

    Hello,

    I just sent you an email

    thank you so much

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Show past/future months’ is closed to new replies.