Forum: Radiant CMS Getting Children of Another Parent

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
6a2f7f7a997fab1dbf815d155cca50ee?d=identicon&s=25 Kevin Marsh (Guest)
on 2007-02-05 19:11
(Received via mailing list)
Hey all, quick question that maybe should be more obvious but I cannot

I need to get the children of a parent other than the current. I have
a "News" page, with individual articles comprising each story. I want
to pull the last 3 children of "News" for a sidebar (currently
implemented in a snippet.)

What am I missing?

8802b1fa1b53e2197beea9454244f847?d=identicon&s=25 Sean Cribbs (Guest)
on 2007-02-05 19:13
(Received via mailing list)
Wrap the <r:children:each> tag with <r:find url="/news">...</r:find> or
whatever the URL is to your "News" page.

6a2f7f7a997fab1dbf815d155cca50ee?d=identicon&s=25 Kevin Marsh (Guest)
on 2007-02-05 19:16
(Received via mailing list)
Thanks Sean, That was quick! I actually stumbled upon the solution too.

The idea (I think) is to "scope" the r:children:each with the r:find
as a parent.

<r:find url="news">
  <li><r:content part="link" /></li>

This topic is locked and can not be replied to.