Topic: pagination=”1″ shows all events on a single page, but pagination=”2″ works

Home Pro Support Forums Troubleshooting and Bugs pagination=”1″ shows all events on a single page, but pagination=”2″ works

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #7478
    Matthew Bechtold
    Participant

    I want to display a list of the next 5 events, one listing per “page,” but if I put in the following:

    [ics_calendar id="2021" count="5" pagination="1"]

    it just shows all of my events in a single list, not one per page, and not limited to the next 5 either.

    Does pagination have a bug if you try to show less than 2 per page?

    Thanks!

    #7479
    room34
    Keymaster

    This is not exactly a bug, more of a limitation of the current functionality. Because the events for a single day are grouped in the list view inside a single <dl> tag (definition list), the number of events shown per page is approximate. This is noted in the documentation. I am adding this to the development roadmap for improvement in a future update.

    #7480
    Matthew Bechtold
    Participant

    Thanks for the explanation. Would like to see this addressed in future.

    Cheers!

    #7691
    room34
    Keymaster

    This limitation has been addressed with the introduction of the new Basic view. It does not group events by date, so you are able to get the precise number of events to show via pagination.

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