We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum
Event App in Perch 3: custom template not visible
My custom template «event.html» is in the proper folder (/perch/templates/events/event.html). The markup written by Perch is also correct. But, I can't see it in the editing area...there is another one with the fields: Name - Description - Date - Category. My app.php looks like that:
<?php $apps_list = array( 'content', 'categories', 'perch_events', ); ?>
And finally how it is called in the page:
<?php perch_events_custom(array( 'filter'=>'eventDateTime', 'match'=>'gte', 'value'=>date('Y-m-d'), 'sort'=>'eventDateTime', 'sort-order'=>'desc', 'template'=>'event.html' )); ?>
Any idea where my fault is? Thanks a lot!
Want to reply to this thread?Login with Perch