• Resolved jod

    (@jod)


    Using the shortcode below for month view or list view, everything works as it should. Perfectly, infact. ??

    When using the week view, there is nothing showing on the page, other than the page title – description and 3x calendar options, with check-marks.
    – No week calendar is visible.

    Plugin is updated to the latest version.
    – any good ideas or suggestions?

    [ics_calendar url=”url1 url2 url3″ feedlabel=”1|2|3″ description=”Test” color=”#800080 #008000 #ffa500″ view=”week” startdate=”20200309″ limitdays=”14″ pastdays=”14″ location=”true”]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter jod

    (@jod)

    Extra info:
    Same result when I remove all other options as startdate, limitdays, pastdays and location. :/

    Plugin Author room34

    (@room34)

    This appears to be a glitch with feedlabel on the week view. Try it without that parameter and let me know if the calendar appears for you. If so, I’ll dig into what’s wrong with feedlabel. If removing it doesn’t cause the calendar to appear for you, then it must be something else and I’ll need to ask some follow-up questions. (Also, just to be sure… there are a bunch of smart quotes in the example code you pasted in, but I assume the forum did that conversion. Just be sure your actual shortcode is using straight quotes.)

    Plugin Author room34

    (@room34)

    I’ve identified the source of this issue. A fix is on its way out now in version 5.8.0.3.

    The problem has to do with the nature of the :first-of-type CSS selector. I always forget that type is just the HTML tag and not the specific CSS class, even if that’s how you define it. The color key uses a <div> tag, as does the wrapper for the calendar, so when the color key was present, the calendar didn’t appear. (This seems to only be affecting week view because of some other logic that is specific to that view.)

    I’ve worked around this issue by changing all of the wrappers for the calendars to use <article> tags instead.

    Note: None of the CSS or JavaScript within the plugin itself specifically identifies the HTML tag these classes use, but any custom CSS or JavaScript sites may have added that do identify the HTML tag will need to be changed from div. to article. to continue functioning properly.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Week view not showing’ is closed to new replies.