Support » Plugin: ICS Calendar » Problem with element?

  • Resolved aezzell2020

    (@aezzell2020)


    I am having trouble with the formatting of my calendar events.

    When I look at the code generated, I see that for the first event (or, in one case where there are 2 events on the same day that start at the same time), the code is structured correctly, like this:

    <dl>
    <dt></dt>
    <dd></dd>
    </dl>

    But for the other events, each event is just this:

    <dt></dt>
    <dd></dd>

    They are not enclosed inside the <dl></dl> tags.

    Shouldn’t the list for each day look like this, with one set of dt&dd tags for each event?

    <dl>
    <dt></dt>
    <dd></dd>
    <dt></dt>
    <dd></dd>
    <dt></dt>
    <dd></dd>
    </dl>

    Instead, I have:

    <dl>
    <dt></dt>
    <dd></dd>
    </dl>
    <dt></dt>
    <dd></dd>
    <dt></dt>
    <dd></dd><dt></dt>
    <dd></dd>
    <dt></dt>
    <dd></dd>

    <dl>
    <dt></dt>
    <dd></dd>
    </dl>
    <dt></dt>
    <dd></dd>
    <dt></dt>
    <dd></dd><dt></dt>
    <dd></dd>
    <dt></dt>
    <dd></dd>

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter aezzell2020

    (@aezzell2020)

    Update – that page I linked to now displays the items correctly because I edited the calendar-list.php file by moving the </dl> tags to different locations.

    Here is the URL for the calendar feed: http://www.calendarwiz.com/CalendarWiz_iCal.php?crd=uucp

    If you use that on the Preview page (https://icscalendar.com/preview/), you’ll notice that the times display inconsistently. Only the first event (the first two on Tuesday, where the 2 events start at the same time) shows the starting time, with ending time shown only on hover. The other events all show the starting and ending times.

    Plugin Author room34

    (@room34)

    I see that this is an issue with the HTML output on that template. An update will be available shortly.

    Thread Starter aezzell2020

    (@aezzell2020)

    Excellent! I’m really enjoying this plugin. It far exceeds the display options that are built into CalendarWiz.

    Thank you!

    Plugin Author room34

    (@room34)

    Just so you know, I released an update (v. 6.6.1) and then someone else emailed me to say that the change I had made in it introduced a new issue for them, so I’ve pulled that release. I should have this fixed by tomorrow, and I’ll release version 6.6.2.

    Thread Starter aezzell2020

    (@aezzell2020)

    Ah… the glamorous life of a plugin developer!!

    Thanks for getting to this so quickly 😉

    Plugin Author room34

    (@room34)

    OK, that was a dumb error on my part. I’ve erased version 6.6.1 from existence. Version 6.6.2 now has the proper fix for this issue and should be available shortly.

    Thread Starter aezzell2020

    (@aezzell2020)

    Yes, 6.6.2 has fixed the dl/dt/dd looping issue, and the page is displaying perfectly now.

    Thank you!

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.