mod-upcoming_events problems
On my 1.9 Tiki the default mod-upcoming_events seems to show the last "x" events in the calendar, not the next "x" events as I wanted.
I looked at the query, and changed:

Copy to clipboard
$cond = $cond." and `start` < (unix_timestamp(now()) + ?)";
to

Copy to clipboard
$cond = $cond." and `start` > (unix_timestamp(now()))";
The query needs to find events that start after the current time, right?
The module now shows events that start after the current day (the next events), as I wanted, but it shows all events in the calendar. The query no longer seems to respect the rowlimit. What did I do wrong?
I tried adding a LIMIT 1,5 to the query, but I keeping getting a SQL error.
Thanks,
-Rick