Mark,

It should obviously be doing that for you!  My apologies.  Let me patch 
in something real quick.

Sean

Mark Gallop wrote:
> 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
> _______________________________________________
> Radiant mailing list
> Post:   [email protected]
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
>
>   

_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to