sunnyjey
Active Member
I am trying to display the List of upcoming and another List of Past Events using content plugin.
The above content syntax correctly display all future Events.
But this doesn't work for Past events.
What is correct PHP operator to filter Date for Past, as '<=' AND '<' are not working ? Is there any alternate way to display Past events ?
Code:
{fabrik view=list listid=X showfilters=0 hide-add=1 layout=bootstrap mytable___joined_raw[value][]=" .$JoinedID . " mytable___date[value][]>=now mytable___date[condition]=>}
The above content syntax correctly display all future Events.
Code:
{fabrik view=list listid=X showfilters=0 hide-add=1 layout=bootstrap mytable___joined_raw[value][]=" .$JoinedID . " mytable___date[value][]<=now mytable___date[condition]=>}
But this doesn't work for Past events.
What is correct PHP operator to filter Date for Past, as '<=' AND '<' are not working ? Is there any alternate way to display Past events ?