[Radiant] scheduler extension + r:children:each

Mark Gallop mark.gallop at gmail.com
Tue Feb 12 03:20:42 CST 2008


Hi all,

I have the scheduler extension installed and use the following code in a 
layout:

<r:find url="/news-and-events">
<r:children:each limit="5" order="desc" by="published_at">
<div class="entry">
  <h3><r:link /></h3>
  <p class="info">Posted <r:date format="%b %d, %Y" /></p>
</div>
</r:children:each>
</r:find>

Now this is showing links to pages which have expired as r:children:each 
ignores the expires_on value for the page.

I wonder if anyone can advise whether I would need to create my own tag 
to filter the children, or is it already possible to exclude expired 
pages using existing tags?

Cheers,
Mark



More information about the Radiant mailing list