I have a problem with sorting by date...perhaps someone can help me out?
I have a EventHolder and a EventPage
in EventHolder.php i am sorting AllChildren() by a Date field
$children = $this->AllChildren();
if( !$children )
in EventHolder.ss i list those EventPages
<% control SortedChildren %>
<h2><a href="$Link">$Date.Format(d.m.Y) - $Title</a></h2>
<p>$Content.FirstParagraph<a class="arrow" href="$Link">weiter</a></p>
<% end_control %>
Now i want only to show EventPages with future dates. Old events should no longer be listed wen they are in the past.