• Resolved icetxk

    (@icetxk)


    Hello everyone, I have the following problem when I look on mobile, namely the calendar shows the month view instead of the list view and only after reloading the page does the list view appear. But that’s not so good. It would be nice if I opened the page and the list view was shown straight away without having to reload the page first. How can I change that? Thank you

    This is what the code looks like
    [pretty_google_calendar gcal= “xxxxxxxxxx@group.calendar.google.com” custom_days=”1″ views=”listDay” initial_view=”listDay” enforce_listview_on_mobile=”true” locale=”de”]

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author LBell

    (@lbell)

    Odd, I’m not able to reproduce this. But I see the issue on your site.

    Two things of note:

    1. You don’t need the custom_days argument as that only refers to the listCustom type which you are not using.
    2. You don’t need the enforce_listview_on_mobile since your explicitly only allowing one list (listDay)

    Try removing both of those, and see if that helps?

    Plugin Author LBell

    (@lbell)

    Closing due to lack of information.

    Thread Starter icetxk

    (@icetxk)

    Sorry for only getting back to you now, too many projects and not enough time. I have now removed custom_days and enforce_listview_on_mobile, but the calendar still shows the monthly overview and only shows the daily view when the page is refreshed.

    Plugin Author LBell

    (@lbell)

    Just to rule out all possibilities, ensure you are using straight quotes "..." in your shortcode, and not curly quotes “...”

    Thread Starter icetxk

    (@icetxk)

    I checked and the characters are correct.
    I enlarged it because it looked different at first.
    That’s such a shame, that’s exactly the kind of calendar I need for the club.

    • This reply was modified 3 months, 2 weeks ago by icetxk.
Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.