Forum

Thread tagged as: Problem, Addons, Events

Events paging

Happy new year!

I'm having problems paging perch events. I saw a thread on the old perch forum mentioning a bug that needed to be addressed where paging hadn't been set up on perch_events_custom. Has this been resolved yet or am I doing something wrong?

<?php
                            perch_events_custom(array(
                                'template'      => 'events/listing/events.html',
                                'sort'          => 'eventDateTime',
                                'sort-order'    => 'DESC',
                                'paginate'      => true,
                                'count'         => 5
                            ));
                        ?>

I'm just using a perch:template in the events.html template

<perch:template path="pagination/default.html" rescope="parent" />

Any idea what the issue is?

Jon.

Jon Young

Jon Young 0 points

  • 6 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Events still doesn't support pagination, I'm afraid.

Oh, ok. Any idea when this will be added?

Drew McLellan

Drew McLellan 2638 points
Perch Support

We had a contractor working on a new version, but that didn't go to plan, so we're back to square one. It's one of the things on my list to review, but I don't have an ETA for the development work.

OK, I'll keep an eye out for the next release.

All the best for 2015.