All-in-One Event Calendar
[resolved] Pagination : Show all upcoming events in a category (4 posts)

  1. Manu-PB
    Posted 3 years ago #

    I need som help to solve a pagination issue in the agenda view.

    Lets try to describe the problem :
    - $agenda_events_per_page is set to : 10,
    - Today is the 31st October,
    - In the "A" category there are upcoming events on 15th, 26th, 27th and 30th November.

    When I display the (filtered by A) agenda I get :
    - On a first (offset=0) page, only the first 2 upcoming events (15th and 26th November) + button-link to "Next events",
    - On the "Next events" (offset=1) page, I get the last 2 events (27th and 30th November).

    Since $agenda_events_per_page is 10, and the number of upcoming events in the A category is only 4, I would like to get the 4 events on a single page.

    How can I get this ?

    Thanks for help,


  2. bnkeith22
    Posted 3 years ago #

    Hi Manu-PB,

    There is a bug in v1.8.3 which does not filter these events correctly.
    v1.9 will handle this much better - It will be available to upgrade in a few weeks.

    As a workaround, set your Agenda Pages Show at most to "100" and your filtered events should show up one the same page.


  3. Manu-PB
    Posted 3 years ago #

    Hi bnkeith22,
    Setting agenda pages show at 100 solves the problem,

  4. bnkeith22
    Posted 3 years ago #

    No problem - glad we could help :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • All-in-One Event Calendar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic