• Resolved jasonTIC

    (@jasontic)


    Hi,

    I seem to be having a small problem with getting some of the pagination to work on the events manager and i’m not sure if what i’m trying to do is possible.

    Basically the pagination is working fine but I have 2 different categories that I have pagination on but when I click on the next link for the page it moves both categories to the second page etc.

    What I am trying to do is have these paginate separately according to which category the user is looking in.

    The url to the page is : https://skiptongirls.bradfordwebdesigner.com/index.php/calendar/

    The php script I have in my template for both are as follows :

    <div class=”schoolNewsLatest span12 pull-left”>
    <?php if (class_exists(‘EM_Events’)) {

    echo EM_Events::output( array(‘limit’=>6,’pagination’=>1,’category’=>11, ‘scope’=>’3-months’,’orderby’=>’event_start_date’,) );

    }
    ?>

    The difference being that the id of the category is different for each one.

    Any help would be greatly appreciated guys – great plugin!

    Kind regards,

    Jason

    https://www.ads-software.com/extend/plugins/events-manager/

Viewing 1 replies (of 1 total)
  • Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    atm there’s no way to build seperate pagination unless you create your own pagination script using PHP and add it below each snippet. you can supply limit and page to EM_Event::output and it’ll load the right set of events

Viewing 1 replies (of 1 total)
  • The topic ‘Multiple events category pagination problem in Events Manager’ is closed to new replies.