Order Direction "orderdir" not working.
-
In my events template I have the following code:
<?php fse_print_events( array( 'number' => 100, 'categories' => 14, 'before' => '<table cellpadding="0" cellspacing="0">', 'after' => '</table>', 'datefrom' => mktime(0,0,0,1,1,2009), 'orderdir' => 'DESC', 'template' => '<ul><li><strong>Title</strong><a href="{event_url}">{event_startdate} {event_subject}</a></li><li><strong>Documents</strong>{event_description}</li></ul>' ) ); ?>
The problem is the oldest events always appear on top rather than the newest which makes more sense. I’ve tried orderdir ‘DESC’ and ‘ASC’ neither make a difference.
What do I need to add or change to the code above to change the order the events are outputted in? Thank you!
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Order Direction "orderdir" not working.’ is closed to new replies.