Forum

Thread tagged as: Problem

Event app: new event of current month is duplicated

When I add a new event with a date of the current month (July) it's duplicating it...any idea why? Here's the page function:

<?php perch_events_listing(); ?>
                <?php
                    perch_events_custom(array(
                        'filter'=>'eventDateTime',
                        'match'=>'gte',
                        'value'=>date('Y-m-d'),
                        'sort'=>'eventDateTime',
                        'sort-order'=>'desc',
                        'template'=>'listing/event-day.html'
                    ));
                ?>

Many thanks!

Martin Stettler

Martin Stettler 0 points

  • 6 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

You're showing everything twice, once with perch_events_listing() and once with perch_events_custom()