• Resolved Pete

    (@perthmetro)


    Is there a way I can consolidate events that span over multiple days (not recurring) into just one list entry? Example:
    From this…

    Mon, Feb 22, 2021
    Introduction to Pharmacology

    Tue, Feb 23, 2021
    Introduction to Pharmacology

    Wed, Feb 24, 2021
    Introduction to Pharmacology

    Thu, Feb 25, 2021
    Introduction to Pharmacology

    Fri, Feb 26, 2021
    Introduction to Pharmacology

    to this…

    Mon, Feb 22, 2021 to Fri, Feb 26, 2021
    Introduction to Pharmacology

    • This topic was modified 3 years, 12 months ago by Pete.
    • This topic was modified 3 years, 12 months ago by Pete.
Viewing 7 replies - 16 through 22 (of 22 total)
  • Plugin Author room34

    (@room34)

    @perthmetro Right now there is not an option; it was my assumption based on feedback I’ve received that pretty much no one likes the old way it was working, so I just made this the default. If you have a use case where you do want it to keep splitting out the events across separate dates, I can add that in as an option. It would be all-or-nothing within each individual instance of the shortcode though.

    Great to see this update!

    It does nicely display the range for multi-day events, however if you have both single-day events and multi-day events, they seem to be displayed differently, with single-day events as they were before, with the date separate from the event, and multi-day events having the date bundled with them. There doesn’t seem to be a way to style it so that dates are displayed consistently, since single-day events have an H4 for the date and then a separate DL for each event, while multi-day events have an H4 for the date inside a DT inside the event DL.

    I realize that it’s likely this way because multi-day events have their own date, instead of falling under a specific day, but it does make the list noticeably harder to read. For multi-day events, would it be possible to display them each with their own H4/DL pair (at the same level), the way a date with a single event is displayed now? I think that would allow consistent styling, without having to go through too many CSS contortions.

    Another solution would be to display multi-day events under their start date, with something like “(thru Mar 5 – Fri)” automatically tacked on to the event description, to convey the end date, but that seems like it might be harder to implement and cause more headaches.

    (Or maybe we’re just missing something and/or doing something that’s mucking up the display, in which case guidance will be very welcome. ?? )

    Plugin Author room34

    (@room34)

    @ealmasy I am fixing this issue. As it was in yesterday’s update, I had the <h4> inside the <dt> for these events. That was an artifact of some interim steps in the layout as I was working on all of this, but with the end result I really should have moved the <h4> back outside of the <dl>. I’m working on an update right now that will fix the lack of translations on these dates, and it is also going to include this change to the HTML tag order.

    • This reply was modified 3 years, 9 months ago by room34.
    Plugin Author room34

    (@room34)

    Version 6.5.0.1 fixes both of these issues (different HTML order of <h4> tag and translations of multi-day date labels), and should be available momentarily.

    @room34 Excellent, thanks – will keep an eye out for it!

    @room34 do you know when the new version might be available? Not sure how long the release process takes, but I’m not seeing any new update on the plugin page or via the dashboard on our site.

    Plugin Author room34

    (@room34)

    Sorry about that. I had missed updating the “stable tag” setting. Should be available now.

Viewing 7 replies - 16 through 22 (of 22 total)
  • The topic ‘How to consolidate events that span over multiple days into just one list entry’ is closed to new replies.