[Radiant] Getting children a oage that is not the current page
Sean Cribbs
seancribbs at gmail.com
Thu Apr 24 19:08:35 CDT 2008
You're on the right track. If you just want a link to the page with its
title, use <r:link />. I imagine they were just typos, but make sure
your tags are closed ( /> for singleton tags) and spelled correctly. As
the other respondent said, use <r:find url="/foo/bar">...</r:find> to
scope to that page.
Sean
Alex Wayne wrote:
> I have a navigation element in my layout that I want to always show
> links to all children of a certain page that is nested one or 2 levels
> inside my hierarchy.
>
> I guess I need something like:
>
> <r:page url="/foo/bar">
> <r:chilren:each>
> <a href="<r:url />"><r:title></a>
> </r:children:each>
> </r:page>
>
> I can't seem to figure out how to load up a specific page like that to
> operate on like that.
>
> Thanks for helping out this radiant noob.
> -Alex
>
More information about the Radiant
mailing list